Class: Core::Game::Combat::Party

Inherits:
Object
  • Object
show all
Defined in:
lib/game/combat/battle.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(party) ⇒ Party

Returns a new instance of Party.



238
239
240
241
# File 'lib/game/combat/battle.rb', line 238

def initialize(party)
  @members = []
  create_actors(party)
end

Instance Attribute Details

#membersObject (readonly)

Returns the value of attribute members.



237
238
239
# File 'lib/game/combat/battle.rb', line 237

def members
  @members
end