Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jan 3, 2006, 11:04:50 PM (20 years ago)
Author:
patrick
Message:

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:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/network/src/story_entities/campaign.h

    r6387 r6402  
    99
    1010#include "story_entity.h"
    11 #include <list>
    1211
    1312
     
    4039};
    4140
    42 
    43 
    44 //! A class that contains the data of the Campaign object
    45 class CampaignData : public BaseObject
    46 {
    47 
    48   public:
    49     CampaignData(const TiXmlElement* root);
    50     virtual ~CampaignData();
    51 
    52     void loadParams(const TiXmlElement* root);
    53 
    54     void addStoryEntity(StoryEntity* se);
    55 
    56     StoryEntity* getFirstLevel();
    57     StoryEntity* getNextLevel();
    58 
    59 
    60   private:
    61     void loadParamsWorldList(const TiXmlElement* root);
    62 
    63 
    64   private:
    65     StoryEntity*                  currentEntity;                //!< reference to the currently used StoryEntity
    66     std::list<StoryEntity*>       storyEntities;                //!< list of story entities
    67 };
    68 
    6941#endif /* _CAMPAIGN_H */
Note: See TracChangeset for help on using the changeset viewer.