diff options
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); - }; } |