source:
orxonox.OLD/trunk/src/story_entities/multi_player_world.h
Last change on this file was 9869, checked in by bensch, 18 years ago | |
---|---|
File size: 809 bytes |
Rev | Line | |
---|---|---|
[6139] | 1 | /*! |
[6356] | 2 | * @file multi_player_world.h |
[6139] | 3 | * Holds and manages all game data |
4 | */ | |
5 | ||
[6356] | 6 | #ifndef _MULTI_PLAYER_WORLD_H |
7 | #define _MULTI_PLAYER_WORLD_H | |
[6139] | 8 | |
[6356] | 9 | #include "game_world.h" |
[6139] | 10 | |
[6142] | 11 | |
[6139] | 12 | class TiXmlElement; |
[6404] | 13 | class MultiPlayerWorldData; |
[6139] | 14 | |
[6361] | 15 | |
[6356] | 16 | //! The multiplayer game world |
[6139] | 17 | /** |
[6361] | 18 | * this class initializes everything that should be displayed inside of the current level. |
19 | * it is the main driving factor during gameplay. | |
20 | */ | |
[6356] | 21 | class MultiPlayerWorld : public GameWorld { |
[9869] | 22 | ObjectListDeclaration(MultiPlayerWorld); |
[6139] | 23 | public: |
[6356] | 24 | MultiPlayerWorld (const TiXmlElement* root = NULL); |
25 | virtual ~MultiPlayerWorld (); | |
[6139] | 26 | |
[6512] | 27 | virtual void loadParams(const TiXmlElement* root); |
[9869] | 28 | |
[8228] | 29 | virtual ErrorMessage unloadData(); |
[6409] | 30 | |
[6498] | 31 | void debug(); |
32 | ||
[6409] | 33 | protected: |
34 | virtual void synchronize(); | |
[8068] | 35 | virtual void collisionDetection(); |
[6139] | 36 | }; |
37 | ||
[6356] | 38 | #endif /* _MULTI_PLAYER_WORLD_H */ |
Note: See TracBrowser
for help on using the repository browser.