Changeset 2093 for code/trunk/src/orxonox/objects/quest/AddQuestHint.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/AddQuestHint.h
r2092 r2093 40 40 /** 41 41 @brief 42 42 Adds a QuestHint, resp. Activates the QuestHint. 43 43 @author 44 44 Damian 'Mozork' Frick 45 45 */ 46 46 class AddQuestHint : public QuestEffect 47 47 { 48 48 public: 49 49 AddQuestHint(BaseObject* creator); 50 50 virtual ~AddQuestHint(); 51 51 52 52 virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode); 53 53 54 54 virtual bool invoke(Player* player); //!< Invokes the effect. 55 55 56 56 private: 57 57 std::string hintId_; 58 58 59 59 inline const std::string & getHintId(void) const 60 60 { return this->hintId_; } 61 61 void setHintId(const std::string & id); 62 62 63 63 };
Note: See TracChangeset
for help on using the changeset viewer.