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