Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 6, 2008, 12:02:05 AM (16 years ago)
Author:
dafrick
Message:

Started implementation of QuestEffectBeacon.
Done some documentation of QuestItem and subclasses.

File:
1 edited

Legend:

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

    r2096 r2146  
    2626 *
    2727 */
     28 
     29/**
     30    @file QuestItem.h
     31    @brief
     32        Definition of the QuestItem class.
     33       
     34        The QuestItem is the parent class of Quest and QuestHint.
     35*/
     36
    2837
    2938#ifndef _QuestItem_H__
     
    5463            virtual ~QuestItem();
    5564
    56             virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode);
     65            virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode); //!< Method for creating a QuestItem object through XML.
    5766
    5867            inline const std::string & getId(void) const //!< Returns the id of this quest.
     
    6069            inline const QuestDescription* getDescription(void) const //!< Returns the description of the QuestItem.
    6170                { return this->description_; }
    62             //const QuestDescription* getDescription(unsigned int index) const; //!< Returns the description of the QuestItem.
    6371
    6472            static bool isId(const std::string & id); //!< Checks whether a given id is valid.
    6573
    6674        protected:
    67             void setId(const std::string & id);
    68             inline void setDescription(QuestDescription* description)
     75            void setId(const std::string & id); //!< Sets the id of the QuestItem.
     76            inline void setDescription(QuestDescription* description) //!< Sets the description of the QuestItem.
    6977                { this->description_ = description; }
    7078
Note: See TracChangeset for help on using the changeset viewer.