public abstract class ForceEffect extends Effect
NO_DURATION
Modifier | Constructor and Description |
---|---|
protected |
ForceEffect(Ability ability,
float strength,
EffectTarget... targets) |
Modifier and Type | Method and Description |
---|---|
void |
apply(ICombatEntity affectedEntity) |
protected abstract Force |
applyForce(IMobileEntity affectedEntity) |
protected void |
cease(EffectApplication appliance) |
protected Force |
getAppliedForce() |
float |
getStrength() |
protected boolean |
hasEnded(EffectApplication appliance) |
apply, cease, getAbility, getActiveAppliances, getDelay, getDuration, getEffectTargets, getEntitiesInImpactArea, getFollowUpEffects, getTargetPriorityComparator, getTotalDuration, isActive, lookForAffectedEntities, onEffectApplied, onEffectCeased, setDelay, setDuration, setTargetPriorityComparator, update
protected ForceEffect(Ability ability, float strength, EffectTarget... targets)
public void apply(ICombatEntity affectedEntity)
public float getStrength()
protected abstract Force applyForce(IMobileEntity affectedEntity)
protected void cease(EffectApplication appliance)
protected Force getAppliedForce()
protected boolean hasEnded(EffectApplication appliance)