public abstract class AttackAnimation
extends java.lang.Object
AttackAnimationRegistry
.Modifier and Type | Field and Description |
---|---|
Attack |
attack |
BattleControllerBase |
bc |
int |
dimension |
EnumType |
effectiveType |
int |
endID |
int |
startID |
PixelmonWrapper |
target |
float[] |
targetPos |
int |
ticks |
PixelmonWrapper |
user |
float[] |
userPos |
Constructor and Description |
---|
AttackAnimation() |
Modifier and Type | Method and Description |
---|---|
void |
initialize(PixelmonWrapper user,
PixelmonWrapper target,
Attack attack) |
AttackAnimation |
instantiate(PixelmonWrapper user,
PixelmonWrapper target,
Attack attack) |
void |
sendBattleEffect(AttackAnimationData data,
boolean groundedStartPosition,
boolean groundedEndPosition) |
abstract boolean |
tickAnimation(int tick)
Return true if the animation is complete and the damage can be applied.
|
abstract boolean |
usedOncePerTurn() |
public transient BattleControllerBase bc
public transient int ticks
public transient int dimension
public transient int startID
public transient PixelmonWrapper user
public transient float[] userPos
public transient int endID
public transient PixelmonWrapper target
public transient float[] targetPos
public transient Attack attack
public transient EnumType effectiveType
public AttackAnimation instantiate(PixelmonWrapper user, PixelmonWrapper target, Attack attack)
public void initialize(PixelmonWrapper user, PixelmonWrapper target, Attack attack)
public abstract boolean tickAnimation(int tick)
public abstract boolean usedOncePerTurn()
public void sendBattleEffect(AttackAnimationData data, boolean groundedStartPosition, boolean groundedEndPosition)