Files
sinbad/include/engineAnimation.h

16 lines
263 B
C

#ifndef ENGINE_ANIMATION_H
#define ENGINE_ANIMATION_H
typedef struct {
int state;
int currentFrame;
int maxFrame;
int framesCounter;
int framesSpeed;
float animTimer;
} Animation;
void UpdateAnimation(Animation *animation, float deltaTime);
#endif