aboutsummaryrefslogtreecommitdiff
path: root/src/libjin/core/game.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libjin/core/game.h')
-rw-r--r--src/libjin/core/game.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/libjin/core/game.h b/src/libjin/core/game.h
index e155607..becb780 100644
--- a/src/libjin/core/game.h
+++ b/src/libjin/core/game.h
@@ -19,7 +19,7 @@ namespace core
};
- inline void quit() // quit game loop
+ inline void quit()
{
CALLONCE(_quit());
}
@@ -29,11 +29,13 @@ namespace core
return run;
}
- inline void exit() // exit game
+ inline void exit()
{
CALLONCE(_exit());
}
+ void run();
+
private:
Game();
@@ -41,7 +43,7 @@ namespace core
SINGLETON(Game);
- bool run;
+ bool _run;
inline void _exit()
{
@@ -50,7 +52,7 @@ namespace core
inline void _quit()
{
- run = false;
+ _run = false;
}
};
}