Changeset 2092 for code/trunk/src/orxonox/objects/quest/QuestItem.cc
- Timestamp:
- Nov 1, 2008, 8:32:10 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/orxonox/objects/quest/QuestItem.cc
r2091 r2092 32 32 33 33 namespace orxonox { 34 35 QuestItem::QuestItem( ) : BaseObject()34 35 QuestItem::QuestItem(BaseObject* creator) : BaseObject(creator) 36 36 { 37 RegisterObject(QuestItem); 38 37 39 this->initialize(); 38 40 } 39 41 40 42 /** 41 43 @brief … … 44 46 QuestItem::~QuestItem() 45 47 { 46 48 47 49 } 48 50 49 51 void QuestItem::XMLPort(Element& xmlelement, XMLPort::Mode mode) 50 52 { 51 53 SUPER(QuestItem, XMLPort, xmlelement, mode); 52 54 53 55 XMLPortParam(QuestItem, "id", setId, getId, xmlelement, mode); 54 56 //Doesn't getDescription have to be of type getDescription(unsigned int) ? … … 58 60 } 59 61 60 62 61 63 /** 62 64 @brief … … 67 69 { 68 70 RegisterObject(QuestItem); 69 71 70 72 this->id_ = ""; 71 73 } 72 74 73 75 void QuestItem::setId(const std::string & id) 74 76 { … … 80 82 this->id_ = id; 81 83 } 82 84 83 85 //const QuestDescription* QuestItem::getDescription(unsigned int index) const //!< Returns the description of the QuestItem. 84 86 //{ … … 87 89 // return this->description_; 88 90 //} 89 91 90 92 /** 91 93 @brief
Note: See TracChangeset
for help on using the changeset viewer.