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

Classes

enum  InteractionType

Public Member Functions

InteractionType getType ()
boolean isHandled ()
void setHandled (boolean handled)

Protected Member Functions

 InteractionEvent (InteractionType type)

Private Attributes

boolean handled
final InteractionType type

Detailed Description

Definition at line 3 of file InteractionEvent.java.

Constructor & Destructor Documentation

◆ InteractionEvent()

com.runehive.content.event.InteractionEvent.InteractionEvent ( InteractionType type)
protected

Definition at line 41 of file InteractionEvent.java.

41 {
42 this.type = type;
43 }

References type.

Member Function Documentation

◆ getType()

InteractionType com.runehive.content.event.InteractionEvent.getType ( )

Definition at line 45 of file InteractionEvent.java.

45 {
46 return type;
47 }

References type.

◆ isHandled()

boolean com.runehive.content.event.InteractionEvent.isHandled ( )

Definition at line 49 of file InteractionEvent.java.

49 {
50 return handled;
51 }

References handled.

Referenced by com.runehive.content.activity.Activity.onEvent(), and com.runehive.game.world.entity.skill.Skill.onEvent().

Here is the caller graph for this function:

◆ setHandled()

void com.runehive.content.event.InteractionEvent.setHandled ( boolean handled)

Definition at line 53 of file InteractionEvent.java.

53 {
54 this.handled = handled;
55 }

References handled.

Member Data Documentation

◆ handled

boolean com.runehive.content.event.InteractionEvent.handled
private

Definition at line 39 of file InteractionEvent.java.

Referenced by isHandled(), and setHandled().

◆ type


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