- 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/ChangeQuestStatus.h
r2159 r2191 47 47 /** 48 48 @brief 49 A n effect which changes a quests status of a specified quest for the player invoking the effect.49 A QuestEffect which changes the status of a specified Quest for the player invoking the QuestEffect. 50 50 @author 51 51 Damian 'Mozork' Frick … … 59 59 virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode); //!< Method for creating a ChangeQuestStatus object through XML. 60 60 61 virtual bool invoke(ControllableEntity* player) = 0; //!< Invokes the effect.61 virtual bool invoke(ControllableEntity* player) = 0; //!< Invokes the QuestEffect. 62 62 63 63 protected: 64 inline const std::string & getQuestId(void) const //!< Returns the quest id. 64 /** 65 @brief Returns the id of the Quest. 66 @return Returns the id of the Quest. 67 */ 68 inline const std::string & getQuestId(void) const 65 69 { return this->questId_; } 66 70 67 71 private: 68 std::string questId_; //!< The id of the quest the status should be changed of.72 std::string questId_; //!< The id of the Quest the status should be changed of. 69 73 70 void setQuestId(const std::string & id); //!< Sets the quest id.74 bool setQuestId(const std::string & id); //!< Sets the id of the Quest. 71 75 72 76 };
Note: See TracChangeset
for help on using the changeset viewer.