Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/branches/network/src/story_entities/single_player_world.h @ 6360

Last change on this file since 6360 was 6360, checked in by patrick, 18 years ago

network: repear work on the world chaos. cleaned up campaing.cc btw

File size: 759 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#include "game_world.h"
10
11
12class 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 */
20class SinglePlayerWorld : public GameWorld
21{
22
23  public:
24    SinglePlayerWorld (const TiXmlElement* root = NULL);
25    virtual ~SinglePlayerWorld ();
26
27    void loadParams(const TiXmlElement* root);
28
29    ErrorMessage preLoad();
30    ErrorMessage load ();
31    ErrorMessage postLoad();
32
33  private:
34    void constuctorInit(const char* name, int worldID);
35};
36
37#endif /* _SINGLE_PLAYER_WORLD_H */
Note: See TracBrowser for help on using the repository browser.