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