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