Class: Berlin::Fake::NodeState

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

Instance Attribute Summary collapse

Instance Attribute Details

#node_idObject

Returns the value of attribute node_id

Returns:

  • (Object)

    the current value of node_id



113
114
115
# File 'lib/ai/fake.rb', line 113

def node_id
  @node_id
end

#number_of_soldiersObject

Returns the value of attribute number_of_soldiers

Returns:

  • (Object)

    the current value of number_of_soldiers



113
114
115
# File 'lib/ai/fake.rb', line 113

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



113
114
115
# File 'lib/ai/fake.rb', line 113

def player_id
  @player_id
end