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

Public Member Functions

 ObjectDirection (int id)
final int getId ()

Static Public Member Functions

static Optional< ObjectDirectionvalueOf (final int id)

Public Attributes

 NORTH =(1)
 SOUTH =(3)
 EAST =(2)
 WEST =(0)

Detailed Description

The enumerated type whose elements represent the directions for objects.

Author
lare96 http://github.com/lare96
Artem Batutin artem.nosp@m.batu.nosp@m.tin@g.nosp@m.mail.nosp@m..com

Definition at line 42 of file ObjectDirection.java.

Constructor & Destructor Documentation

◆ ObjectDirection()

com.osroyale.game.world.object.ObjectDirection.ObjectDirection ( int id)
inline

Creates a new ObjectDirection.

Definition at line 72 of file ObjectDirection.java.

Member Function Documentation

◆ getId()

final int com.osroyale.game.world.object.ObjectDirection.getId ( )
inline

Gets the identification of this direction.

Returns
the identification of this direction.

Definition at line 81 of file ObjectDirection.java.

◆ valueOf()

Optional< ObjectDirection > com.osroyale.game.world.object.ObjectDirection.valueOf ( final int id)
inlinestatic

Returns a ObjectDirection wrapped in an Optional for the specified id.

Parameters
idThe game object orientation id.
Returns
The optional game object orientation.

Definition at line 107 of file ObjectDirection.java.

Member Data Documentation

◆ EAST

com.osroyale.game.world.object.ObjectDirection.EAST =(2)

The east orientation.

Definition at line 57 of file ObjectDirection.java.

◆ NORTH

com.osroyale.game.world.object.ObjectDirection.NORTH =(1)

The north orientation.

Definition at line 47 of file ObjectDirection.java.

◆ SOUTH

com.osroyale.game.world.object.ObjectDirection.SOUTH =(3)

The south orientation.

Definition at line 52 of file ObjectDirection.java.

◆ WEST

com.osroyale.game.world.object.ObjectDirection.WEST =(0)

The west orientation.

Definition at line 62 of file ObjectDirection.java.


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