RuneHive-Game
Loading...
Searching...
No Matches
ObjectClickEvent.java
Go to the documentation of this file.
1package com.runehive.game.event.impl;
2
3import com.runehive.game.event.Event;
4import com.runehive.game.world.object.GameObject;
5
6public class ObjectClickEvent implements Event {
7
8 private final int type;
9
10 private final GameObject object;
11
12 public ObjectClickEvent(int type, GameObject object) {
13 this.type = type;
14 this.object = object;
15 }
16
17 public int getType() {
18 return type;
19 }
20
22 return object;
23 }
24
25}
Definition Event.kt:9