- Timestamp:
- Nov 8, 2008, 7:58:49 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/questsystem2/src/orxonox/objects/quest/AddQuestHint.h
r2146 r2159 27 27 */ 28 28 29 /** 30 @file AddQuestHint.h 31 @brief 32 Definition of the AddQuestHint class. 33 */ 34 29 35 #ifndef _AddQuestHint_H__ 30 36 #define _AddQuestHint_H__ … … 40 46 /** 41 47 @brief 42 Adds a QuestHint, resp. Activates the QuestHint.48 Adds a QuestHint, resp. activates the QuestHint of the given id for the player the effect is invoked on. 43 49 @author 44 50 Damian 'Mozork' Frick … … 50 56 virtual ~AddQuestHint(); 51 57 52 virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode); 58 virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode); //!< Method for creating a AddQuestHint object through XML. 53 59 54 60 virtual bool invoke(ControllableEntity* player); //!< Invokes the effect. 55 61 56 62 private: 57 std::string hintId_; 63 std::string hintId_; //!< The id of the QuestHint. 58 64 59 inline const std::string & getHintId(void) const 65 inline const std::string & getHintId(void) const //!< Returns the if of the hint. 60 66 { return this->hintId_; } 61 void setHintId(const std::string & id); 67 void setHintId(const std::string & id); //!< Sets the id of the hint. 62 68 63 69 };
Note: See TracChangeset
for help on using the changeset viewer.