Add tower firing

This commit is contained in:
2024-02-10 11:25:02 +01:00
parent e654c47446
commit 1c6fab51c6
6 changed files with 119 additions and 12 deletions

View File

@@ -166,6 +166,15 @@ void updateBuildingRecruitment(ecs_iter_t *it);
*/
void updateTower(ecs_iter_t *it);
/*
* 0: Game (singleton for querying entities)
* 1: Owner
* 2 Projectile
* 3: Position
* 4: Velocity
*/
void updateProjectile(ecs_iter_t *it);
/*
* 1: Position
* 2: HitBox