new anim state in animation struct

This commit is contained in:
huaqo-games
2025-03-23 21:11:09 +01:00
parent d5016ac164
commit 4eb407d286
2 changed files with 8 additions and 3 deletions
+2 -1
View File
@@ -1,7 +1,8 @@
#ifndef ANIMATION_H
#define ANIMATION_H
typedef struct {
typedef struct {
int state;
int currentFrame;
int maxFrame;
int framesCounter;