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 | ObjectListDeclaration(MultiPlayerWorld); |
---|
23 | public: |
---|
24 | MultiPlayerWorld (const TiXmlElement* root = NULL); |
---|
25 | virtual ~MultiPlayerWorld (); |
---|
26 | |
---|
27 | virtual void loadParams(const TiXmlElement* root); |
---|
28 | |
---|
29 | virtual ErrorMessage unloadData(); |
---|
30 | |
---|
31 | void debug(); |
---|
32 | |
---|
33 | protected: |
---|
34 | virtual void synchronize(); |
---|
35 | virtual void collisionDetection(); |
---|
36 | }; |
---|
37 | |
---|
38 | #endif /* _MULTI_PLAYER_WORLD_H */ |
---|
Note: See
TracBrowser
for help on using the repository browser.