Add walk animation

This commit is contained in:
2023-12-29 08:02:19 +01:00
parent b667f18b8e
commit 0c9fae7781
4 changed files with 24 additions and 31 deletions

View File

@@ -53,13 +53,6 @@ void entitySpatialRemove(ecs_iter_t *it);
*/
void entityPathRemove(ecs_iter_t *it);
/* Observer (for updating animation state)
* 1: Animation
* 2: AnimationType
*/
void entitySetAnimationState(ecs_iter_t *it);
/*
* 0: Game (singleton) for entity map
* 1: Position
@@ -93,17 +86,10 @@ void entityMoveToTarget(ecs_iter_t *it);
*/
void entityFollowPath(ecs_iter_t *it);
/*
* 0: Game (for pathfinding)
* 1: Position
* 2: Rotation
* 3: HarvestTask
*/
void entityHarvestTaskSystem(ecs_iter_t *it);
/*
* 1: Velocity
* 2: AnimationType
* 1: Animation
* 2: TextureRegion
*/
void entityUpdateAnimationState(ecs_iter_t *it);
/*