Package com.avrix.events
Class OnDynamicMovableRecipeEvent
java.lang.Object
com.avrix.events.Event
com.avrix.events.OnDynamicMovableRecipeEvent
Triggered when a dynamic recipe for a movable inventory item is being used.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGetting the event nameabstract void
handleEvent
(zombie.inventory.types.Moveable moveable, zombie.scripting.objects.MovableRecipe movableRecipe, zombie.inventory.InventoryItem inventoryItem, zombie.characters.IsoGameCharacter character) Called Event Handling Method
-
Constructor Details
-
OnDynamicMovableRecipeEvent
public OnDynamicMovableRecipeEvent()
-
-
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.inventory.types.Moveable moveable, zombie.scripting.objects.MovableRecipe movableRecipe, zombie.inventory.InventoryItem inventoryItem, zombie.characters.IsoGameCharacter character) Called Event Handling Method- Parameters:
moveable
- The movable object resulting from using the recipe.movableRecipe
- The movable recipe that is being used.inventoryItem
- The item from the player inventory.character
- The character who's using the recipe.
-