Last change
on this file since 9945 was
7370,
checked in by bensch, 18 years ago
|
orxonox/trunk: drawLists/tickLists are used, and made some TiXmlElement to const TiXmlElement, also fixed some bugs in the loadWorldEntities-functions from Gameworld and SipleGameMenu
|
File size:
838 bytes
|
Rev | Line | |
---|
[6404] | 1 | /*! |
---|
| 2 | * @file multi_player_world_data.h |
---|
| 3 | * container for all multiplayer game world data |
---|
| 4 | */ |
---|
| 5 | |
---|
| 6 | #ifndef _MULTI_PLAYER_WORLD_DATA_H |
---|
| 7 | #define _MULTI_PLAYER_WORLD_DATA_H |
---|
| 8 | |
---|
[6408] | 9 | |
---|
[6404] | 10 | #include "game_world_data.h" |
---|
| 11 | |
---|
| 12 | |
---|
| 13 | class TiXmlElement; |
---|
| 14 | |
---|
| 15 | |
---|
| 16 | //! The multiplayer world data |
---|
| 17 | class MultiPlayerWorldData : public GameWorldData |
---|
| 18 | { |
---|
| 19 | |
---|
| 20 | public: |
---|
| 21 | MultiPlayerWorldData(); |
---|
| 22 | virtual ~MultiPlayerWorldData(); |
---|
| 23 | |
---|
| 24 | virtual ErrorMessage init(); |
---|
| 25 | |
---|
[6498] | 26 | void debug(); |
---|
[6404] | 27 | |
---|
[6498] | 28 | |
---|
[6404] | 29 | protected: |
---|
[7370] | 30 | virtual ErrorMessage loadGUI(const TiXmlElement* root); |
---|
| 31 | virtual ErrorMessage loadWorldEntities(const TiXmlElement* root); |
---|
| 32 | virtual ErrorMessage loadScene(const TiXmlElement* root); |
---|
[6404] | 33 | |
---|
| 34 | virtual ErrorMessage unloadGUI(); |
---|
| 35 | virtual ErrorMessage unloadWorldEntities(); |
---|
| 36 | virtual ErrorMessage unloadScene(); |
---|
[6498] | 37 | |
---|
| 38 | private: |
---|
| 39 | bool toggle; |
---|
[6404] | 40 | }; |
---|
| 41 | |
---|
| 42 | #endif /* _MULTI_PLAYER_WORLD_DATA_H */ |
---|
Note: See
TracBrowser
for help on using the repository browser.