Last change
on this file since 7984 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:
799 bytes
|
Rev | Line | |
---|
[6404] | 1 | /*! |
---|
| 2 | * @file single_player_world_data.h |
---|
| 3 | * container for all singleplayer game world data |
---|
| 4 | */ |
---|
| 5 | |
---|
| 6 | #ifndef _SINGLE_PLAYER_WORLD_DATA_H |
---|
| 7 | #define _SINGLE_PLAYER_WORLD_DATA_H |
---|
| 8 | |
---|
[6408] | 9 | |
---|
[6404] | 10 | #include "game_world_data.h" |
---|
| 11 | |
---|
[6408] | 12 | |
---|
[6404] | 13 | class TiXmlElement; |
---|
| 14 | |
---|
[6408] | 15 | |
---|
[6404] | 16 | //! The singleplayer world data |
---|
| 17 | class SinglePlayerWorldData : public GameWorldData |
---|
| 18 | { |
---|
| 19 | |
---|
| 20 | public: |
---|
| 21 | SinglePlayerWorldData(); |
---|
| 22 | virtual ~SinglePlayerWorldData(); |
---|
| 23 | |
---|
| 24 | virtual ErrorMessage init(); |
---|
| 25 | |
---|
| 26 | |
---|
| 27 | protected: |
---|
[7370] | 28 | virtual ErrorMessage loadGUI(const TiXmlElement* root); |
---|
| 29 | virtual ErrorMessage loadWorldEntities(const TiXmlElement* root); |
---|
| 30 | virtual ErrorMessage loadScene(const TiXmlElement* root); |
---|
[6404] | 31 | |
---|
| 32 | virtual ErrorMessage unloadGUI(); |
---|
| 33 | virtual ErrorMessage unloadWorldEntities(); |
---|
| 34 | virtual ErrorMessage unloadScene(); |
---|
| 35 | }; |
---|
| 36 | |
---|
| 37 | #endif /* _SINGLE_PLAYER_WORLD_DATA_H */ |
---|
Note: See
TracBrowser
for help on using the repository browser.