Package com.avrix.events
Class OnWeaponHitTreeEvent
java.lang.Object
com.avrix.events.Event
com.avrix.events.OnWeaponHitTreeEvent
Triggered when a character hits a tree with a hand weapon.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGetting the event nameabstract void
handleEvent
(zombie.characters.IsoGameCharacter character, zombie.inventory.types.HandWeapon handWeapon) Called Event Handling Method
-
Constructor Details
-
OnWeaponHitTreeEvent
public OnWeaponHitTreeEvent()
-
-
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.inventory.types.HandWeapon handWeapon) Called Event Handling Method- Parameters:
character
- The character whose weapon hit a tree.handWeapon
- The hand weapon used to hit the tree.
-