Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Oct 27, 2008, 8:31:20 PM (16 years ago)
Author:
dafrick
Message:

Nearly compiles, some minor improvements.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/questsystem/src/orxonox/objects/QuestManager.h

    r1996 r2021  
    5252            ~QuestManager();
    5353           
    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.
    5656           
    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.
    5959                   
    6060        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_;
    6363   
    6464    };
Note: See TracChangeset for help on using the changeset viewer.