public class MissileMechanic.MissileTracker extends Projectile.ProjectileTracker
bullet, chargesRemaining, components, currentLocation, currentVelocity, data, immune, inRange, power, previousLocation, startLocation, targets, ticksRemaining
Constructor and Description |
---|
MissileTracker(SkillMetadata data,
AbstractEntity target) |
MissileTracker(SkillMetadata data,
AbstractLocation target) |
Modifier and Type | Method and Description |
---|---|
void |
doHit(HashSet<AbstractEntity> targets) |
AbstractLocation |
getTarget() |
void |
modifyInertia(float p) |
void |
modifyVelocity(double v) |
void |
projectileStart() |
void |
projectileTick() |
void |
setInertia(float p) |
void |
setVelocity(double value) |
close, executeProjectileSkill, getCancelled, modifyPower, projectileEnd, run, setCancelled, setPower, start
public MissileTracker(SkillMetadata data, AbstractEntity target)
public MissileTracker(SkillMetadata data, AbstractLocation target)
public AbstractLocation getTarget()
public void projectileStart()
projectileStart
in class Projectile.ProjectileTracker
public void projectileTick()
projectileTick
in class Projectile.ProjectileTracker
public void setVelocity(double value)
public void modifyVelocity(double v)
public void setInertia(float p)
public void modifyInertia(float p)
public void doHit(HashSet<AbstractEntity> targets)
Copyright © 2020. All rights reserved.