# File lib/as_gamestate.rb, line 40
  def game_loop
    return catch(:AS_GAMESTATE_EXIT) do
      loop do
        events
        update
        
        if @redraw
          draw
          AS.swap_buffers
        end
      end
    end
  end