diff options
Diffstat (limited to 'src/libjin/Core/Game.h')
-rw-r--r-- | src/libjin/Core/Game.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/libjin/Core/Game.h b/src/libjin/Core/Game.h index e9d0340..31825ba 100644 --- a/src/libjin/Core/Game.h +++ b/src/libjin/Core/Game.h @@ -17,7 +17,7 @@ namespace core public: typedef void(*onEvent)(jin::input::Event* e); - typedef void(*onUpdate)(float dt); + typedef void(*onUpdate)(); typedef void(*onDraw)(); struct Setting : SettingBase @@ -29,7 +29,7 @@ namespace core void run(); inline void stop() { _running = false; }; - bool running() { return _running; }; + inline bool running() { return _running; }; private: @@ -44,8 +44,8 @@ namespace core bool _running; - onlyonce bool initSystem(const SettingBase* setting); - onlyonce void quitSystem(); + bool initSystem(const SettingBase* setting); + void quitSystem(); }; |