| 
                Last change
                  on this file was
                  7370,
                  checked in by bensch, 20 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
           | 
      
      
        
  | Line |   | 
|---|
| 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 |  | 
|---|
| 9 |  | 
|---|
| 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 |  | 
|---|
| 26 |     void debug(); | 
|---|
| 27 |  | 
|---|
| 28 |  | 
|---|
| 29 |   protected: | 
|---|
| 30 |     virtual ErrorMessage loadGUI(const TiXmlElement* root); | 
|---|
| 31 |     virtual ErrorMessage loadWorldEntities(const TiXmlElement* root); | 
|---|
| 32 |     virtual ErrorMessage loadScene(const TiXmlElement* root); | 
|---|
| 33 |  | 
|---|
| 34 |     virtual ErrorMessage unloadGUI(); | 
|---|
| 35 |     virtual ErrorMessage unloadWorldEntities(); | 
|---|
| 36 |     virtual ErrorMessage unloadScene(); | 
|---|
| 37 |  | 
|---|
| 38 |   private: | 
|---|
| 39 |     bool toggle; | 
|---|
| 40 | }; | 
|---|
| 41 |  | 
|---|
| 42 | #endif /* _MULTI_PLAYER_WORLD_DATA_H */ | 
|---|
       
      
      Note: See 
TracBrowser
        for help on using the repository browser.