Class SoundEffect
java.lang.Object
de.gurkenlabs.litiengine.abilities.effects.Effect
de.gurkenlabs.litiengine.abilities.effects.SoundEffect
- All Implemented Interfaces:
IUpdateable
public class SoundEffect
extends EffectNested Class Summary
Nested classes/interfaces inherited from class de.gurkenlabs.litiengine.abilities.effects.Effect
Effect.EffectAppliedListener, Effect.EffectCeasedListenerConstructor Summary
Constructors Constructor Description SoundEffect(Ability ability, Sound... sounds)Initializes a new instance of theSoundEffectclass.SoundEffect(Ability ability, java.lang.String... sounds)Method Summary
Modifier and Type Method Description protected voidapply(ICombatEntity entity)Methods inherited from class de.gurkenlabs.litiengine.abilities.effects.Effect
apply, canAttackEntity, cease, cease, customTarget, getAbility, getActiveAppliances, getDelay, getDuration, getEffectTargets, getEntitiesInImpactArea, getFollowUpEffects, getTargetPriorityComparator, getTotalDuration, hasEnded, isActive, isAliveFriendlyEntity, isDeadFriendlyEntity, lookForAffectedEntities, onEffectApplied, onEffectCeased, removeEffectAppliedListener, removeEffectCeasedListener, setDelay, setDuration, setTargetPriorityComparator, update
Constructor Details
SoundEffect
Initializes a new instance of theSoundEffectclass.- Parameters:
ability- The ability that performs the effect.sounds- The sounds to chose from when applying the effect.
SoundEffect
Method Details
