Class OnPlayerDeathEvent

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

public abstract class OnPlayerDeathEvent extends Event
Triggered when a player dies.
  • Constructor Details

    • OnPlayerDeathEvent

      public OnPlayerDeathEvent()
  • 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.IsoPlayer player)
      Called Event Handling Method
      Parameters:
      player - The player who's about to die.