diff options
Diffstat (limited to 'src/animation_system.h')
-rw-r--r-- | src/animation_system.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/animation_system.h b/src/animation_system.h index a116673..8352c19 100644 --- a/src/animation_system.h +++ b/src/animation_system.h | |||
@@ -17,6 +17,9 @@ public: | |||
17 | 17 | ||
18 | void tick(double dt) override; | 18 | void tick(double dt) override; |
19 | 19 | ||
20 | // Advances animation by a frame. Only to be used on manual animations. | ||
21 | void advanceAnimation(int spriteId); | ||
22 | |||
20 | void initSprite(int spriteId, std::string_view filename); | 23 | void initSprite(int spriteId, std::string_view filename); |
21 | 24 | ||
22 | void setSpriteDirection(int spriteId, Direction dir); | 25 | void setSpriteDirection(int spriteId, Direction dir); |