Class EffectEvent

java.lang.Object
java.util.EventObject
de.gurkenlabs.litiengine.abilities.effects.EffectEvent
All Implemented Interfaces:
Serializable

public class EffectEvent extends EventObject
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:
  • Method Details

    • getCombatEntity

      public ICombatEntity getCombatEntity()
      Gets the combat entity associated with this event.
      Returns:
      The ICombatEntity affected by the effect.
    • getEffect

      public Effect getEffect()
      Gets the effect associated with this event.
      Returns:
      The Effect that triggered this event.