Class EffectEvent
java.lang.Object
java.util.EventObject
de.gurkenlabs.litiengine.abilities.effects.EffectEvent
- All Implemented Interfaces:
Serializable
Represents an event related to an
Effect being applied to a combat entity. This class provides information about the effect and the entity
it is applied to.- See Also:
-
Field Summary
Fields inherited from class EventObject
source -
Method Summary
Modifier and TypeMethodDescriptionGets the combat entity associated with this event.Gets the effect associated with this event.Methods inherited from class EventObject
getSource, toString
-
Method Details
-
getCombatEntity
Gets the combat entity associated with this event.- Returns:
- The
ICombatEntityaffected by the effect.
-
getEffect
Gets the effect associated with this event.- Returns:
- The
Effectthat triggered this event.
-