Module: BattleUI::SkillChoiceAbstraction
Overview
Abstraction helping to design skill choice a way that complies to what Visual expect to handle
Instance Attribute Summary collapse
-
#index ⇒ Integer
readonly
Get the index.
-
#mega_enabled ⇒ Boolean
Tell if the mega evolution is enabled.
-
#pokemon ⇒ PFM::PokemonBattler
readonly
The pokemon the player choosed a move.
-
#result ⇒ Battle::Move, :cancel
readonly
The selected move.
Instance Method Summary collapse
-
#encore_reset(pokemon, move)
Ensure the info are reset properly with current Encore'd Pokemon.
-
#reset(pokemon)
Reset the Skill choice.
-
#validated? ⇒ Boolean
If the player made a choice.
Instance Attribute Details
#index ⇒ Integer (readonly)
Get the index
603 604 605 |
# File 'docs/5_Battle_01_Scene.rb', line 603 def index @index end |
#mega_enabled ⇒ Boolean
Tell if the mega evolution is enabled
600 601 602 |
# File 'docs/5_Battle_01_Scene.rb', line 600 def mega_enabled @mega_enabled end |
#pokemon ⇒ PFM::PokemonBattler (readonly)
The pokemon the player choosed a move
597 598 599 |
# File 'docs/5_Battle_01_Scene.rb', line 597 def pokemon @pokemon end |
#result ⇒ Battle::Move, :cancel (readonly)
The selected move
594 595 596 |
# File 'docs/5_Battle_01_Scene.rb', line 594 def result @result end |
Instance Method Details
#encore_reset(pokemon, move)
Ensure the info are reset properly with current Encore'd Pokemon
611 612 |
# File 'docs/5_Battle_01_Scene.rb', line 611 def encore_reset(pokemon, move) end |
#reset(pokemon)
Reset the Skill choice
606 607 |
# File 'docs/5_Battle_01_Scene.rb', line 606 def reset(pokemon) end |
#validated? ⇒ Boolean
If the player made a choice
615 616 |
# File 'docs/5_Battle_01_Scene.rb', line 615 def validated? end |