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



60
61
62
# File 'lib/ai/fake.rb', line 60

def from
  @from
end

#number_of_soldiersObject

Returns the value of attribute number_of_soldiers

Returns:

  • (Object)

    the current value of number_of_soldiers



60
61
62
# File 'lib/ai/fake.rb', line 60

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



60
61
62
# File 'lib/ai/fake.rb', line 60

def player_id
  @player_id
end

#toObject

Returns the value of attribute to

Returns:

  • (Object)

    the current value of to



60
61
62
# File 'lib/ai/fake.rb', line 60

def to
  @to
end