- Timestamp:
- Nov 12, 2008, 1:29:33 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/questsystem2/src/orxonox/objects/quest/AddQuestHint.h
r2159 r2191 46 46 /** 47 47 @brief 48 Adds a QuestHint, resp. activates the QuestHint of the given id for the player the effect is invoked on.48 Adds a QuestHint, resp. activates the QuestHint of the given id for the player the QuestEffect is invoked on. 49 49 @author 50 50 Damian 'Mozork' Frick … … 58 58 virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode); //!< Method for creating a AddQuestHint object through XML. 59 59 60 virtual bool invoke(ControllableEntity* player); //!< Invokes the effect.60 virtual bool invoke(ControllableEntity* player); //!< Invokes the QuestEffect. 61 61 62 62 private: 63 63 std::string hintId_; //!< The id of the QuestHint. 64 64 65 inline const std::string & getHintId(void) const //!< Returns the if of the hint. 65 /** 66 @brief Returns the id of the QuestHint. 67 @return Returns the id of the QuestHint. 68 */ 69 inline const std::string & getHintId(void) const 66 70 { return this->hintId_; } 67 void setHintId(const std::string & id); //!< Sets the id of the hint.71 bool setHintId(const std::string & id); //!< Sets the id of the QuestHint. 68 72 69 73 };
Note: See TracChangeset
for help on using the changeset viewer.