Package com.avrix.events
Class OnWeaponSwingEvent
java.lang.Object
com.avrix.events.Event
com.avrix.events.OnWeaponSwingEvent
Triggered when a player swings 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
-
OnWeaponSwingEvent
public OnWeaponSwingEvent()
-
-
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 who's wielding the weapon.handWeapon
- The hand weapon that is being wielded.
-