RuneHive-Game
Loading...
Searching...
No Matches
NpcInteractionEvent.java
Go to the documentation of this file.
1package com.runehive.content.event.impl;
2
3import com.runehive.game.world.entity.mob.npc.Npc;
4import com.runehive.content.event.InteractionEvent;
5
7
8 private final Npc npc;
9 private final int opcode;
10
12 super(type);
13 this.npc = npc;
14 this.opcode = opcode;
15 }
16
17 public Npc getNpc() {
18 return npc;
19 }
20
21 public int getOpcode() {
22 return opcode;
23 }
24
25}
NpcInteractionEvent(InteractionType type, Npc npc, int opcode)
Represents a non-player character in the in-game world.
Definition Npc.java:29