Add animations back
This commit is contained in:
@@ -101,23 +101,19 @@ extern ECS_COMPONENT_DECLARE(TextureRegion);
|
||||
* Animation components
|
||||
*********************************************************/
|
||||
|
||||
/*
|
||||
typedef struct Animation {
|
||||
EntityType entityType;
|
||||
AnimationType animType;
|
||||
AnimType animType;
|
||||
|
||||
AnimationFrame frame;
|
||||
AnimationSequence sequence;
|
||||
BzTileset *tileset;
|
||||
BzTileset *tileset;
|
||||
|
||||
i32 curFrame;
|
||||
f32 frameDuration;
|
||||
f32 elapsed;
|
||||
} Animation;
|
||||
extern ECS_COMPONENT_DECLARE(Animation);
|
||||
|
||||
extern ECS_COMPONENT_DECLARE(AnimationType);
|
||||
*/
|
||||
|
||||
|
||||
|
||||
typedef struct EntityArms {
|
||||
ecs_entity_t left;
|
||||
ecs_entity_t right;
|
||||
|
||||
Reference in New Issue
Block a user