- 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.cc
r2021 r2068 37 37 QuestDescription::QuestDescription() : BaseObject() 38 38 { 39 39 this->initialize(); 40 40 } 41 41 42 /** 43 @brief 44 Constructor. Creates a new QuestDescription object and adds a title and description. 45 @param title 46 @param description 47 */ 42 48 QuestDescription::QuestDescription(std::string title, std::string description) : BaseObject() 43 49 { 44 initialize();50 this->initialize(); 45 51 this->title_ = title; 46 52 this->description_ = description; … … 50 56 { 51 57 58 } 59 60 void QuestDescription::XMLPort(Element& xmlelement, XMLPort::Mode mode) 61 { 62 SUPER(QuestDescription, XMLPort, xmlelement, mode); 63 64 XMLPortParam(QuestDescription, "title", setTitle, getTitle, xmlelement, mode); 65 XMLPortParam(QuestDescription, "description", setDescription, getDescription, xmlelement, mode); 66 67 COUT(1) << "QuestDescription created!" << std::endl; 52 68 } 53 69
Note: See TracChangeset
for help on using the changeset viewer.