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

Public Member Functions

GameObject getObject ()
int getOpcode ()
 ObjectInteractionEvent (InteractionType type, GameObject object, int opcode)
Public Member Functions inherited from com.runehive.content.event.InteractionEvent
InteractionType getType ()
boolean isHandled ()
void setHandled (boolean handled)

Private Attributes

final GameObject object
final int opcode

Additional Inherited Members

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

Detailed Description

Definition at line 6 of file ObjectInteractionEvent.java.

Constructor & Destructor Documentation

◆ ObjectInteractionEvent()

com.runehive.content.event.impl.ObjectInteractionEvent.ObjectInteractionEvent ( InteractionType type,
GameObject object,
int opcode )

Definition at line 11 of file ObjectInteractionEvent.java.

11 {
12 super(type);
13 this.object = object;
14 this.opcode = opcode;
15 }

References object, opcode, and com.runehive.content.event.InteractionEvent.type.

Member Function Documentation

◆ getObject()

GameObject com.runehive.content.event.impl.ObjectInteractionEvent.getObject ( )

Definition at line 17 of file ObjectInteractionEvent.java.

17 {
18 return object;
19 }

References object.

◆ getOpcode()

int com.runehive.content.event.impl.ObjectInteractionEvent.getOpcode ( )

Definition at line 21 of file ObjectInteractionEvent.java.

21 {
22 return opcode;
23 }

References opcode.

Member Data Documentation

◆ object

final GameObject com.runehive.content.event.impl.ObjectInteractionEvent.object
private

Definition at line 8 of file ObjectInteractionEvent.java.

Referenced by getObject(), and ObjectInteractionEvent().

◆ opcode

final int com.runehive.content.event.impl.ObjectInteractionEvent.opcode
private

Definition at line 9 of file ObjectInteractionEvent.java.

Referenced by getOpcode(), and ObjectInteractionEvent().


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