RuneHive-Game
Loading...
Searching...
No Matches
ItemOnObjectInteractionEvent.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;
5import com.runehive.game.world.object.GameObject;
6
8
9 private final Item item;
10 private final GameObject object;
11
14 this.item = item;
15 this.object = object;
16 }
17
18 public Item getItem() {
19 return item;
20 }
21
23 return object;
24 }
25}
The container class that represents an item that can be interacted with.
Definition Item.java:21