Move systems into subdirectory, add tree shake animation
This commit is contained in:
@@ -160,6 +160,10 @@ ecs_entity_t createWorker(Position position, Size size, BzSpatialGrid *grid, BzT
|
||||
ecs_set(ECS, e, UnitAction, {NULL, NULL});
|
||||
ecs_add_id(ECS, e, Selectable);
|
||||
ecs_add_id(ECS, e, Unit);
|
||||
ecs_add_id(ECS, e, Worker);
|
||||
ecs_set(ECS, e, Worker, {
|
||||
.collectSpeed = 0.8f,
|
||||
.depositSpeed = 0.2f,
|
||||
.carryCapacity = 5,
|
||||
});
|
||||
return e;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user