Package com.avrix.events
Class OnAddXPEvent
java.lang.Object
com.avrix.events.Event
com.avrix.events.OnAddXPEvent
Triggered when a player gains XP.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGetting the event nameabstract void
handleEvent
(zombie.characters.IsoGameCharacter character, zombie.characters.skills.PerkFactory.Perk perk, Float level) Called Event Handling Method
-
Constructor Details
-
OnAddXPEvent
public OnAddXPEvent()
-
-
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, Float level) Called Event Handling Method- Parameters:
character
- The character who's gaining XP.perk
- The perk that is being leveled up.level
- The perk level gained.
-