Class: Smagacor::GameState
Instance Attribute Summary collapse
-
#state ⇒ Object
Returns the value of attribute state.
-
#undo_manager ⇒ Object
Returns the value of attribute undo_manager.
Instance Method Summary collapse
-
#initialize(game_info) ⇒ GameState
constructor
A new instance of GameState.
Constructor Details
#initialize(game_info) ⇒ GameState
Returns a new instance of GameState.
94 95 96 |
# File 'lib/smagacor/util.rb', line 94 def initialize( game_info ) @game_info = game_info end |
Instance Attribute Details
#state ⇒ Object
Returns the value of attribute state.
91 92 93 |
# File 'lib/smagacor/util.rb', line 91 def state @state end |
#undo_manager ⇒ Object
Returns the value of attribute undo_manager.
92 93 94 |
# File 'lib/smagacor/util.rb', line 92 def undo_manager @undo_manager end |