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

Public Member Functions

 Animation (int id)
 Animation (int id, int delay)
 Animation (int id, UpdatePriority priority)
 Animation (int id, int delay, UpdatePriority priority)
int getDelay ()
int getId ()

Detailed Description

Class that models a single animation used by an entity.

Author
Michael | Chex

Definition at line 45 of file Animation.java.

Constructor & Destructor Documentation

◆ Animation() [1/4]

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

Creates a new instance of the animation with a hidden delay of 0.

Parameters
idThe id of the animation being used.

Definition at line 71 of file Animation.java.

◆ Animation() [2/4]

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

Creates a new instance of the animation with a specified delay.

Parameters
idThe id of the animation being used.
delayThe delay of the animation in seconds.

Definition at line 83 of file Animation.java.

◆ Animation() [3/4]

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

Creates a new instance of the animation with a hidden delay of 0.

Parameters
idThe id of the animation being used.
priorityThe priority level of the animation.

Definition at line 95 of file Animation.java.

◆ Animation() [4/4]

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

Creates a new instance of the animation with a specified delay.

Parameters
idThe id of the animation being used.
delayThe delay of the animation in seconds.
priorityThe priority level of the animation.

Definition at line 109 of file Animation.java.

Member Function Documentation

◆ getDelay()

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

Gets the animation delay.

Returns
The delay.

Definition at line 120 of file Animation.java.

◆ getId()

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

Gets the animation id.

Returns
The id.

Definition at line 129 of file Animation.java.


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