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
62 63 64 |
# File 'lib/ai/fake.rb', line 62 def node_id @node_id end |
#number_of_soldiers ⇒ Object
Returns the value of attribute number_of_soldiers
62 63 64 |
# File 'lib/ai/fake.rb', line 62 def number_of_soldiers @number_of_soldiers end |
#player_id ⇒ Object
Returns the value of attribute player_id
62 63 64 |
# File 'lib/ai/fake.rb', line 62 def player_id @player_id end |