Add rest of assets, add blue player
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user