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
101 102 |
# File 'docs/5_Battle_05_Actions.rb', line 101 def initialize(scene, user) end |
Instance Attribute Details
#user ⇒ PFM::PokemonBattler (readonly)
Get the user of this action
97 98 99 |
# File 'docs/5_Battle_05_Actions.rb', line 97 def user @user end |
Instance Method Details
#<=>(other) ⇒ Integer
Compare this action with another
106 107 |
# File 'docs/5_Battle_05_Actions.rb', line 106 def <=>(other) end |
#execute
Execute the action
109 110 |
# File 'docs/5_Battle_05_Actions.rb', line 109 def execute end |