Class DamageTask
java.lang.Object
java.util.TimerTask
com.pixelmonmod.pixelmon.client.gui.battles.tasks.HPTask
com.pixelmonmod.pixelmon.client.gui.battles.tasks.DamageTask
- All Implemented Interfaces:
Runnable
Handles animation for hp being lowered.
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.pixelmonmod.pixelmon.client.gui.battles.tasks.HPTask
boundsCheck, cancel, clearActiveTasks, isDone, runMethods inherited from class java.util.TimerTask
scheduledExecutionTime
-
Constructor Details
-
DamageTask
Initiates a damage task.- Parameters:
healthDifference- The damage to deal (negative).uuid- The UUID of the Pokémon.
-