Polish kinematic movement
This commit is contained in:
@@ -191,7 +191,12 @@ extern ECS_COMPONENT_DECLARE(Worker);
|
||||
|
||||
// Unit can:
|
||||
// - Attack
|
||||
extern ECS_TAG_DECLARE(Unit);
|
||||
typedef struct Unit {
|
||||
f32 maxSpeed;
|
||||
f32 acceleration;
|
||||
f32 deceleration;
|
||||
} Unit;
|
||||
extern ECS_COMPONENT_DECLARE(Unit);
|
||||
extern ECS_TAG_DECLARE(Storage);
|
||||
extern ECS_TAG_DECLARE(Harvestable);
|
||||
extern ECS_TAG_DECLARE(Buildable);
|
||||
|
||||
Reference in New Issue
Block a user