Changeset 6536 for code/trunk/src/modules/questsystem/QuestManager.h
- Timestamp:
- Mar 16, 2010, 11:22:36 AM (15 years ago)
- Location:
- code/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk
- Property svn:mergeinfo changed
/code/branches/gamestate (added) merged: 6430-6432,6437,6439-6440
- Property svn:mergeinfo changed
-
code/trunk/src/modules/questsystem/QuestManager.h
r6417 r6536 52 52 /** 53 53 @brief 54 Is a Singleton and manages Quests, by registering every Quest/QuestHint (through registerX()) and making them globally access able (through findX()).54 Is a Singleton and manages Quests, by registering every Quest/QuestHint (through registerX()) and making them globally accessible (through findX()). 55 55 Quests (and QuestHints) are registered in the QuestManager with their id, and can be accessed in the same way. 56 56 @author … … 72 72 static QuestManager& getInstance() { return Singleton<QuestManager>::getInstance(); } // tolua_export 73 73 74 //! Retr eive the main window for the GUI.74 //! Retrieve the main window for the GUI. 75 75 CEGUI::Window* getQuestGUI(const std::string & guiName); // tolua_export 76 76 … … 82 82 83 83 protected: 84 std::map<std::string, Quest*> & getQuests(void); //!< Retr eive all Quests.84 std::map<std::string, Quest*> & getQuests(void); //!< Retrieve all Quests. 85 85 86 86 private: 87 87 static QuestManager* singletonPtr_s; 88 PlayerInfo* retr eivePlayer(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. 89 89 90 90 std::map<std::string, Quest*> questMap_; //!< All Quests registered by their id's.
Note: See TracChangeset
for help on using the changeset viewer.