aboutsummaryrefslogtreecommitdiffstats
path: root/src/animation.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/animation.h')
-rw-r--r--src/animation.h5
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