35 #ifndef _LevelManager_H__    36 #define _LevelManager_H__    76             void setConfigValues(); 
    78             void requestActivity(
Level* level); 
    79             void releaseActivity(
Level* level); 
    80             Level* getActiveLevel(); 
    89                 { 
return defaultLevelName_; }
    90             unsigned int getNumberOfLevels(
void);
    93             void setLastFinishedCampaignMission(
const std::string& lastFinishedCampaignMission);
    95                 { 
return this->lastFinishedCampaignMission_; }
    98                 { 
return this->campaignMissions_.size(); }
   100                 { 
return this->campaignMissions_[index]; }
   115             void activateNextLevel(); 
   117             void compileAvailableLevelList(
void); 
   118             void updateAvailableLevelList(
void); 
   125             std::set<LevelInfoItem*, LevelInfoCompare>::iterator 
nextLevel_; 
 std::string lastFinishedCampaignMission_
Definition: LevelManager.h:129
 
const std::string & getLastFinishedCampaignMission() const 
Definition: LevelManager.h:94
 
std::set< LevelInfoItem *, LevelInfoCompare > availableLevels_
The set of available Levels sorted alphabetically according to the name of the Level. 
Definition: LevelManager.h:121
 
::std::string string
Definition: gtest-port.h:756
 
Definition of the LevelInfo and LevelInfoItem class. 
 
unsigned int nextIndex_
Definition: LevelManager.h:124
 
static LevelManager & getInstance()
Get the instance of the LevelManager. 
Definition: LevelManager.h:106
 
This is the base class of all objects which may contain config values. 
Definition: Configurable.h:47
 
unsigned int getNumberOfCampaignMissions()
Definition: LevelManager.h:97
 
Base for singleton classes. 
Definition: Singleton.h:114
 
Die Wagnis Klasse hat die folgenden Aufgaben: 
Definition: ApplicationPaths.cc:66
 
static LevelManager * singletonPtr_s
Definition: LevelManager.h:132
 
const std::string & getDefaultLevel() const 
Get the default level. 
Definition: LevelManager.h:88
 
Shared library macros, enums, constants and forward declarations for the orxonox library  ...
 
Declaration of Configurable, the base class of all objects which may contain config values...
 
std::string defaultLevelName_
The next expected Level to be accessed. 
Definition: LevelManager.h:128
 
std::set< LevelInfoItem *, LevelInfoCompare >::iterator nextLevel_
The next expected index to be accessed. 
Definition: LevelManager.h:125
 
#define _OrxonoxExport
Definition: OrxonoxPrereqs.h:60
 
Definition of the Singleton template that is used as base class for classes that allow only one insta...
 
const std::string & getCampaignMission(unsigned int index)
Definition: LevelManager.h:99
 
The LevelInfoItem class stores information regarding a Level and makes that information accessible th...
Definition: LevelInfo.h:62
 
static T & getInstance()
Returns a reference to the singleton instance. 
Definition: Singleton.h:118
 
The LevelManager keeps track of Levels whose activity has been requested and activates the Levels in ...
Definition: LevelManager.h:67
 
std::list< Level * > levels_
A list of all the Levels whose activity has been requested, in the order in which they will become ac...
Definition: LevelManager.h:120
 
std::vector< std::string > campaignMissions_
Definition: LevelManager.h:130