RuneHive-Game
Loading...
Searching...
No Matches
PickupItemInteractionEvent.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.position.Position;
6
8
9 private final Item item;
10 private final Position position;
11
14 this.item = item;
15 this.position = position;
16 }
17
18 public Item getItem() {
19 return item;
20 }
21
23 return position;
24 }
25}
The container class that represents an item that can be interacted with.
Definition Item.java:21
Represents a single tile on the game world.
Definition Position.java:14