From 52693d68f7181d707e1a192d67a617145b358394 Mon Sep 17 00:00:00 2001 From: chai Date: Sat, 28 Jul 2018 22:10:27 +0800 Subject: *update --- src/libjin/Core/Game.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/libjin/Core/Game.h') 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(); }; -- cgit v1.1-26-g67d0