Class: Core::Game::Combat::Party
Instance Attribute Summary collapse
-
#members ⇒ Object
readonly
Returns the value of attribute members.
Instance Method Summary collapse
-
#initialize(party) ⇒ Party
constructor
A new instance of Party.
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
#members ⇒ Object (readonly)
Returns the value of attribute members.
237 238 239 |
# File 'lib/game/combat/battle.rb', line 237 def members @members end |