Class OnWeaponSwingHitPointEvent

java.lang.Object
com.avrix.events.Event
com.avrix.events.OnWeaponSwingHitPointEvent

public abstract class OnWeaponSwingHitPointEvent extends Event
Triggered when a hand weapon has reached the apex of its swing.
  • Constructor Details

    • OnWeaponSwingHitPointEvent

      public OnWeaponSwingHitPointEvent()
  • Method Details

    • getEventName

      public String getEventName()
      Getting the event name
      Specified by:
      getEventName in class Event
      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.