Add Game as singleton
This commit is contained in:
@@ -31,6 +31,6 @@ typedef struct Game {
|
||||
f32 elapsed;
|
||||
} Game;
|
||||
|
||||
extern Game *GAME;
|
||||
extern ECS_COMPONENT_DECLARE(Game);
|
||||
|
||||
#endif //PIXELDEFENSE_GAME_STATE_H
|
||||
|
||||
Reference in New Issue
Block a user