RuneHive-Game
Loading...
Searching...
No Matches
NpcClickEvent.java
Go to the documentation of this file.
1
package
com.runehive.game.event.impl;
2
3
import
com.runehive.game.event.Event;
4
import
com.runehive.game.world.entity.mob.npc.Npc;
5
6
public
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
}
com.runehive.game.event.impl.NpcClickEvent.npc
final Npc npc
Definition
NpcClickEvent.java:10
com.runehive.game.event.impl.NpcClickEvent.getType
int getType()
Definition
NpcClickEvent.java:17
com.runehive.game.event.impl.NpcClickEvent.type
final int type
Definition
NpcClickEvent.java:8
com.runehive.game.event.impl.NpcClickEvent.NpcClickEvent
NpcClickEvent(int type, Npc npc)
Definition
NpcClickEvent.java:12
com.runehive.game.event.impl.NpcClickEvent.getNpc
Npc getNpc()
Definition
NpcClickEvent.java:21
com.runehive.game.world.entity.mob.npc.Npc
Represents a non-player character in the in-game world.
Definition
Npc.java:29
Event
Definition
Event.kt:9
NpcClickEvent
Definition
AttackNpcEvent.kt:9