Package com.avrix.events
Class OnLevelPerkEvent
java.lang.Object
com.avrix.events.Event
com.avrix.events.OnLevelPerkEvent
Triggered when a perk is being leveled up.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGetting the event nameabstract void
handleEvent
(zombie.characters.IsoGameCharacter character, zombie.characters.skills.PerkFactory.Perk perk, Integer level, Boolean levelUp) Called Event Handling Method
-
Constructor Details
-
OnLevelPerkEvent
public OnLevelPerkEvent()
-
-
Method Details
-
getEventName
Getting the event name- Specified by:
getEventName
in classEvent
- 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.
-