From 9211212e939561c92e9a29baf0b61408d0b58c7a Mon Sep 17 00:00:00 2001 From: nathansmith117 Date: Wed, 14 Feb 2024 17:39:24 -0700 Subject: More animation stuff --- src/animation.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/animation.h') 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 -- cgit v1.2.3