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/AddQuestHint.h

    r2146 r2159  
    2727 */
    2828
     29/**
     30    @file AddQuestHint.h
     31    @brief
     32        Definition of the AddQuestHint class.
     33*/
     34
    2935#ifndef _AddQuestHint_H__
    3036#define _AddQuestHint_H__
     
    4046    /**
    4147    @brief
    42         Adds a QuestHint, resp. Activates the QuestHint.
     48        Adds a QuestHint, resp. activates the QuestHint of the given id for the player the effect is invoked on.
    4349    @author
    4450        Damian 'Mozork' Frick
     
    5056            virtual ~AddQuestHint();
    5157
    52             virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode);
     58            virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode); //!< Method for creating a AddQuestHint object through XML.
    5359
    5460            virtual bool invoke(ControllableEntity* player); //!< Invokes the effect.
    5561
    5662        private:
    57             std::string hintId_;
     63            std::string hintId_; //!< The id of the QuestHint.
    5864
    59             inline const std::string & getHintId(void) const
     65            inline const std::string & getHintId(void) const //!< Returns the if of the hint.
    6066                { return this->hintId_; }
    61             void setHintId(const std::string & id);
     67            void setHintId(const std::string & id); //!< Sets the id of the hint.
    6268
    6369    };
Note: See TracChangeset for help on using the changeset viewer.