Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/branches/network/src/story_entities/campaign.h @ 6402

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

network: more modularity for the GameWorld: data and process are now totaly separated from each other, as it should be. Now I will do some magic on the MultiPlayerWorld, see if it works :D

File size: 844 bytes
RevLine 
[6386]1/*!
2 * @file campaign.h
3 * definition of the campaign
4 */
[2636]5
[3224]6#ifndef _CAMPAIGN_H
7#define _CAMPAIGN_H
[2636]8
[6386]9
[2636]10#include "story_entity.h"
11
[6386]12
[4261]13class TiXmlElement;
[6386]14class CampaignData;
[2636]15
[6386]16
17//! A class that represents a game Campaign that contains other StoryEntities like GameWorlds, movies, etc.
[6372]18class Campaign : public StoryEntity
19{
[2636]20
[6372]21  public:
[6374]22    Campaign( TiXmlElement* root);
[6372]23    virtual ~Campaign ();
[2636]24
[6372]25    void loadParams(const TiXmlElement* root);
[4598]26
[6387]27    virtual bool start();
28    virtual bool stop();
29    virtual bool pause();
30    virtual bool resume();
31    virtual void run();
[2636]32
[6386]33    void switchToNextLevel();
[2636]34
[4597]35
[6372]36  private:
[6386]37    StoryEntity*                        currentEntity;          //!< reference to the current StoryEntity
38    CampaignData*                       campaignData;           //!< reference to the CampaignData
[2636]39};
40
[3224]41#endif /* _CAMPAIGN_H */
Note: See TracBrowser for help on using the repository browser.