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