RuneHive-Game
Loading...
Searching...
No Matches
ItemInteractionEvent.java
Go to the documentation of this file.
1package com.runehive.content.event.impl;
2
3import com.runehive.content.event.InteractionEvent;
4import com.runehive.game.world.items.Item;
5
7
8 private final Item item;
9 private final int slot, opcode;
10
12 super(type);
13 this.item = item;
14 this.slot = slot;
15 this.opcode = opcode;
16 }
17
18 public Item getItem() {
19 return item;
20 }
21
22 public int getOpcode() {
23 return opcode;
24 }
25
26 public int getSlot() {
27 return slot;
28 }
29
30}
ItemInteractionEvent(InteractionType type, Item item, int slot, int opcode)
The container class that represents an item that can be interacted with.
Definition Item.java:21