Class SwitchTask
java.lang.Object
java.util.TimerTask
com.pixelmonmod.pixelmon.client.gui.battles.tasks.SwitchTask
- All Implemented Interfaces:
Runnable
Handles the in-battle switching animation.
-
Constructor Summary
ConstructorDescriptionSwitchTask
(UUID pokemon, PixelmonClientData newPokemon) Initializes a switch task. -
Method Summary
Methods inherited from class java.util.TimerTask
scheduledExecutionTime
-
Constructor Details
-
SwitchTask
Initializes a switch task.- Parameters:
pokemon
- The UUID of the Pokémon switching out.newPokemon
- Data for the Pokémon switching in.
-
-
Method Details