#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