RuneHive-Tarnish
Neural OSRS Enhancement Framework
Loading...
Searching...
No Matches
com.osroyale.game.Graphic Class Reference
Collaboration diagram for com.osroyale.game.Graphic:

Public Member Functions

 Graphic (int id)
 Graphic (int id, boolean high)
 Graphic (int id, int delay)
 Graphic (int id, int delay, boolean high)
 Graphic (int id, UpdatePriority priority)
 Graphic (int id, boolean high, UpdatePriority priority)
 Graphic (int id, int delay, UpdatePriority priority)
 Graphic (int id, int delay, boolean high, UpdatePriority priority)
int getDelay ()
int getHeight ()
int getId ()

Detailed Description

Represents a single graphic that can be used by entities. Also known as GFX.

Author
Michael | Chex

Definition at line 45 of file Graphic.java.

Constructor & Destructor Documentation

◆ Graphic() [1/8]

com.osroyale.game.Graphic.Graphic ( int id)
inline

Constructs a new Graphic object with no delay, a low height, and normal priotiry.

Parameters
idThe graphic id.

Definition at line 75 of file Graphic.java.

◆ Graphic() [2/8]

com.osroyale.game.Graphic.Graphic ( int id,
boolean high )
inline

Constructs a new Graphic object with no delay and normal priotiry.

Parameters
idThe graphic id.
highThe graphic height state.

Definition at line 89 of file Graphic.java.

◆ Graphic() [3/8]

com.osroyale.game.Graphic.Graphic ( int id,
int delay )
inline

Constructs a new Graphic object with a low height and normal priotiry.

Parameters
idThe graphic id.
delayThe graphic delay.

Definition at line 103 of file Graphic.java.

◆ Graphic() [4/8]

com.osroyale.game.Graphic.Graphic ( int id,
int delay,
boolean high )
inline

Constructs a new Graphic object with a normal priotiry.

Parameters
idThe graphic id.
delayThe graphic delay.
highThe graphic height state.

Definition at line 119 of file Graphic.java.

◆ Graphic() [5/8]

com.osroyale.game.Graphic.Graphic ( int id,
UpdatePriority priority )
inline

Constructs a new Graphic object with no delay and a low height.

Parameters
idThe graphic id.
priorityThe graphic priority.

Definition at line 131 of file Graphic.java.

◆ Graphic() [6/8]

com.osroyale.game.Graphic.Graphic ( int id,
boolean high,
UpdatePriority priority )
inline

Constructs a new Graphic object with no delay.

Parameters
idThe graphic id.
highThe graphic height state.
priorityThe graphic priority.

Definition at line 146 of file Graphic.java.

◆ Graphic() [7/8]

com.osroyale.game.Graphic.Graphic ( int id,
int delay,
UpdatePriority priority )
inline

Constructs a new Graphic object with a low height.

Parameters
idThe graphic id.
delayThe graphic delay.
priorityThe graphic priority.

Definition at line 161 of file Graphic.java.

◆ Graphic() [8/8]

com.osroyale.game.Graphic.Graphic ( int id,
int delay,
boolean high,
UpdatePriority priority )
inline

Constructs a new Graphic object.

Parameters
idThe graphic id.
delayThe graphic delay.
highThe graphic height state.
priorityThe graphic priority.

Definition at line 179 of file Graphic.java.

Member Function Documentation

◆ getDelay()

int com.osroyale.game.Graphic.getDelay ( )
inline

Gets the delay of this graphic.

Returns
delay

Definition at line 202 of file Graphic.java.

◆ getHeight()

int com.osroyale.game.Graphic.getHeight ( )
inline

Gets the height of this graphic.

Returns
height

Definition at line 211 of file Graphic.java.

◆ getId()

int com.osroyale.game.Graphic.getId ( )
inline

Gets the id of this graphic.

Returns
id

Definition at line 220 of file Graphic.java.


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