- Timestamp:
- Dec 7, 2008, 11:39:44 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/questsystem3/src/orxonox/objects/quest/QuestDescription.h
r2346 r2352 29 29 /** 30 30 @file QuestDescription.h 31 @brief 32 Definition of the QuestDescription class. 31 @brief Definition of the QuestDescription class. 33 32 */ 34 33 … … 64 63 virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode); //!< Method for creating a QuestDescription object through XML. 65 64 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 65 /** 66 @brief Returns the title. 67 @return Returns a string containing the title of the QuestDescription. 68 */ 69 inline const std::string & getTitle(void) const 70 { return this->title_; } 71 72 /** 73 @brief Returns the description text. 74 @return Returns a string containing the description text of the QuestDescription. 75 */ 76 inline const std::string & getDescription(void) const 77 { return this->description_; } 78 79 /** 80 @brief Returns the fail message. 81 @return Returns a string containing the fail message of the QuestDescription. 82 */ 83 inline const std::string & getFailMessage(void) const 84 { return this->failMessage_; } 85 86 /** 87 @brief Returns the complete message. 88 @return Returns a string containing the complete message of the QuestDescription. 89 */ 90 inline const std::string & getCompleteMessage(void) const 91 { return this->completeMessage_; } 92 93 /** 94 @brief Sends a Notification displaying that a QuestHint was added. 95 @return Returns true if successful. 96 */ 97 inline bool sendAddHintNotification(void) const 99 98 { return notificationHelper("hint", ""); } 100 101 102 103 104 105 99 100 /** 101 @brief Sends a Notification displaying that a Quest was added. 102 @return Returns true if successful. 103 */ 104 inline bool sendAddQuestNotification(void) const 106 105 { return notificationHelper("quest", "start"); } 107 108 109 110 111 112 106 107 /** 108 @brief Sends a Notification displaying that a Quest was failed. 109 @return Returns true if successful. 110 */ 111 inline bool sendFailQuestNotification(void) const 113 112 { return notificationHelper("quest", "fail"); } 114 115 116 117 118 119 113 114 /** 115 @brief Sends a Notification displaying that a Quest was completed. 116 @return Returns true if successful. 117 */ 118 inline bool sendCompleteQuestNotification(void) const 120 119 { return notificationHelper("quest", "complete"); } 121 120 … … 149 148 { this->failMessage_ = message; } 150 149 151 150 /** 152 151 @brief Sets the complete message. 153 152 @param message The complete message to be set.
Note: See TracChangeset
for help on using the changeset viewer.