Limit how many workers can harvest the same resource

This commit is contained in:
2024-02-05 09:19:59 +01:00
parent ab0fef8ebf
commit d55ed29f97
11 changed files with 87 additions and 19 deletions

View File

@@ -18,6 +18,11 @@ bool entitySetPath(const ecs_entity_t entity, const Vector2 target, Game *game);
* AI systems
**********************************/
/*
* 1. Harvestable
*/
void resetHarvestCount(ecs_iter_t *it);
/*
* 0: Game (singleton)
* 1: BzBTState