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

    r2159 r2191  
    4747    /**
    4848    @brief
    49         Is a static class and manages quests, by registering every quest/hint (through registerX()) and making them globally accessable (through findX()).
    50         Quests (and Hints) are registered in the QuestManager with their id, and can be accessed in the same way.
     49        Is a static class and manages Quests, by registering every Quest/QuestHint (through registerX()) and making them globally accessable (through findX()).
     50        Quests (and QuestHints) are registered in the QuestManager with their id, and can be accessed in the same way.
    5151    @author
    5252        Damian 'Mozork' Frick
     
    5959            virtual ~QuestManager();
    6060
    61             static bool registerQuest(Quest* quest); //!< Registers a quest in the QuestManager.
     61            static bool registerQuest(Quest* quest); //!< Registers a Quest in the QuestManager.
    6262            static bool registerHint(QuestHint* quest); //!< Registers a QuestHint in the QuestManager.
    6363
    64             static Quest* findQuest(const std::string & questId); //!< Returns the quest with the input id.
     64            static Quest* findQuest(const std::string & questId); //!< Returns the Quest with the input id.
    6565            static QuestHint* findHint(const std::string & hintId); //!< Returns the QuestHint with the input id.
    6666
    6767        private:
    68             static std::map<std::string, Quest*> questMap_s; //!< All quests registered by their id's.
    69             static std::map<std::string, QuestHint*> hintMap_s; //!< All hints registered by their id's.
     68            static std::map<std::string, Quest*> questMap_s; //!< All Quests registered by their id's.
     69            static std::map<std::string, QuestHint*> hintMap_s; //!< All QuestHints registered by their id's.
    7070
    7171    };
Note: See TracChangeset for help on using the changeset viewer.