Add entity map

This commit is contained in:
2023-11-15 18:32:43 +01:00
parent 79adcad8de
commit 4c37622240
14 changed files with 253 additions and 18 deletions

View File

@@ -26,10 +26,11 @@ typedef struct Owner {
} Owner;
extern ECS_COMPONENT_DECLARE(Owner);
typedef Vector2 Position, Size, TargetPosition;
typedef Vector2 Position, Size, TargetPosition, MoveForce;
extern ECS_COMPONENT_DECLARE(Position);
extern ECS_COMPONENT_DECLARE(Size);
extern ECS_COMPONENT_DECLARE(TargetPosition);
extern ECS_COMPONENT_DECLARE(MoveForce);
typedef f32 Rotation;
extern ECS_COMPONENT_DECLARE(Rotation);