Class: GameWindow
- Inherits:
-
Gosu::Window
- Object
- Gosu::Window
- GameWindow
- Defined in:
- lib/game_window.rb,
lib/robotwars/game_window.rb
Instance Method Summary collapse
- #draw ⇒ Object
-
#initialize ⇒ GameWindow
constructor
A new instance of GameWindow.
- #update ⇒ Object
Constructor Details
#initialize ⇒ GameWindow
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
#draw ⇒ Object
12 13 |
# File 'lib/game_window.rb', line 12 def draw end |
#update ⇒ Object
9 10 |
# File 'lib/game_window.rb', line 9 def update end |