aboutsummaryrefslogtreecommitdiff
path: root/src/core/game.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/game.h')
-rw-r--r--src/core/game.h38
1 files changed, 0 insertions, 38 deletions
diff --git a/src/core/game.h b/src/core/game.h
deleted file mode 100644
index d56b249..0000000
--- a/src/core/game.h
+++ /dev/null
@@ -1,38 +0,0 @@
-#ifndef __JIN_CORE_GAME_H
-#define __JIN_CORE_GAME_H
-
-namespace jin
-{
-namespace core
-{
- class Game
- {
- public:
-
- static inline Game* get()
- {
- return g_game ? g_game : (g_game = new Game());
- }
-
- inline void quit()
- {
- run = false;
- }
-
- inline bool running()
- {
- return run;
- }
-
- private:
-
- Game();
-
- static Game* g_game;
-
- bool run;
- };
-}
-}
-
-#endif \ No newline at end of file