diff options
author | Stijn Buys <ingar@osirion.org> | 2008-11-23 12:34:07 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2008-11-23 12:34:07 +0000 |
commit | 583ec3285c41e9d253c4aaabd2af4dadac75f3a7 (patch) | |
tree | 5ec345e44af9d3699a95f493d8358ee766e23330 /src/game/base/game.h | |
parent | 44158ccfbe943b832c0e0bf9ce547212aa6c2b8b (diff) |
clean module consturction/destruction
Diffstat (limited to 'src/game/base/game.h')
-rw-r--r-- | src/game/base/game.h | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/src/game/base/game.h b/src/game/base/game.h index d4f0743..6f4cffd 100644 --- a/src/game/base/game.h +++ b/src/game/base/game.h @@ -64,13 +64,6 @@ public: /// game variable: enable or disable development mode static core::Cvar *g_devel; -protected: - /// initialize the game - virtual void init(); - - /// shutdown the game - virtual void shutdown(); - private: bool load_world(); @@ -99,6 +92,9 @@ private: static void func_goto(core::Player *player, const std::string &args); }; +/// factory function +core::Module *factory(); + } #endif // __INCLUDED_BASE_H__ |