- Timestamp:
- Oct 30, 2008, 9:52:12 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/questsystem/src/orxonox/objects/QuestDescription.h
r2021 r2068 33 33 34 34 #include "core/BaseObject.h" 35 #include "core/XMLPort.h" 35 36 36 37 namespace orxonox { … … 50 51 ~QuestDescription(); 51 52 53 virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode); 54 52 55 inline const std::string & getTitle(void) const //!< Returns the title. 53 56 { return this->title_; } … … 57 60 private: 58 61 void initialize(void); 62 63 inline void setTitle(const std::string & title) //!< Sets the title. 64 { this->title_ = title; } 65 inline void setDescription(const std::string & description) //!< Sets the description text. 66 { this->description_ = description; } 59 67 60 std::string title_; 61 std::string description_; 68 std::string title_; //!< The title. 69 std::string description_; //!< The description. 62 70 63 71 };
Note: See TracChangeset
for help on using the changeset viewer.