Class: Berlin::Fake::Move

Inherits:
Struct
  • Object
show all
Defined in:
lib/ai/fake.rb

Instance Attribute Summary collapse

Instance Attribute Details

#fromObject

Returns the value of attribute from

Returns:

  • (Object)

    the current value of from



111
112
113
# File 'lib/ai/fake.rb', line 111

def from
  @from
end

#number_of_soldiersObject

Returns the value of attribute number_of_soldiers

Returns:

  • (Object)

    the current value of number_of_soldiers



111
112
113
# File 'lib/ai/fake.rb', line 111

def number_of_soldiers
  @number_of_soldiers
end

#player_idObject

Returns the value of attribute player_id

Returns:

  • (Object)

    the current value of player_id



111
112
113
# File 'lib/ai/fake.rb', line 111

def player_id
  @player_id
end

#toObject

Returns the value of attribute to

Returns:

  • (Object)

    the current value of to



111
112
113
# File 'lib/ai/fake.rb', line 111

def to
  @to
end