Class: Game_Party
Overview
The RPG Maker description of a Party
Instance Attribute Summary collapse
-
#actors
readonly
Returns the value of attribute actors.
-
#gold
Returns the value of attribute gold.
-
#steps
Returns the value of attribute steps.
Instance Method Summary collapse
-
#add_actor(actor_id)
Add an actor to the party.
-
#gain_gold(n)
gives gold to the party.
-
#increase_steps
Increase steps of the party.
-
#initialize ⇒ Game_Party
constructor
Default initialization.
-
#lose_gold(n)
takes gold from the party.
-
#max_level ⇒ Integer
Returns the max level in the team.
-
#refresh
Refresh the game party with right actors according to the RMXP data.
-
#remove_actor(actor_id)
Remove an actor of the party.
-
#setup_starting_members
Set up the party with default members.
Constructor Details
#initialize ⇒ Game_Party
Default initialization
289 290 |
# File 'docs/00600_Script_RMXP.rb', line 289 def initialize end |
Instance Attribute Details
#actors (readonly)
Returns the value of attribute actors.
285 286 287 |
# File 'docs/00600_Script_RMXP.rb', line 285 def actors @actors end |
#gold
Returns the value of attribute gold.
286 287 288 |
# File 'docs/00600_Script_RMXP.rb', line 286 def gold @gold end |
#steps
Returns the value of attribute steps.
287 288 289 |
# File 'docs/00600_Script_RMXP.rb', line 287 def steps @steps end |
Instance Method Details
#add_actor(actor_id)
Add an actor to the party
303 304 |
# File 'docs/00600_Script_RMXP.rb', line 303 def add_actor(actor_id) end |
#gain_gold(n)
gives gold to the party
311 312 |
# File 'docs/00600_Script_RMXP.rb', line 311 def gain_gold(n) end |
#increase_steps
Increase steps of the party
318 319 |
# File 'docs/00600_Script_RMXP.rb', line 318 def increase_steps end |
#lose_gold(n)
takes gold from the party
315 316 |
# File 'docs/00600_Script_RMXP.rb', line 315 def lose_gold(n) end |
#max_level ⇒ Integer
Returns the max level in the team
299 300 |
# File 'docs/00600_Script_RMXP.rb', line 299 def max_level end |
#refresh
Refresh the game party with right actors according to the RMXP data
295 296 |
# File 'docs/00600_Script_RMXP.rb', line 295 def refresh end |
#remove_actor(actor_id)
Remove an actor of the party
307 308 |
# File 'docs/00600_Script_RMXP.rb', line 307 def remove_actor(actor_id) end |
#setup_starting_members
Set up the party with default members
292 293 |
# File 'docs/00600_Script_RMXP.rb', line 292 def setup_starting_members end |