Class OnPressReloadButtonEvent

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

public abstract class OnPressReloadButtonEvent extends Event
Triggered when a player hits the button to reload a firearm.
  • Constructor Details

    • OnPressReloadButtonEvent

      public OnPressReloadButtonEvent()
  • 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.IsoPlayer player, zombie.inventory.types.HandWeapon firearm)
      Called Event Handling Method
      Parameters:
      player - The player who's reloading the firearm.
      firearm - The firearm which is being reloaded.