Changeset 2093 for code/trunk/src/orxonox/objects/quest/QuestDescription.h
- Timestamp:
- Nov 1, 2008, 9:03:51 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/orxonox/objects/quest/QuestDescription.h
r2092 r2093 46 46 class QuestDescription : public BaseObject { 47 47 48 48 public: 49 49 QuestDescription(BaseObject* creator); 50 50 virtual ~QuestDescription(); 51 51 52 52 virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode); 53 53 54 54 inline const std::string & getTitle(void) const //!< Returns the title. 55 55 { return this->title_; } 56 56 inline const std::string & getDescription(void) const //!< Returns the description text. 57 57 { return this->description_; } 58 58 59 59 private: 60 60 void initialize(void); 61 61 62 62 inline void setTitle(const std::string & title) //!< Sets the title. 63 63 { this->title_ = title; } 64 64 inline void setDescription(const std::string & description) //!< Sets the description text. 65 65 { this->description_ = description; } 66 66
Note: See TracChangeset
for help on using the changeset viewer.