RuneHive-Game
Loading...
Searching...
No Matches
NpcClickEvent.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.entity.mob.npc.Npc;
5
6public class NpcClickEvent implements Event {
7
8 private final int type;
9
10 private final Npc npc;
11
12 public NpcClickEvent(int type, Npc npc) {
13 this.type = type;
14 this.npc = npc;
15 }
16
17 public int getType() {
18 return type;
19 }
20
21 public Npc getNpc() {
22 return npc;
23 }
24
25}
Represents a non-player character in the in-game world.
Definition Npc.java:29
Definition Event.kt:9