| 
                Last change
                  on this file since 7139 was
                  6512,
                  checked in by bensch, 20 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:
            647 bytes
           | 
      
      
        
  | Line |   | 
|---|
| 1 | /*! | 
|---|
| 2 |  * @file dedicated_server_world.h | 
|---|
| 3 |  *  Holds and manages all dedicated server data | 
|---|
| 4 |  */ | 
|---|
| 5 |  | 
|---|
| 6 | #ifndef _DEDICATED_SERVER_WORLD_H | 
|---|
| 7 | #define _DEDICATED_SERVER_WORLD_H | 
|---|
| 8 |  | 
|---|
| 9 | #include "game_world.h" | 
|---|
| 10 |  | 
|---|
| 11 |  | 
|---|
| 12 | class TiXmlElement; | 
|---|
| 13 |  | 
|---|
| 14 |  | 
|---|
| 15 | //! The game world | 
|---|
| 16 | /** | 
|---|
| 17 |  *  this class initializes everything that should be displayed inside of the current level. | 
|---|
| 18 |  *  it is the main driving factor during gameplay. | 
|---|
| 19 |  */ | 
|---|
| 20 | class DedicatedServerWorld : public GameWorld | 
|---|
| 21 | { | 
|---|
| 22 |  | 
|---|
| 23 |   public: | 
|---|
| 24 |     DedicatedServerWorld (const TiXmlElement* root = NULL); | 
|---|
| 25 |     virtual ~DedicatedServerWorld (); | 
|---|
| 26 |  | 
|---|
| 27 |     virtual void loadParams(const TiXmlElement* root); | 
|---|
| 28 |  | 
|---|
| 29 |   private: | 
|---|
| 30 |  | 
|---|
| 31 | }; | 
|---|
| 32 |  | 
|---|
| 33 | #endif /* _DEDICATED_SERVER_WORLD_H */ | 
|---|
       
      
      Note: See 
TracBrowser
        for help on using the repository browser.