Enemy swarm movement
This commit is contained in:
@@ -60,6 +60,8 @@ typedef struct PlayerResources {
|
||||
i64 popCapacity;
|
||||
} PlayerResources;
|
||||
|
||||
#define MAX_SWARM_WAYPOINTS 16
|
||||
|
||||
typedef struct Game {
|
||||
GameScreen screen;
|
||||
GameScreen nextScreen;
|
||||
@@ -80,6 +82,10 @@ typedef struct Game {
|
||||
WaveInfo waveInfo;
|
||||
ecs_entity_t keepEntity;
|
||||
|
||||
Vector2 swarmWaypoints[MAX_SWARM_WAYPOINTS];
|
||||
i32 swamNumWaypoints;
|
||||
Vector2 swarmSpawn;
|
||||
|
||||
BzStackAlloc stackAlloc;
|
||||
struct {
|
||||
BzBTNode *workerHarvest;
|
||||
|
||||
Reference in New Issue
Block a user