Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 8, 2008, 7:58:49 PM (15 years ago)
Author:
dafrick
Message:

Completed documentation of finished classes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/questsystem2/src/orxonox/objects/quest/QuestDescription.cc

    r2105 r2159  
    2727 */
    2828
     29/**
     30    @file QuestDescription.cc
     31    @brief
     32        Implementation of the QuestDescription class.
     33*/
     34
    2935#include "OrxonoxStableHeaders.h"
    3036#include "QuestDescription.h"
     
    3642    CreateFactory(QuestDescription);
    3743
     44    /**
     45    @brief
     46        Constructor. Registers and initializes the object.
     47    */
    3848    QuestDescription::QuestDescription(BaseObject* creator) : BaseObject(creator)
    3949    {
    4050        RegisterObject(QuestDescription);
    41 
    42         this->initialize();
     51       
     52        this->title_ = "";
     53        this->description_ = "";
    4354    }
    4455
     56    /**
     57    @brief
     58        Destructor.
     59    */
    4560    QuestDescription::~QuestDescription()
    4661    {
     
    4863    }
    4964
     65    /**
     66    @brief
     67        Method for creating a QuestDescription object through XML.
     68    */
    5069    void QuestDescription::XMLPort(Element& xmlelement, XMLPort::Mode mode)
    5170    {
     
    5877    }
    5978
    60     /**
    61     @brief
    62         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 
    6979
    7080}
Note: See TracChangeset for help on using the changeset viewer.