Add Game as singleton

This commit is contained in:
2023-11-15 08:18:56 +01:00
parent 274612b035
commit d37936ce7f
6 changed files with 55 additions and 27 deletions

View File

@@ -31,6 +31,6 @@ typedef struct Game {
f32 elapsed;
} Game;
extern Game *GAME;
extern ECS_COMPONENT_DECLARE(Game);
#endif //PIXELDEFENSE_GAME_STATE_H