Class OnLevelPerkEvent

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

public abstract class OnLevelPerkEvent extends Event
Triggered when a perk is being leveled up.
  • Constructor Details

    • OnLevelPerkEvent

      public OnLevelPerkEvent()
  • 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, zombie.characters.skills.PerkFactory.Perk perk, Integer level, Boolean levelUp)
      Called Event Handling Method
      Parameters:
      character - The character whose perk is being leveled up or down.
      perk - The perk being leveled up or down.
      level - Perk level.
      levelUp - Whether the perk is being leveled up.