Package com.avrix.events
Class OnWeaponSwingHitPointEvent
java.lang.Object
com.avrix.events.Event
com.avrix.events.OnWeaponSwingHitPointEvent
Triggered when a hand weapon has reached the apex of its swing.
-
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
-
OnWeaponSwingHitPointEvent
public OnWeaponSwingHitPointEvent()
-
-
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.
-