Add idle animation

This commit is contained in:
2023-12-05 11:25:56 +01:00
parent abc8cf2b48
commit 0d137ffb25
14 changed files with 344 additions and 30 deletions

View File

@@ -21,7 +21,13 @@ void entitySpatialRemoved(ecs_iter_t *it);
* 0: Game (singleton) for object pool
* 1: Path
*/
void pathRemoved(ecs_iter_t *it);
void entityPathRemoved(ecs_iter_t *it);
/* Observer (for updating animation state)
* 1: Animation
* 2: EntityState
*/
void entitySetAnimationState(ecs_iter_t *it);
/*
* 0: Game (singleton) for entity map
@@ -53,6 +59,13 @@ void entityUpdateKinematic(ecs_iter_t *it);
*/
void entityFollowPath(ecs_iter_t *it);
/*
* 0:
* 1: Animation
* 2: TextureRegion
*/
void entityUpdateAnimation(ecs_iter_t *it);
/*
* 0:
*/