diff options
Diffstat (limited to 'src/core/gameinterface.h')
-rw-r--r-- | src/core/gameinterface.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/core/gameinterface.h b/src/core/gameinterface.h index 3bd887c..622aaf5 100644 --- a/src/core/gameinterface.h +++ b/src/core/gameinterface.h @@ -1,5 +1,5 @@ /* - core/game.h + core/gameinterface.h This file is part of the Osirion project and is distributed under the terms of the GNU General Public License version 2 */ @@ -21,10 +21,10 @@ public: virtual ~GameInterface(); /// initialize the game - virtual void init() = 0; + virtual void init(); /// shutdown the game - virtual void shutdown() = 0; + virtual void shutdown(); /// run one frame of the game /** @param sec time since the previous frame, in seconds @@ -34,9 +34,13 @@ public: /// a pointer to the current game instance static GameInterface * instance(); + /// state of the game + bool ready(); + private: /// game singleton static GameInterface *gameinterface_instance; + bool game_ready; }; } |