Class OnCreateLivingCharacterEvent

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

public abstract class OnCreateLivingCharacterEvent extends Event
Triggered when either a player or survivor is being created.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Getting the event name
    abstract void
    handleEvent(zombie.characters.IsoPlayer playerOrSurvivor, zombie.characters.SurvivorDesc survivorDesc)
    Called Event Handling Method
    abstract void
    handleEvent(zombie.characters.IsoSurvivor playerOrSurvivor, zombie.characters.SurvivorDesc survivorDesc)
    Called Event Handling Method

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • OnCreateLivingCharacterEvent

      public OnCreateLivingCharacterEvent()
  • 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 playerOrSurvivor, zombie.characters.SurvivorDesc survivorDesc)
      Called Event Handling Method
      Parameters:
      playerOrSurvivor - The player or survivor who's being created.
      survivorDesc - The survivor description of the player or survivor who's being created.
    • handleEvent

      public abstract void handleEvent(zombie.characters.IsoSurvivor playerOrSurvivor, zombie.characters.SurvivorDesc survivorDesc)
      Called Event Handling Method
      Parameters:
      playerOrSurvivor - The player or survivor who's being created.
      survivorDesc - The survivor description of the player or survivor who's being created.