Changeset 2093 for code/trunk/src/orxonox/objects/quest/QuestManager.h
- Timestamp:
- Nov 1, 2008, 9:03:51 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/orxonox/objects/quest/QuestManager.h
r2092 r2093 49 49 { 50 50 51 52 53 51 public: 52 QuestManager(BaseObject* creator); 53 virtual ~QuestManager(); 54 54 55 56 55 static bool registerQuest(Quest* quest); //!< Registers a quest in the QuestManager. 56 static bool registerHint(QuestHint* quest); //!< Registers a QuestHint in the QuestManager. 57 57 58 59 58 static Quest* findQuest(const std::string & questId); //!< Returns the quest with the input id. 59 static QuestHint* findHint(const std::string & hintId); //!< Returns the QuestHint with the input id. 60 60 61 62 63 61 private: 62 static std::map<std::string, Quest*> questMap_; //!< All quests registered by their id's. 63 static std::map<std::string, QuestHint*> hintMap_; //!< All hints registered by their id's. 64 64 65 65 };
Note: See TracChangeset
for help on using the changeset viewer.