RuneHive-Tarnish
Neural OSRS Enhancement Framework
Loading...
Searching...
No Matches
com.osroyale.game.world.object.GameObject Interface Reference
Inheritance diagram for com.osroyale.game.world.object.GameObject:
Collaboration diagram for com.osroyale.game.world.object.GameObject:

Public Member Functions

GenericAttributes getGenericAttributes ()
GameObjectDefinition getDefinition ()
Position getPosition ()
int width ()
int length ()
ObjectType getObjectType ()
ObjectDirection getDirection ()
void register ()
void unregister ()
boolean active ()
default int getId ()
Public Member Functions inherited from com.osroyale.game.world.Interactable
default int getX ()
default int getY ()
default int getHeight ()

Additional Inherited Members

Static Public Member Functions inherited from com.osroyale.game.world.Interactable
static Interactable create (Position position)
static Interactable create (Position position, int width, int length)

Detailed Description

Represents a game object.

Author
Michael | Chex

Definition at line 13 of file GameObject.java.

Member Function Documentation

◆ active()

boolean com.osroyale.game.world.object.GameObject.active ( )

Determines if this object is active on the world.

Implemented in com.osroyale.game.world.object.CustomGameObject, and com.osroyale.game.world.object.StaticGameObject.

◆ getDefinition()

GameObjectDefinition com.osroyale.game.world.object.GameObject.getDefinition ( )

◆ getDirection()

ObjectDirection com.osroyale.game.world.object.GameObject.getDirection ( )

◆ getGenericAttributes()

GenericAttributes com.osroyale.game.world.object.GameObject.getGenericAttributes ( )

◆ getId()

default int com.osroyale.game.world.object.GameObject.getId ( )
inline

Gets the object id.

Definition at line 52 of file GameObject.java.

◆ getObjectType()

ObjectType com.osroyale.game.world.object.GameObject.getObjectType ( )

◆ getPosition()

Position com.osroyale.game.world.object.GameObject.getPosition ( )

Gets the regional location.

Implements com.osroyale.game.world.Interactable.

Implemented in com.osroyale.game.world.object.StaticGameObject.

◆ length()

int com.osroyale.game.world.object.GameObject.length ( )

◆ register()

void com.osroyale.game.world.object.GameObject.register ( )

◆ unregister()

void com.osroyale.game.world.object.GameObject.unregister ( )

◆ width()

int com.osroyale.game.world.object.GameObject.width ( )

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