diff options
author | Stijn Buys <ingar@osirion.org> | 2008-02-18 17:52:15 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2008-02-18 17:52:15 +0000 |
commit | 0b8582a9aa825024edbd0a21c6287bfcccec28de (patch) | |
tree | 2d9a46c60b028300b1b9133b84764b6c39964c33 /src/game/game.h | |
parent | 982562fa19bb87a3dab352e562f386f61c171b7b (diff) |
core redesign, part II
Diffstat (limited to 'src/game/game.h')
-rw-r--r-- | src/game/game.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/game/game.h b/src/game/game.h index f5f0bc0..811de84 100644 --- a/src/game/game.h +++ b/src/game/game.h @@ -30,18 +30,18 @@ const unsigned int cube_enttype = 258; const unsigned int sphere_enttype = 259; const unsigned int axis_enttype = 260; -class Game : public core::GameInterface { +class Game : public core::Module { public: Game(); ~Game(); /// initialize the game - bool init(); + void init(); /// shutdown the game void shutdown(); - /// execute one game grame + /// run one time frame void frame(float seconds); /// is called when a player connects @@ -49,7 +49,6 @@ public: /// is called when a player disconnects void player_disconnect(core::Player *player); - }; } |