aboutsummaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
Diffstat (limited to 'src/core')
-rw-r--r--src/core/game.cpp14
-rw-r--r--src/core/game.h38
2 files changed, 0 insertions, 52 deletions
diff --git a/src/core/game.cpp b/src/core/game.cpp
deleted file mode 100644
index 1c47d87..0000000
--- a/src/core/game.cpp
+++ /dev/null
@@ -1,14 +0,0 @@
-#include "game.h"
-
-namespace jin
-{
-namespace core
-{
-
- Game* Game::g_game = 0;
-
- Game::Game() :run(true) {};
-
-}
-}
-
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