Class: Scene

Inherits:
Object
  • Object
show all
Defined in:
lib/scene.rb

Direct Known Subclasses

GameScene, HighScoreScene, MainMenuScene

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(window) ⇒ Scene

Returns a new instance of Scene.



13
14
15
# File 'lib/scene.rb', line 13

def initialize(window)
  @window = window
end

Instance Attribute Details

#windowObject (readonly)

Returns the value of attribute window.



11
12
13
# File 'lib/scene.rb', line 11

def window
  @window
end

Instance Method Details

#button_down(id) ⇒ Object



21
# File 'lib/scene.rb', line 21

def button_down(id) end

#drawObject



19
# File 'lib/scene.rb', line 19

def draw; end

#updateObject



17
# File 'lib/scene.rb', line 17

def update; end