Class: Battle::Logic::MegaEvolve
Overview
Logic for mega evolution
Instance Method Summary collapse
-
#can_pokemon_mega_evolve?(pokemon) ⇒ Boolean
Test if a Pokemon can Mega Evolve.
-
#initialize(scene) ⇒ MegaEvolve
constructor
Create the MegaEvolve checker.
-
#mark_as_mega_evolved(pokemon)
Mark a Pokemon as mega evolved.
-
#mega_tool_name(pokemon) ⇒ String
Give the name of the mega tool used by the trainer.
Constructor Details
#initialize(scene) ⇒ MegaEvolve
Create the MegaEvolve checker
467 468 |
# File 'docs/5_Battle_04_Logic.rb', line 467 def initialize(scene) end |
Instance Method Details
#can_pokemon_mega_evolve?(pokemon) ⇒ Boolean
Test if a Pokemon can Mega Evolve
472 473 |
# File 'docs/5_Battle_04_Logic.rb', line 472 def can_pokemon_mega_evolve?(pokemon) end |
#mark_as_mega_evolved(pokemon)
Mark a Pokemon as mega evolved
476 477 |
# File 'docs/5_Battle_04_Logic.rb', line 476 def mark_as_mega_evolved(pokemon) end |
#mega_tool_name(pokemon) ⇒ String
Give the name of the mega tool used by the trainer
481 482 |
# File 'docs/5_Battle_04_Logic.rb', line 481 def mega_tool_name(pokemon) end |