public class AttackAnimationRun extends AttackAnimation
Modifier and Type | Field and Description |
---|---|
double |
acceleration |
double |
accelerationX |
double |
accelerationZ |
double |
damagePercent |
AttackAnimationData |
effect |
double |
inertiaDistance |
double |
initialVelocity |
boolean |
knockback |
double |
maxUserVelocity |
double |
originalTargetX |
double |
originalTargetY |
double |
originalTargetZ |
double |
originalUserX |
double |
originalUserY |
double |
originalUserZ |
boolean |
returnToStart |
boolean |
targetInMotion |
boolean |
targetReached |
double |
targetVelocityX |
double |
targetVelocityZ |
double |
userVelocityX |
double |
userVelocityZ |
double |
xDistance |
double |
zDistance |
Constructor and Description |
---|
AttackAnimationRun() |
Modifier and Type | Method and Description |
---|---|
boolean |
tickAnimation(int tick)
Return true if the animation is complete and the damage can be applied.
|
boolean |
usedOncePerTurn() |
initialize, instantiate, sendBattleEffect
public AttackAnimationData effect
public double originalUserX
public double originalUserY
public double originalUserZ
public double originalTargetX
public double originalTargetY
public double originalTargetZ
public double xDistance
public double zDistance
public double maxUserVelocity
public double userVelocityX
public double userVelocityZ
public double targetVelocityX
public double targetVelocityZ
public double accelerationX
public double accelerationZ
public double initialVelocity
public double acceleration
public double inertiaDistance
public double damagePercent
public boolean targetReached
public boolean targetInMotion
public boolean knockback
public boolean returnToStart
public boolean tickAnimation(int tick)
AttackAnimation
tickAnimation
in class AttackAnimation
public boolean usedOncePerTurn()
usedOncePerTurn
in class AttackAnimation