Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 6440


Ignore:
Timestamp:
Jan 3, 2010, 3:55:39 PM (15 years ago)
Author:
rgrieder
Message:

Fixed typos.

Location:
code/branches/gamestate/src/modules/questsystem
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/branches/gamestate/src/modules/questsystem/QuestManager.cc

    r6417 r6440  
    235235    CEGUI::Window* QuestManager::getQuestGUI(const std::string & guiName)
    236236    {
    237         PlayerInfo* player = this->retreivePlayer(guiName);
     237        PlayerInfo* player = this->retrievePlayer(guiName);
    238238
    239239        if(this->questGUIs_.find(player) == this->questGUIs_.end()) //!< Create a new GUI, if there is none, yet.
     
    253253        This very well might be outdated. So: Check if still needed, and update if necessary.
    254254    */
    255     PlayerInfo* QuestManager::retreivePlayer(const std::string & guiName)
     255    PlayerInfo* QuestManager::retrievePlayer(const std::string & guiName)
    256256    {
    257257        PlayerInfo* player = GUIManager::getInstance().getPlayer(guiName);
  • code/branches/gamestate/src/modules/questsystem/QuestManager.h

    r6417 r6440  
    5252    /**
    5353    @brief
    54         Is a Singleton and manages Quests, by registering every Quest/QuestHint (through registerX()) and making them globally accessable (through findX()).
     54        Is a Singleton and manages Quests, by registering every Quest/QuestHint (through registerX()) and making them globally accessible (through findX()).
    5555        Quests (and QuestHints) are registered in the QuestManager with their id, and can be accessed in the same way.
    5656    @author
     
    7272            static QuestManager& getInstance() { return Singleton<QuestManager>::getInstance(); } // tolua_export
    7373
    74             //! Retreive the main window for the GUI.
     74            //! Retrieve the main window for the GUI.
    7575            CEGUI::Window* getQuestGUI(const std::string & guiName); // tolua_export
    7676
     
    8282
    8383        protected:
    84             std::map<std::string, Quest*> & getQuests(void); //!< Retreive all Quests.
     84            std::map<std::string, Quest*> & getQuests(void); //!< Retrieve all Quests.
    8585
    8686        private:
    8787            static QuestManager* singletonPtr_s;
    88             PlayerInfo* retreivePlayer(const std::string & guiName); //!< Retrieve the player for a certain GUI.
     88            PlayerInfo* retrievePlayer(const std::string & guiName); //!< Retrieve the player for a certain GUI.
    8989
    9090            std::map<std::string, Quest*> questMap_; //!< All Quests registered by their id's.
Note: See TracChangeset for help on using the changeset viewer.