2D_Engine_Tool/src/game_data/ecs/animation_system.hpp

16 lines
305 B
C++

#ifndef ANIMATION_SYSTEM_H
#define ANIMATION_SYSTEM_H
#include <stdint.h>
typedef struct animation_system_data_t {
uint32_t nb_frames;
uint32_t actual_frame_nb;
uint32_t frame_delay_ms;
bool play;
bool loop;
bool reverse;
} animation_system_data_t;
#endif // SPRITE_COMPONENT_H