Changeset 11186 for code/branches/bindermFS16/src/orxonox/LevelManager.h
- Timestamp:
- May 12, 2016, 4:07:25 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/bindermFS16/src/orxonox/LevelManager.h
r11180 r11186 47 47 #include "util/Singleton.h" 48 48 #include "core/config/Configurable.h" 49 #include "LevelStatus.h" 49 50 50 51 namespace orxonox52 {53 54 class LevelStatus55 {56 public:57 LevelStatus();58 virtual ~LevelStatus();59 60 bool won;61 std::vector<int> nextLevels;62 63 };64 }65 51 66 52 // tolua_begin … … 95 81 virtual ~LevelManager(); 96 82 97 void setLevelStatus(const int integer);83 //void setLevelStatus(const int integer); 98 84 void buildallLevelStatus(); 85 void updateAllLevelStatus(); 86 void setLevelStatus(const std::string& LevelWon); 99 87 100 88 … … 107 95 108 96 // tolua_begin 97 void updatewon(int lastwon); 109 98 int missionactivate(int index); 110 99 void setDefaultLevel(const std::string& levelName); //!< Set the default Level. … … 118 107 LevelInfoItem* getAvailableLevelListItem(unsigned int index); //!< Get the LevelInfoItem at the given index in the list of available Levels. 119 108 120 void setLastFinishedCampaignMission(const std::string& lastFinishedCampaignMission);121 inline const std::string& getLast FinishedCampaignMission() const122 { return this->last FinishedCampaignMission_; }109 //void setLastFinishedCampaignMission(const std::string& lastFinishedCampaignMission); 110 inline const std::string& getLastWonMission() const 111 { return this->lastWonMission_; } 123 112 124 113 inline unsigned int getNumberOfCampaignMissions() … … 156 145 // config values 157 146 std::string defaultLevelName_; 158 std::string last FinishedCampaignMission_;147 std::string lastWonMission_; 159 148 std::vector<std::string> campaignMissions_; 160 149 std::vector<int> test_; 161 150 std::vector<LevelStatus> allLevelStatus_; 162 151
Note: See TracChangeset
for help on using the changeset viewer.