Class ForceEffect
java.lang.Object
de.gurkenlabs.litiengine.abilities.effects.Effect
de.gurkenlabs.litiengine.abilities.effects.ForceEffect
- All Implemented Interfaces:
IUpdateable
public abstract class ForceEffect
extends EffectNested Class Summary
Nested classes/interfaces inherited from class de.gurkenlabs.litiengine.abilities.effects.Effect
Effect.EffectAppliedListener, Effect.EffectCeasedListenerConstructor Summary
Constructors Modifier Constructor Description protectedForceEffect(Ability ability, float strength, EffectTarget... targets)Method Summary
Modifier and Type Method Description voidapply(ICombatEntity affectedEntity)protected abstract ForceapplyForce(IMobileEntity affectedEntity)protected voidcease(EffectApplication appliance)protected ForcegetAppliedForce()floatgetStrength()protected booleanhasEnded(EffectApplication appliance)Methods inherited from class de.gurkenlabs.litiengine.abilities.effects.Effect
apply, canAttackEntity, cease, customTarget, getAbility, getActiveAppliances, getDelay, getDuration, getEffectTargets, getEntitiesInImpactArea, getFollowUpEffects, getTargetPriorityComparator, getTotalDuration, isActive, isAliveFriendlyEntity, isDeadFriendlyEntity, lookForAffectedEntities, onEffectApplied, onEffectCeased, removeEffectAppliedListener, removeEffectCeasedListener, setDelay, setDuration, setTargetPriorityComparator, update
Constructor Details
Method Details
apply
getStrength
public float getStrength()applyForce
cease
getAppliedForce
hasEnded
