Implement harvest worker AI

This commit is contained in:
2023-12-17 14:20:13 +01:00
parent 5564df4768
commit 33b28b620d
14 changed files with 338 additions and 40 deletions

View File

@@ -5,7 +5,6 @@
#include <flecs.h>
#include "game_tileset.h"
#include "unit_actions.h"
extern ECS_TAG_DECLARE(TextureTerrain);
extern ECS_TAG_DECLARE(TextureBuildings);
@@ -126,10 +125,7 @@ typedef struct EntityArms {
*********************************************************/
extern ECS_COMPONENT_DECLARE(UnitAction);
typedef struct ActionOverseer {
} ActionOverseer;
extern ECS_COMPONENT_DECLARE(UnitAI);
extern ECS_TAG_DECLARE(Selectable);
extern ECS_TAG_DECLARE(Selected);