From 35613f0860a2d8cb643ca8de006de08503e48e53 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Sat, 18 Oct 2008 17:58:45 +0000 Subject: example module --- src/game/intro/intro.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/game/intro/intro.h') diff --git a/src/game/intro/intro.h b/src/game/intro/intro.h index 748432c..da6fb80 100644 --- a/src/game/intro/intro.h +++ b/src/game/intro/intro.h @@ -23,12 +23,6 @@ public: /// delete an introduction game module ~Intro(); - /// run the introduction - void init(); - - /// shutdown the introduction - void shutdown(); - /// run one frame void frame(float seconds); @@ -38,6 +32,12 @@ public: /// is called when a player disconnects void player_disconnect(core::Player *player); +protected: + /// run the introduction + void init(); + + /// shutdown the introduction + void shutdown(); private: core::Zone *intro_zone; Convoy *intro_convoy; -- cgit v1.2.3