Add rest of assets, add blue player

This commit is contained in:
2024-01-23 11:26:23 +01:00
parent ac7525c42a
commit c9a2bd2672
45 changed files with 6647 additions and 39 deletions

View File

@@ -33,8 +33,14 @@ typedef struct Resource {
} Resource;
extern ECS_COMPONENT_DECLARE(Resource);
typedef enum Player {
PLAYER_RED = 0,
PLAYER_BLUE = 1,
PLAYER_COUNT
} Player;
typedef struct Owner {
int32_t playerID;
Player player;
} Owner;
extern ECS_COMPONENT_DECLARE(Owner);