Last change
on this file was
7370,
checked in by bensch, 19 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
|
Line | |
---|
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 | |
---|
9 | |
---|
10 | #include "game_world_data.h" |
---|
11 | |
---|
12 | |
---|
13 | class TiXmlElement; |
---|
14 | |
---|
15 | |
---|
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: |
---|
28 | virtual ErrorMessage loadGUI(const TiXmlElement* root); |
---|
29 | virtual ErrorMessage loadWorldEntities(const TiXmlElement* root); |
---|
30 | virtual ErrorMessage loadScene(const TiXmlElement* root); |
---|
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.