Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 12, 2008, 1:29:33 PM (15 years ago)
Author:
dafrick
Message:

Just changed some small stuff…

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/questsystem2/src/orxonox/objects/quest/QuestItem.h

    r2159 r2191  
    5151    /**
    5252    @brief
    53         Functions as a base class for Quest classes such as Quest or QuestHint.
     53        Functions as a base class for quest classes such as Quest or QuestHint.
    5454        Has a unique identifier and a description.
    5555    @author
     
    6565            virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode); //!< Method for creating a QuestItem object through XML.
    6666
    67             inline const std::string & getId(void) const //!< Returns the id of this quest.
     67            /**
     68            @brief Returns the id of this QuestItem.
     69            @return Returns the id of the QuestItem.
     70            */
     71            inline const std::string & getId(void) const
    6872                { return this->id_; }
    69             inline const QuestDescription* getDescription(void) const //!< Returns the description of the QuestItem.
     73            /**
     74            @brief Returns the QuestDescription of the QuestItem.
     75            @return Returns a pointer to the QuestDescription object of the QuestItem.
     76            */
     77            inline const QuestDescription* getDescription(void) const
    7078                { return this->description_; }
    7179
     
    7482        protected:
    7583            void setId(const std::string & id); //!< Sets the id of the QuestItem.
    76             inline void setDescription(QuestDescription* description) //!< Sets the description of the QuestItem.
     84           
     85            /**
     86            @brief Sets the description of the QuestItem.
     87            @param description The QuestDescription to be set.
     88            */
     89            inline void setDescription(QuestDescription* description)
    7790                { this->description_ = description; }
    7891
    7992        private:
    8093            std::string id_; //!< Identifier. Should be of GUID form: http://en.wikipedia.org/wiki/Globally_Unique_Identifier#Basic_structure
    81             QuestDescription* description_; //!< The description of the QuestItem.
     94            QuestDescription* description_; //!< The QuestDescription of the QuestItem.
    8295
    8396    };
Note: See TracChangeset for help on using the changeset viewer.