public class AttackAnimationStationary extends AttackAnimation
Modifier and Type | Field and Description |
---|---|
int |
durationTicks |
java.util.HashMap<java.lang.Integer,AttackAnimationData> |
effects |
boolean |
groundedEndPosition |
boolean |
groundedStartPosition |
Constructor and Description |
---|
AttackAnimationStationary() |
Modifier and Type | Method and Description |
---|---|
void |
initialize(PixelmonWrapper user,
PixelmonWrapper target,
Attack attack) |
boolean |
tickAnimation(int tick)
Return true if the animation is complete and the damage can be applied.
|
boolean |
usedOncePerTurn() |
instantiate, sendBattleEffect
public int durationTicks
public java.util.HashMap<java.lang.Integer,AttackAnimationData> effects
public boolean groundedStartPosition
public boolean groundedEndPosition
public void initialize(PixelmonWrapper user, PixelmonWrapper target, Attack attack)
initialize
in class AttackAnimation
public boolean tickAnimation(int tick)
AttackAnimation
tickAnimation
in class AttackAnimation
public boolean usedOncePerTurn()
usedOncePerTurn
in class AttackAnimation