Proper build UI

This commit is contained in:
2024-01-23 16:54:39 +01:00
parent f3acb1a0a3
commit b6e54a7fcb
9 changed files with 110 additions and 30 deletions

View File

@@ -4,6 +4,7 @@
#include <breeze.h>
#include <flecs.h>
#include "constants.h"
#include "game_tileset.h"
// Needed, so we can clean up all game created entities
@@ -33,12 +34,6 @@ typedef struct Resource {
} Resource;
extern ECS_COMPONENT_DECLARE(Resource);
typedef enum Player {
PLAYER_RED = 0,
PLAYER_BLUE = 1,
PLAYER_COUNT
} Player;
typedef struct Owner {
Player player;
} Owner;