Changeset 7463 in orxonox.OLD for trunk/src/util/mission_goal.h
- Timestamp:
- May 1, 2006, 4:03:01 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/util/mission_goal.h
r7461 r7463 32 32 virtual void loadParams(const TiXmlElement* root); 33 33 34 /** sets the mission name @param missionName: the string containig the mission title */ 35 inline void setMissionName(const std::string& missionName) { this->missionName = missionName; } 36 /** @return the mission title */ 37 inline std::string getMissionName() { return this->missionName; } 38 34 39 /** sets the mission description @param descrtiption: the string containing the description */ 35 inline void setMissionDescription( std::stringdescription) { this->missionDescription = description; }40 inline void setMissionDescription(const std::string& description) { this->missionDescription = description; } 36 41 /** gets the mission description @returns the string containing the description */ 37 42 inline std::string getMissionDescription() { return this->missionDescription; } 43 44 /** sets the mission state @param missionState state of the mission*/ 45 inline void setMissionState(MissionState state) { this->missionState = state; } 46 /** @returns the current mission state */ 47 inline MissionState getMissionState() { return this->missionState; } 38 48 39 49 virtual MissionState checkMissionGoal() = 0; … … 41 51 42 52 protected: 53 std::string missionName; //!< the title of the mission 43 54 // perhaps there will be more than one description soon: a long and short version for different parsts in the gui 44 55 std::string missionDescription; //!< the text description of the mission
Note: See TracChangeset
for help on using the changeset viewer.