- Timestamp:
- Dec 23, 2008, 10:40:38 PM (17 years ago)
- Location:
- code/branches/bugger
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/bugger
- Property svn:mergeinfo changed
/code/branches/questsystem2 (added) merged: 2109,2146,2159,2191,2193-2196,2205-2206,2208-2209,2221,2226,2228,2251,2258
- Property svn:mergeinfo changed
-
code/branches/bugger/src/orxonox/objects/quest/ChangeQuestStatus.h
- Property svn:mergeinfo changed
/code/branches/questsystem2/src/orxonox/objects/quest/ChangeQuestStatus.h (added) merged: 2146,2159,2191,2205,2251 /code/trunk/src/orxonox/objects/quest/ChangeQuestStatus.h merged: 1925-2089
r2096 r2530 27 27 */ 28 28 29 /** 30 @file ChangeQuestStatus.h 31 @brief 32 Definition of the ChangeQuestStatus class. 33 */ 34 29 35 #ifndef _ChangeQuestStatus_H__ 30 36 #define _ChangeQuestStatus_H__ … … 39 45 namespace orxonox { 40 46 41 class Player; //Forward declaration, remove when fully integrated into the objecthirarchy.42 43 47 /** 44 48 @brief 45 A n effect which changes a quests status.49 A QuestEffect which changes the status of a specified Quest for the player invoking the QuestEffect. 46 50 @author 47 51 Damian 'Mozork' Frick … … 53 57 virtual ~ChangeQuestStatus(); 54 58 55 virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode); 59 virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode); //!< Method for creating a ChangeQuestStatus object through XML. 56 60 57 virtual bool invoke(Player * player) = 0; //!< Invokes the effect.61 virtual bool invoke(PlayerInfo* player) = 0; //!< Invokes the QuestEffect. 58 62 59 63 protected: 60 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 61 69 { return this->questId_; } 62 70 63 std::string questId_; //!< The id of the quest the status should be changed of.64 65 71 private: 66 void setQuestId(const std::string & id); 72 std::string questId_; //!< The id of the Quest the status should be changed of. 73 74 bool setQuestId(const std::string & id); //!< Sets the id of the Quest. 67 75 68 76 }; - Property svn:mergeinfo changed
Note: See TracChangeset
for help on using the changeset viewer.