diff options
Diffstat (limited to 'src/animation.h')
-rw-r--r-- | src/animation.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/animation.h b/src/animation.h index 8ec918f..089e6e1 100644 --- a/src/animation.h +++ b/src/animation.h @@ -22,4 +22,9 @@ typedef struct Animation { Animation loadAnimationFromFile(const char* fileName); void freeAnimation(Animation* animation); +// Set the frame and update the texture. +void setAnimationFrame(Animation * animation, int frame); + +void runAnimation(Animation * animation); + #endif |