Class OnCharacterDeathEvent

java.lang.Object
com.avrix.events.Event
com.avrix.events.OnCharacterDeathEvent

public abstract class OnCharacterDeathEvent extends Event
Triggered when a character dies.
  • Constructor Details

    • OnCharacterDeathEvent

      public OnCharacterDeathEvent()
  • Method Details

    • getEventName

      public String getEventName()
      Getting the event name
      Specified by:
      getEventName in class Event
      Returns:
      name of the event being implemented
    • handleEvent

      public abstract void handleEvent(zombie.characters.IsoGameCharacter character)
      Called Event Handling Method
      Parameters:
      character - The character who's about to die.