Class: BeltsEngine::Scene
- Inherits:
-
Object
- Object
- BeltsEngine::Scene
- Defined in:
- lib/belts_engine/scene.rb
Instance Attribute Summary collapse
-
#game ⇒ Object
readonly
Returns the value of attribute game.
Instance Method Summary collapse
-
#initialize(game) ⇒ Scene
constructor
A new instance of Scene.
Constructor Details
#initialize(game) ⇒ Scene
Returns a new instance of Scene.
14 15 16 17 |
# File 'lib/belts_engine/scene.rb', line 14 def initialize(game) @game = game init_entities end |
Instance Attribute Details
#game ⇒ Object (readonly)
Returns the value of attribute game.
3 4 5 |
# File 'lib/belts_engine/scene.rb', line 3 def game @game end |