Class: GameWindow

Inherits:
Gosu::Window
  • Object
show all
Defined in:
lib/game_window.rb,
lib/robotwars/game_window.rb

Instance Method Summary collapse

Constructor Details

#initializeGameWindow

Returns a new instance of GameWindow.



4
5
6
7
# File 'lib/game_window.rb', line 4

def initialize
  super 640, 480
  self.caption = "Gosu Tutorial Game"
end

Instance Method Details

#drawObject



12
13
# File 'lib/game_window.rb', line 12

def draw
end

#updateObject



9
10
# File 'lib/game_window.rb', line 9

def update
end