public class ChainMechanic.ChainTracker extends Object implements IParentSkill, Runnable, io.lumine.utils.terminable.Terminable
Modifier and Type | Field and Description |
---|---|
protected int |
bounceDelay |
protected double |
bounceRadius |
protected double |
bounceRadiusSq |
protected int |
bouncesRemaining |
protected io.lumine.utils.terminable.TerminableRegistry |
components |
protected SkillMetadata |
data |
protected HashSet<AbstractEntity> |
potentialTargets |
protected float |
power |
Constructor and Description |
---|
ChainTracker(SkillMetadata data,
AbstractEntity target) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
boolean |
executeChainSkill(AbstractEntity target) |
boolean |
getCancelled() |
void |
modifyPower(float p) |
void |
run() |
void |
setCancelled() |
void |
start(AbstractEntity target) |
protected final io.lumine.utils.terminable.TerminableRegistry components
protected SkillMetadata data
protected final double bounceRadius
protected final double bounceRadiusSq
protected final int bounceDelay
protected int bouncesRemaining
protected float power
protected HashSet<AbstractEntity> potentialTargets
public ChainTracker(SkillMetadata data, AbstractEntity target)
public void start(AbstractEntity target)
public boolean executeChainSkill(AbstractEntity target)
public void close()
close
in interface io.lumine.utils.terminable.Terminable
close
in interface AutoCloseable
public void setCancelled()
setCancelled
in interface IParentSkill
public boolean getCancelled()
getCancelled
in interface IParentSkill
public void modifyPower(float p)
Copyright © 2020. All rights reserved.