Class: Berlin::Fake::NodeState
- Inherits:
-
Struct
- Object
- Struct
- Berlin::Fake::NodeState
- Defined in:
- lib/ai/fake.rb
Instance Attribute Summary collapse
-
#node_id ⇒ Object
Returns the value of attribute node_id.
-
#number_of_soldiers ⇒ Object
Returns the value of attribute number_of_soldiers.
-
#player_id ⇒ Object
Returns the value of attribute player_id.
Instance Attribute Details
#node_id ⇒ Object
Returns the value of attribute node_id
113 114 115 |
# File 'lib/ai/fake.rb', line 113 def node_id @node_id end |
#number_of_soldiers ⇒ Object
Returns the value of attribute number_of_soldiers
113 114 115 |
# File 'lib/ai/fake.rb', line 113 def number_of_soldiers @number_of_soldiers end |
#player_id ⇒ Object
Returns the value of attribute player_id
113 114 115 |
# File 'lib/ai/fake.rb', line 113 def player_id @player_id end |