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