Changeset 11173 for code/branches/bindermFS16/src/orxonox/LevelManager.h
- Timestamp:
- Apr 21, 2016, 4:05:15 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/bindermFS16/src/orxonox/LevelManager.h
r11071 r11173 48 48 #include "core/config/Configurable.h" 49 49 50 51 namespace orxonox 52 { 53 54 class LevelStatus 55 { 56 public: 57 LevelStatus(); 58 virtual ~LevelStatus(); 59 60 61 private: 62 bool won; 63 std::vector<int> nextLevels; 64 65 }; 66 } 67 50 68 // tolua_begin 51 69 namespace orxonox … … 63 81 Damian 'Mozork' Frick 64 82 65 @ingroup Orxonox 83 84 @ingroup Orxonox1 66 85 */ 86 87 88 89 67 90 class _OrxonoxExport LevelManager 68 91 // tolua_end … … 74 97 virtual ~LevelManager(); 75 98 99 void setLevelStatus(int integer); 100 101 76 102 void setConfigValues(); //!< Set the config values for this object. 77 103 78 104 void requestActivity(Level* level); //!< Request activity for the input Level. 79 105 void releaseActivity(Level* level); //!< Release activity for the input Level. 106 80 107 Level* getActiveLevel(); //!< Get the currently active Level. 81 108 82 109 // tolua_begin 110 bool missionactivate(int index); 83 111 void setDefaultLevel(const std::string& levelName); //!< Set the default Level. 84 112 /** … … 97 125 inline unsigned int getNumberOfCampaignMissions() 98 126 { return this->campaignMissions_.size(); } 127 99 128 inline const std::string& getCampaignMission(unsigned int index) 100 129 { return this->campaignMissions_[index]; } 130 101 131 102 132 /** … … 129 159 std::string lastFinishedCampaignMission_; 130 160 std::vector<std::string> campaignMissions_; 161 std::vector<LevelStatus> allLevelStatus_; 162 163 131 164 132 165 static LevelManager* singletonPtr_s;
Note: See TracChangeset
for help on using the changeset viewer.