Enemy swarm movement

This commit is contained in:
2024-02-12 14:14:23 +01:00
parent c5b6dc0501
commit e69fdeed1f
15 changed files with 402 additions and 24 deletions

View File

@@ -143,6 +143,17 @@ void entityUpdate(ecs_iter_t *it);
*/
void entityMoveToTarget(ecs_iter_t *it);
/*
* 0: Game (singleton for waypoints)
* 1: Position
* 2: Velocity
* 3: HitBox
* 4: Swarm
* 5: Owner
* 6: Steering
*/
void entityMoveSwarm(ecs_iter_t *it);
/*
* 0: Game (singleton) for object pool
* 1: Path