RuneHive-Tarnish
Neural OSRS Enhancement Framework
|
Public Member Functions | |
ObjectGroup (int value) | |
int | getValue () |
Static Public Member Functions | |
static Optional< ObjectGroup > | valueOf (int value) |
Public Attributes | |
WALL =(0) | |
WALL_DECORATION =(1) | |
INTERACTABLE_OBJECT =(2) | |
GROUND_DECORATION =(3) | |
ROOFING =(4) |
The group of an object, which indicates its general class (e.g. if it's a wall, or a floor decoration).
Definition at line 44 of file ObjectGroup.java.
|
inline |
Creates the ObjectGroup.
value | The integer value of the group. Must be unique. |
Definition at line 83 of file ObjectGroup.java.
|
inline |
Gets the value of this ObjectGroup.
Definition at line 92 of file ObjectGroup.java.
|
inlinestatic |
Attempts to find the ObjectGroup with the specified integer value.
value | The integer value of the ObjectGroup. |
Optional
possibly containing the ObjectGroup, if found. Definition at line 71 of file ObjectGroup.java.
com.osroyale.game.world.object.ObjectGroup.GROUND_DECORATION =(3) |
The ground decoration object group, which may block a tile.
Definition at line 59 of file ObjectGroup.java.
com.osroyale.game.world.object.ObjectGroup.INTERACTABLE_OBJECT =(2) |
The interactable object group, for objects that can be clicked and interacted with.
Definition at line 56 of file ObjectGroup.java.
com.osroyale.game.world.object.ObjectGroup.ROOFING =(4) |
The roof parts that disappear on a camera angle.
Definition at line 62 of file ObjectGroup.java.
com.osroyale.game.world.object.ObjectGroup.WALL =(0) |
The wall object group, which may block a tile.
Definition at line 47 of file ObjectGroup.java.
com.osroyale.game.world.object.ObjectGroup.WALL_DECORATION =(1) |
The wall decoration object group, which never blocks a tile.
Definition at line 50 of file ObjectGroup.java.