Class: PFM::MagnetoVS
- Defined in:
- scripts/01200 PFM/00100 Global Systems/01300 MagnetoVS.rb
Overview
Battler recorder object
Instance Attribute Summary collapse
-
#names ⇒ Array<String>
readonly
The list of enemy names.
-
#party1 ⇒ Array<PFM::Pokemon>
readonly
The first party array.
-
#party2 ⇒ Array<PFM::Pokemon>
readonly
The second party array.
Instance Method Summary collapse
-
#done
Tell the recorder that the record is done (play will work then).
-
#done_playing? ⇒ Boolean
Is the battle finished ?.
-
#get_action ⇒ Array?
Return an action (playing) and next time return the next action.
-
#initialize(party1, party2, names) ⇒ MagnetoVS
constructor
Create a new MagnetoVS object.
-
#play ⇒ Boolean
Start playing the battle.
-
#push_actions(data, party = 1)
Add an action to the action stack.
-
#push_seed(seed)
Add a seed to the action stack.
-
#push_switch(data)
Add a switch action to the stack.
Constructor Details
#initialize(party1, party2, names) ⇒ MagnetoVS
Create a new MagnetoVS object
Instance Attribute Details
#names ⇒ Array<String> (readonly)
The list of enemy names
#party1 ⇒ Array<PFM::Pokemon> (readonly)
The first party array
#party2 ⇒ Array<PFM::Pokemon> (readonly)
The second party array
Instance Method Details
#done
Tell the recorder that the record is done (play will work then)
#done_playing? ⇒ Boolean
Is the battle finished ?
#get_action ⇒ Array?
Return an action (playing) and next time return the next action
#play ⇒ Boolean
Start playing the battle
#push_actions(data, party = 1)
Add an action to the action stack
#push_seed(seed)
Add a seed to the action stack
#push_switch(data)
Add a switch action to the stack