Add tower firing
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user