Last change
on this file since 6781 was
6512,
checked in by bensch, 19 years ago
|
orxonox/trunk: loadParams is now virtual.
ALL THE CLASSES HAVE TO CALL
SuperClass::loadParams(root);
isntead of:
static_cast<SuperClass*>(this)→loadParams(root);
which was quite stupid anyways
|
File size:
690 bytes
|
Line | |
---|
1 | /*! |
---|
2 | * @file multi_player_world.h |
---|
3 | * Holds and manages all game data |
---|
4 | */ |
---|
5 | |
---|
6 | #ifndef _MULTI_PLAYER_WORLD_H |
---|
7 | #define _MULTI_PLAYER_WORLD_H |
---|
8 | |
---|
9 | #include "game_world.h" |
---|
10 | |
---|
11 | |
---|
12 | class TiXmlElement; |
---|
13 | class MultiPlayerWorldData; |
---|
14 | |
---|
15 | |
---|
16 | //! The multiplayer game world |
---|
17 | /** |
---|
18 | * this class initializes everything that should be displayed inside of the current level. |
---|
19 | * it is the main driving factor during gameplay. |
---|
20 | */ |
---|
21 | class MultiPlayerWorld : public GameWorld { |
---|
22 | |
---|
23 | public: |
---|
24 | MultiPlayerWorld (const TiXmlElement* root = NULL); |
---|
25 | virtual ~MultiPlayerWorld (); |
---|
26 | |
---|
27 | virtual void loadParams(const TiXmlElement* root); |
---|
28 | |
---|
29 | void debug(); |
---|
30 | |
---|
31 | protected: |
---|
32 | virtual void synchronize(); |
---|
33 | }; |
---|
34 | |
---|
35 | #endif /* _MULTI_PLAYER_WORLD_H */ |
---|
Note: See
TracBrowser
for help on using the repository browser.