Package com.avrix.events
Class OnPressRackButtonEvent
java.lang.Object
com.avrix.events.Event
com.avrix.events.OnPressRackButtonEvent
Triggered when a player hits the button to rack a firearm.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGetting the event nameabstract void
handleEvent
(zombie.characters.IsoPlayer player, zombie.inventory.types.HandWeapon firearm) Called Event Handling Method
-
Constructor Details
-
OnPressRackButtonEvent
public OnPressRackButtonEvent()
-
-
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.IsoPlayer player, zombie.inventory.types.HandWeapon firearm) Called Event Handling Method- Parameters:
player
- The player who's racking the firearm.firearm
- The firearm which is being racked.
-