Last change
on this file since 9704 was
6512,
checked in by bensch, 19 years ago
|
orxonox/trunk: loadParams is now virtual.
ALL THE CLASSES HAVE TO CALL
SuperClass::loadParams(root);
isntead of:
static_cast<SuperClass*>(this)→loadParams(root);
which was quite stupid anyways
|
File size:
645 bytes
|
Line | |
---|
1 | /*! |
---|
2 | * @file single_player_world.h |
---|
3 | * Holds and manages all single player game data |
---|
4 | */ |
---|
5 | |
---|
6 | #ifndef _SINGLE_PLAYER_WORLD_H |
---|
7 | #define _SINGLE_PLAYER_WORLD_H |
---|
8 | |
---|
9 | |
---|
10 | #include "game_world.h" |
---|
11 | |
---|
12 | |
---|
13 | class TiXmlElement; |
---|
14 | class SinglePlayerWorldData; |
---|
15 | |
---|
16 | |
---|
17 | //! The game world |
---|
18 | /** |
---|
19 | * this class initializes everything that should be displayed inside of the current level. |
---|
20 | * it is the main driving factor during gameplay. |
---|
21 | */ |
---|
22 | class SinglePlayerWorld : public GameWorld |
---|
23 | { |
---|
24 | |
---|
25 | public: |
---|
26 | SinglePlayerWorld (const TiXmlElement* root = NULL); |
---|
27 | virtual ~SinglePlayerWorld (); |
---|
28 | |
---|
29 | virtual void loadParams(const TiXmlElement* root); |
---|
30 | }; |
---|
31 | |
---|
32 | #endif /* _SINGLE_PLAYER_WORLD_H */ |
---|
Note: See
TracBrowser
for help on using the repository browser.