diff options
Diffstat (limited to 'scripts/InputHandling')
| -rw-r--r-- | scripts/InputHandling/InventoryInputHandler.cs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/InputHandling/InventoryInputHandler.cs b/scripts/InputHandling/InventoryInputHandler.cs index 1eb7f3a..fef0df0 100644 --- a/scripts/InputHandling/InventoryInputHandler.cs +++ b/scripts/InputHandling/InventoryInputHandler.cs @@ -15,8 +15,8 @@ public partial class InventoryInputHandler : BaseInputHandler private Map.Map map; private InventoryMenu inventoryMenu; - private ConsumableItem activationItem = null; - private ConsumableItem dropItem = null; + private Item activationItem = null; + private Item dropItem = null; public override void Enter() { @@ -63,12 +63,12 @@ public partial class InventoryInputHandler : BaseInputHandler GetParent<InputHandler>().SetInputHandler(InputHandlers.MainGame); } - private void OnItemActivate(ConsumableItem item) + private void OnItemActivate(Item item) { activationItem = item; } - private void OnItemDrop(ConsumableItem item) + private void OnItemDrop(Item item) { dropItem = item; } |
