aboutsummaryrefslogtreecommitdiffstats
path: root/src/animation.h
diff options
context:
space:
mode:
authornathansmith117 <thenathansmithsmith@gmail.com>2024-02-15 00:39:24 +0000
committernathansmith117 <thenathansmithsmith@gmail.com>2024-02-15 00:39:24 +0000
commit9211212e939561c92e9a29baf0b61408d0b58c7a (patch)
treed1dc8a7b2d86c6c17b44badf9057985f7350e52a /src/animation.h
parent64bb931e18825b285dd93d0b9987ef72ece15ab4 (diff)
downloadPenguinYippies-9211212e939561c92e9a29baf0b61408d0b58c7a.tar.gz
PenguinYippies-9211212e939561c92e9a29baf0b61408d0b58c7a.tar.bz2
PenguinYippies-9211212e939561c92e9a29baf0b61408d0b58c7a.zip
More animation stuff
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