RuneHive-Game
Loading...
Searching...
No Matches
com.runehive.game.event.impl.NpcClickEvent Class Reference
Inheritance diagram for com.runehive.game.event.impl.NpcClickEvent:
Collaboration diagram for com.runehive.game.event.impl.NpcClickEvent:

Public Member Functions

Npc getNpc ()
int getType ()
 NpcClickEvent (int type, Npc npc)

Private Attributes

final Npc npc
final int type

Detailed Description

Definition at line 6 of file NpcClickEvent.java.

Constructor & Destructor Documentation

◆ NpcClickEvent()

com.runehive.game.event.impl.NpcClickEvent.NpcClickEvent ( int type,
Npc npc )

Definition at line 12 of file NpcClickEvent.java.

12 {
13 this.type = type;
14 this.npc = npc;
15 }

References npc, and type.

Member Function Documentation

◆ getNpc()

Npc com.runehive.game.event.impl.NpcClickEvent.getNpc ( )

Definition at line 21 of file NpcClickEvent.java.

21 {
22 return npc;
23 }

References npc.

◆ getType()

int com.runehive.game.event.impl.NpcClickEvent.getType ( )

Definition at line 17 of file NpcClickEvent.java.

17 {
18 return type;
19 }

References type.

Member Data Documentation

◆ npc

final Npc com.runehive.game.event.impl.NpcClickEvent.npc
private

Definition at line 10 of file NpcClickEvent.java.

Referenced by getNpc(), and NpcClickEvent().

◆ type

final int com.runehive.game.event.impl.NpcClickEvent.type
private

Definition at line 8 of file NpcClickEvent.java.

Referenced by getType(), and NpcClickEvent().


The documentation for this class was generated from the following file: