Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Sep 15, 2010, 7:29:16 PM (14 years ago)
Author:
dafrick
Message:

Reviewing documentation fo Questsystem, moving documentation fully into doxygen.
Added some files to modules they belong to.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/modules/questsystem/QuestManager.h

    r7163 r7456  
    2828
    2929/**
    30     @file
     30    @file QuestManager.h
    3131    @brief Definition of the QuestManager class.
     32    @ingroup Questsystem
    3233*/
    3334
     
    4445#include "core/OrxonoxClass.h"
    4546
    46 // tolua_begin
    47 namespace orxonox
    48 {
     47namespace orxonox  // tolua_export
     48{  // tolua_export
    4949    /**
    5050    @brief
    51         Is a Singleton and manages Quests, by registering every Quest/QuestHint (through registerX()) and making them globally accessible (through findX()).
    52         Quests (and QuestHints) are registered in the QuestManager with their id, and can be accessed in the same way.
     51        Is a Singleton and manages @ref orxonox::Quest "Quests", by registering every @ref orxonox::Quest "Quest" / @ref orxonox::QuestHint "QuestHint" (through registerX()) and making them globally accessible (through findX()).
     52        @ref orxonox::Quest "Quests" (and @ref orxonox::QuestHint 2) are registered in the QuestManager with their id, and can be accessed in the same way.
    5353    @author
    5454        Damian 'Mozork' Frick
    5555    */
    56     class _QuestsystemExport QuestManager
    57 // tolua_end
     56    class _QuestsystemExport QuestManager  // tolua_export
    5857        : public Singleton<QuestManager>, public orxonox::OrxonoxClass
    5958    { // tolua_export
     
    6564            virtual ~QuestManager();
    6665
    67             //! Returns a reference to the single instance of the Quest Manager.
     66            //! Returns a reference to the single instance of the QuestManager.
    6867            static QuestManager& getInstance() { return Singleton<QuestManager>::getInstance(); } // tolua_export
    6968
    7069            // tolua_begin
    71             int getNumParentQuests(orxonox::PlayerInfo* player);
    72             Quest* getParentQuest(orxonox::PlayerInfo* player, int index);
     70            int getNumRootQuests(orxonox::PlayerInfo* player); //!< Get the number of Quests the input player has, that are root quests.
     71            Quest* getRootQuest(orxonox::PlayerInfo* player, int index); //!< Get the index-th root quest of the input player.
    7372
    74             int getNumSubQuests(Quest* quest, orxonox::PlayerInfo* player);
    75             Quest* getSubQuest(Quest* quest, orxonox::PlayerInfo* player, int index);
     73            int getNumSubQuests(Quest* quest, orxonox::PlayerInfo* player); //!< Get the number of sub-quest of an input Quest for an input player.
     74            Quest* getSubQuest(Quest* quest, orxonox::PlayerInfo* player, int index); //!< Get the index-th sub-quest of the input Quest for the input player.
    7675
    77             int getNumHints(Quest* quest, orxonox::PlayerInfo* player);
    78             QuestHint* getHints(Quest* quest, orxonox::PlayerInfo* player, int index);
     76            int getNumHints(Quest* quest, orxonox::PlayerInfo* player); //!< Get the number of QuestHints of the input Quest for the input player.
     77            QuestHint* getHints(Quest* quest, orxonox::PlayerInfo* player, int index); //!< Get the index-th QuestHint of the input Quest for the input player.
    7978
    8079            QuestDescription* getDescription(Quest* item);
Note: See TracChangeset for help on using the changeset viewer.