Changeset 11173 for code/branches/bindermFS16/src/orxonox/LevelManager.cc
- Timestamp:
- Apr 21, 2016, 4:05:15 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/bindermFS16/src/orxonox/LevelManager.cc
r11071 r11173 49 49 namespace orxonox 50 50 { 51 52 LevelStatus::LevelStatus() 53 { 54 this->won = true; 55 } 56 57 LevelStatus::~LevelStatus() 58 {} 59 60 bool LevelManager::missionactivate(int index) 61 { 62 //check for index level activate... 63 return index-5; 64 } 65 66 void LevelManager::setLevelStatus(int completedLevel) 67 { 68 // allLevelStatus_[completedLevel]=new LevelStatus; 69 } 70 71 51 72 SetCommandLineArgument(level, "").shortcut("l").information("Default level file (overrides LevelManager::defaultLevelName_ configValue)"); 52 73 … … 63 84 RegisterObject(LevelManager); 64 85 this->setConfigValues(); 86 87 65 88 66 89 // check override … … 73 96 this->nextIndex_ = 0; 74 97 this->nextLevel_ = this->availableLevels_.begin(); 75 } 98 99 allLevelStatus_.reserve(1); 100 } 101 76 102 77 103 LevelManager::~LevelManager() … … 103 129 ModifyConfigValue(lastFinishedCampaignMission_, set, lastFinishedCampaignMission); 104 130 } 131 132 105 133 106 134 /**
Note: See TracChangeset
for help on using the changeset viewer.