- Timestamp:
- Oct 27, 2008, 8:31:20 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/questsystem/src/orxonox/objects/QuestManager.h
r1996 r2021 52 52 ~QuestManager(); 53 53 54 static bool registerQuest(Quest &quest); //!< Registers a quest in the QuestManager.55 static bool registerHint(QuestHint &quest); //!< Registers a QuestHint in the QuestManager.54 static bool registerQuest(Quest* quest); //!< Registers a quest in the QuestManager. 55 static bool registerHint(QuestHint* quest); //!< Registers a QuestHint in the QuestManager. 56 56 57 static Quest & findQuest(const std::string & questId) const; //!< Returns the quest with the input id.58 static QuestHint & findHint(const std::string & hintId) const; //!< Returns the QuestHint with the input id.57 static Quest* findQuest(const std::string & questId); //!< Returns the quest with the input id. 58 static QuestHint* findHint(const std::string & hintId); //!< Returns the QuestHint with the input id. 59 59 60 60 private: 61 static std::map<std::string, Quest > questMap_;62 static std::map<std::string, QuestHint > hintMap_;61 static std::map<std::string, Quest*> questMap_; 62 static std::map<std::string, QuestHint*> hintMap_; 63 63 64 64 };
Note: See TracChangeset
for help on using the changeset viewer.