RuneHive-Tarnish
Neural OSRS Enhancement Framework
Loading...
Searching...
No Matches
ItemOnObjectInteractionEvent.java
1package com.osroyale.content.event.impl;
2
3import com.osroyale.content.event.InteractionEvent;
4import com.osroyale.game.world.items.Item;
5import com.osroyale.game.world.object.GameObject;
6
29
30public class ItemOnObjectInteractionEvent extends InteractionEvent {
31
32 private final Item item;
33 private final GameObject object;
34
35 public ItemOnObjectInteractionEvent(Item item, GameObject object) {
36 super(InteractionType.ITEM_ON_OBJECT);
37 this.item = item;
38 this.object = object;
39 }
40
41 public Item getItem() {
42 return item;
43 }
44
45 public GameObject getObject() {
46 return object;
47 }
48}