- Timestamp:
- Oct 31, 2008, 7:35:08 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/questsystem/src/orxonox/objects/ChangeQuestStatus.h
r2068 r2076 32 32 #include <string> 33 33 34 #include "core/XMLPort.h" 34 35 #include "QuestEffect.h" 35 36 … … 48 49 public: 49 50 ChangeQuestStatus(); 50 ChangeQuestStatus(std::string questId);51 51 virtual ~ChangeQuestStatus(); 52 53 virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode); 52 54 53 55 virtual bool invoke(Player* player) = 0; //!< Invokes the effect. 54 56 55 57 protected: 56 inline std::string getQuestId(void)//!< Returns the quest id.57 { return questId_; }58 inline const std::string & getQuestId(void) const //!< Returns the quest id. 59 { return this->questId_; } 58 60 59 61 std::string questId_; //!< The id of the quest the status should be changed of. 62 63 private: 64 inline void setQuestId(const std::string & id) 65 { this->questId_ = id; } 60 66 61 67 };
Note: See TracChangeset
for help on using the changeset viewer.