add doc to sb::Animation::playing

This commit is contained in:
ohsqueezy 2023-12-04 23:14:30 -05:00
parent a5f55be257
commit 5750997d5c
1 changed files with 6 additions and 1 deletions

View File

@ -75,7 +75,12 @@ public:
void pause();
void unpause();
void reset();
bool playing(bool = true) const;
/*!
* @param include_delay Specify whether or not to include the delay time in the check
* @return True if the animation is playing
*/
bool playing(bool include_delay = true) const;
/*!
* Update the timer and check the function's return value to determine whether a new frame of the animation should be produced.