Package com.avrix.events
Class OnEquipPrimaryEvent
java.lang.Object
com.avrix.events.Event
com.avrix.events.OnEquipPrimaryEvent
Triggered when a character equips an item in its primary slot.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGetting the event nameabstract void
handleEvent
(zombie.characters.IsoGameCharacter character, zombie.inventory.InventoryItem inventoryItem) Called Event Handling Method
-
Constructor Details
-
OnEquipPrimaryEvent
public OnEquipPrimaryEvent()
-
-
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.InventoryItem inventoryItem) Called Event Handling Method- Parameters:
character
- The character who's equipping the item.inventoryItem
- The item that is being equipped in the primary slot.
-