Class: Battle::Actions::Mega
Overview
Class describing the Mega Evolution action
Instance Attribute Summary collapse
-
#user ⇒ PFM::PokemonBattler
readonly
Get the user of this action.
Instance Method Summary collapse
-
#<=>(other) ⇒ Integer
Compare this action with another.
-
#execute
Execute the action.
-
#initialize(scene, user) ⇒ Mega
constructor
Create a new mega evolution action.
Methods inherited from Base
Constructor Details
#initialize(scene, user) ⇒ Mega
Create a new mega evolution action
99 100 |
# File 'docs/5_Battle_05_Actions.rb', line 99 def initialize(scene, user) end |
Instance Attribute Details
#user ⇒ PFM::PokemonBattler (readonly)
Get the user of this action
95 96 97 |
# File 'docs/5_Battle_05_Actions.rb', line 95 def user @user end |
Instance Method Details
#<=>(other) ⇒ Integer
Compare this action with another
104 105 |
# File 'docs/5_Battle_05_Actions.rb', line 104 def <=>(other) end |
#execute
Execute the action
107 108 |
# File 'docs/5_Battle_05_Actions.rb', line 107 def execute end |