samples/06_save_load/01_save_load_game/app/main.rb
def render_alert
    return unless game.active_module == :alert

    outputs.labels << [640, 480, game.story_line, 5, 1]  # outputs story line label
    outputs.primitives << button(:alert_dismiss, 490, 380, "close")  # positions "close" button under story line
  end
# Outputs a label onto the screen that shows the story line, and also outputs a "close" button.
Outputs a label onto the screen that shows the story line, and also outputs a "close" button.
Outputs a label onto the screen that shows the story line and also outputs a " close " button .
def render_alert
    return unless game.active_module == :alert
    outputs.labels << [640, 480, game.story_line, 5, 1]  
    outputs.primitives << button(:alert_dismiss, 490, 380, "close")  
  end
def render_alert return unless game . active_module == :alert outputs . labels << [ 640 , 480 , game . story_line , 5 , 1 ] outputs . primitives << button ( :alert_dismiss , 490 , 380 , "close" ) end
Outputs a label onto the screen that shows the story line, and also outputs a "close" button.
Outputs a label onto the screen that shows the story line and also outputs a " close " button .
# outputs story line label # positions "close" button under story line