- Timestamp:
- Nov 8, 2008, 7:58:49 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/questsystem2/src/orxonox/objects/quest/QuestDescription.cc
r2105 r2159 27 27 */ 28 28 29 /** 30 @file QuestDescription.cc 31 @brief 32 Implementation of the QuestDescription class. 33 */ 34 29 35 #include "OrxonoxStableHeaders.h" 30 36 #include "QuestDescription.h" … … 36 42 CreateFactory(QuestDescription); 37 43 44 /** 45 @brief 46 Constructor. Registers and initializes the object. 47 */ 38 48 QuestDescription::QuestDescription(BaseObject* creator) : BaseObject(creator) 39 49 { 40 50 RegisterObject(QuestDescription); 41 42 this->initialize(); 51 52 this->title_ = ""; 53 this->description_ = ""; 43 54 } 44 55 56 /** 57 @brief 58 Destructor. 59 */ 45 60 QuestDescription::~QuestDescription() 46 61 { … … 48 63 } 49 64 65 /** 66 @brief 67 Method for creating a QuestDescription object through XML. 68 */ 50 69 void QuestDescription::XMLPort(Element& xmlelement, XMLPort::Mode mode) 51 70 { … … 58 77 } 59 78 60 /**61 @brief62 Initializes the object. Has to be called first in every constructor of this class.63 */64 void QuestDescription::initialize(void)65 {66 RegisterObject(QuestDescription);67 }68 69 79 70 80 }
Note: See TracChangeset
for help on using the changeset viewer.