Class that models a single animation used by an entity.
- Author
- Michael | Chex
Definition at line 45 of file Animation.java.
◆ 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
-
id | The 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
-
id | The id of the animation being used. |
delay | The 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
-
id | The id of the animation being used. |
priority | The 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
-
id | The id of the animation being used. |
delay | The delay of the animation in seconds. |
priority | The priority level of the animation. |
Definition at line 109 of file Animation.java.
◆ 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 |
The documentation for this class was generated from the following file: