RuneHive-Tarnish
Neural OSRS Enhancement Framework
Loading...
Searching...
No Matches
ItemOnObjectEvent.java
1package com.osroyale.game.event.impl;
2
3import com.osroyale.game.event.Event;
4import com.osroyale.game.world.items.Item;
5import com.osroyale.game.world.object.GameObject;
6
31
32public class ItemOnObjectEvent implements Event {
33
34 private final Item used;
35
36 private final int slot;
37
38 private final GameObject object;
39
40 public ItemOnObjectEvent(Item used, int slot, GameObject object) {
41 this.used = used;
42 this.slot = slot;
43 this.object = object;
44 }
45
46 public Item getUsed() {
47 return used;
48 }
49
50 public int getSlot() {
51 return slot;
52 }
53
54 public GameObject getObject() {
55 return object;
56 }
57
58}