public interface IEffect extends IUpdateable
| Modifier and Type | Method and Description |
|---|---|
void |
apply(java.awt.Shape impactArea)
Applies the effect in the specified impact area on the specified environment.
|
void |
cease(ICombatEntity affectedEntity) |
java.util.List<EffectApplication> |
getActiveAppliances() |
int |
getDelay() |
int |
getDuration() |
EffectTarget[] |
getEffectTargets() |
java.util.List<IEffect> |
getFollowUpEffects() |
boolean |
isActive(ICombatEntity entity) |
void |
onEffectApplied(java.util.function.Consumer<EffectArgument> consumer) |
void |
onEffectCeased(java.util.function.Consumer<EffectArgument> consumer) |
updatevoid apply(java.awt.Shape impactArea)
impactArea - The impact areavoid cease(ICombatEntity affectedEntity)
java.util.List<EffectApplication> getActiveAppliances()
int getDelay()
int getDuration()
EffectTarget[] getEffectTargets()
java.util.List<IEffect> getFollowUpEffects()
boolean isActive(ICombatEntity entity)
void onEffectApplied(java.util.function.Consumer<EffectArgument> consumer)
void onEffectCeased(java.util.function.Consumer<EffectArgument> consumer)