samples/05_mouse/02_mouse_move/app/main.rb
def render
    outputs.solids << [grid.rect, 100, 100, 100]
    render_zombies
    render_killed_zombies
    render_player
    render_flash
  end
# Outputs a gray background.
# Calls the methods needed to output the player, zombies, etc onto the screen.
Outputs a gray background.
Calls the methods needed to output the player, zombies, etc onto the screen.
Outputs a gray background . Calls the methods needed to output the player zombies etc onto the screen .
def render
    outputs.solids << [grid.rect, 100, 100, 100]
    render_zombies
    render_killed_zombies
    render_player
    render_flash
  end
def render outputs . solids << [ grid . rect , 100 , 100 , 100 ] render_zombies render_killed_zombies render_player render_flash end
Outputs a gray background.
Outputs a gray background .