25 lines
498 B
C
25 lines
498 B
C
#ifndef PIXELDEFENSE_GAME_STATE_H
|
|
#define PIXELDEFENSE_GAME_STATE_H
|
|
|
|
#include <breeze.h>
|
|
#include <flecs.h>
|
|
|
|
typedef struct Game {
|
|
Camera2D camera;
|
|
BzTileset terrainTileset;
|
|
BzTileset buildingsTileset;
|
|
BzTileset entitiesTileset;
|
|
BzTileMap map;
|
|
int selectedBuilding;
|
|
ecs_entity_t *entityMap;
|
|
f32 frameDuration;
|
|
Vector2 targetPos;
|
|
ecs_entity_t entity;
|
|
Path path;
|
|
Position waypoints[128];
|
|
} Game;
|
|
|
|
extern Game *GAME;
|
|
|
|
#endif //PIXELDEFENSE_GAME_STATE_H
|