public class HealTask extends HPTask
| Constructor and Description |
|---|
HealTask(int healthDifference,
java.util.UUID uuid)
Initiates a heal task.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
boundsCheck()
Checks if the health difference is valid and adjusts it if it is not.
|
boolean |
isDone()
Checks if the animation is finished.
|
public HealTask(int healthDifference,
java.util.UUID uuid)
healthDifference - The hp to heal.uuid - The UUID of the Pokémon.protected void boundsCheck()
HPTaskboundsCheck in class HPTask