RuneHive-Game
Loading...
Searching...
No Matches
ItemOnItemInteractionEvent.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 first, second;
9 private final int firstSlot, secondSlot;
10
13 this.first = first;
14 this.second = second;
15 this.firstSlot = firstSlot;
16 this.secondSlot = secondSlot;
17 }
18
19 public Item getFirst() {
20 return first;
21 }
22
23 public int getFirstSlot() {
24 return firstSlot;
25 }
26
27 public Item getSecond() {
28 return second;
29 }
30
31 public int getSecondSlot() {
32 return secondSlot;
33 }
34}
ItemOnItemInteractionEvent(Item first, Item second, int firstSlot, int secondSlot)
The container class that represents an item that can be interacted with.
Definition Item.java:21