RuneHive-Game
Loading...
Searching...
No Matches
AttackNpcEvent.kt
Go to the documentation of this file.
1package org.jire.runehiveps.event.npc
2
3import com.runehive.game.world.entity.mob.npc.Npc
4import com.runehive.game.world.entity.mob.player.Player
5
6/**
7 * @author Jire
8 */
9class AttackNpcEvent(override val slot: Int) : NpcClickEvent {
10
11 override fun handleNpc(player: Player, npc: Npc) {
12 player.combat.attack(npc)
13 }
14
15}