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

Public Member Functions

Mob getVictim ()
 OnKillEvent (Mob victim)
Public Member Functions inherited from com.runehive.content.event.InteractionEvent
InteractionType getType ()
boolean isHandled ()
void setHandled (boolean handled)

Private Attributes

final Mob victim

Additional Inherited Members

Protected Member Functions inherited from com.runehive.content.event.InteractionEvent
 InteractionEvent (InteractionType type)

Detailed Description

Author
Stand Up
Since
16-6-2017.

Definition at line 10 of file OnKillEvent.java.

Constructor & Destructor Documentation

◆ OnKillEvent()

com.runehive.content.event.impl.OnKillEvent.OnKillEvent ( Mob victim)

Definition at line 14 of file OnKillEvent.java.

14 {
15 super(InteractionType.ON_KILL);
16 this.victim = victim;
17 }

References com.runehive.content.event.InteractionEvent.InteractionType.ON_KILL, and victim.

Member Function Documentation

◆ getVictim()

Mob com.runehive.content.event.impl.OnKillEvent.getVictim ( )

Definition at line 19 of file OnKillEvent.java.

19 {
20 return victim;
21 }

References victim.

Member Data Documentation

◆ victim

final Mob com.runehive.content.event.impl.OnKillEvent.victim
private

Definition at line 12 of file OnKillEvent.java.

Referenced by getVictim(), and OnKillEvent().


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