Definition at line 87 of file Anim.hpp.
◆ getActiveFrame()
auto ns::AnimPlayer::getActiveFrame |
( |
| ) |
const -> const AnimFrame & |
Get the active frame of the player.
- Returns
- The currently played frame
◆ getAnim()
auto ns::AnimPlayer::getAnim |
( |
| ) |
const -> const Anim * |
Get the currentlty played Anim.
- Returns
- Pointer to Anim object
◆ isPlaying()
auto ns::AnimPlayer::isPlaying |
( |
| ) |
const -> bool |
Does what you expect it to do.
- Returns
- Returns if the animation is being played or not
◆ setPlaySpeed()
void ns::AnimPlayer::setPlaySpeed |
( |
float |
speed | ) |
|
Set the play speed.
- Parameters
-
speed | Play speed. 0 stops the player; 1 is normal speed |
The documentation for this class was generated from the following file: