RuneHive-Tarnish
Neural OSRS Enhancement Framework
Loading...
Searching...
No Matches
com.osroyale.game.world.object.ObjectGroup Enum Reference

Public Member Functions

 ObjectGroup (int value)
int getValue ()

Static Public Member Functions

static Optional< ObjectGroupvalueOf (int value)

Public Attributes

 WALL =(0)
 WALL_DECORATION =(1)
 INTERACTABLE_OBJECT =(2)
 GROUND_DECORATION =(3)
 ROOFING =(4)

Detailed Description

The group of an object, which indicates its general class (e.g. if it's a wall, or a floor decoration).

Author
Artem Batutin artem.nosp@m.batu.nosp@m.tin@g.nosp@m.mail.nosp@m..com
Major
Scu11

Definition at line 44 of file ObjectGroup.java.

Constructor & Destructor Documentation

◆ ObjectGroup()

com.osroyale.game.world.object.ObjectGroup.ObjectGroup ( int value)
inline

Creates the ObjectGroup.

Parameters
valueThe integer value of the group. Must be unique.

Definition at line 83 of file ObjectGroup.java.

Member Function Documentation

◆ getValue()

int com.osroyale.game.world.object.ObjectGroup.getValue ( )
inline

Gets the value of this ObjectGroup.

Returns
The value.

Definition at line 92 of file ObjectGroup.java.

◆ valueOf()

Optional< ObjectGroup > com.osroyale.game.world.object.ObjectGroup.valueOf ( int value)
inlinestatic

Attempts to find the ObjectGroup with the specified integer value.

Parameters
valueThe integer value of the ObjectGroup.
Returns
The Optional possibly containing the ObjectGroup, if found.

Definition at line 71 of file ObjectGroup.java.

Member Data Documentation

◆ GROUND_DECORATION

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.

◆ INTERACTABLE_OBJECT

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.

◆ ROOFING

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.

◆ WALL

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.

◆ WALL_DECORATION

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.


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