Add units UI
This commit is contained in:
@@ -45,7 +45,8 @@ ecs_entity_t entityCreateWorker(const Position position, Game *game) {
|
||||
ecs_set(ECS, e, Unit, {
|
||||
.acceleration = 80.0f,
|
||||
.maxSpeed = 15.0f,
|
||||
.deceleration = 0.1f
|
||||
.deceleration = 0.1f,
|
||||
.unitType = ENTITY_WORKER
|
||||
});
|
||||
ecs_set(ECS, e, Worker, {
|
||||
.collectSpeed = 0.8f,
|
||||
|
||||
Reference in New Issue
Block a user