public class SwitchTask
extends java.util.TimerTask
Constructor and Description |
---|
SwitchTask(java.util.UUID pokemon,
PixelmonClientData newPokemon)
Initializes a switch task.
|
Modifier and Type | Method and Description |
---|---|
boolean |
cancel() |
boolean |
isDone() |
void |
run() |
public SwitchTask(java.util.UUID pokemon, PixelmonClientData newPokemon)
pokemon
- The UUID of the Pokémon switching out.newPokemon
- Data for the Pokémon switching in.