- Timestamp:
- Nov 23, 2008, 4:31:36 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/questsystem2/src/orxonox/objects/quest/Quest.h
r2205 r2251 30 30 @file Quest.h 31 31 @brief 32 33 34 32 Definition of the Quest class. 33 34 The Quest is the parent class of LocalQuest and GlobalQuest. 35 35 */ 36 36 … … 90 90 { return this->parentQuest_; } 91 91 92 93 94 95 92 /** 93 @brief Returns the list of subquests. 94 @return Returns a reference to the list of subquests of the quest. 95 */ 96 96 inline const std::list<Quest*> & getSubQuestList(void) const 97 97 { return this->subQuests_; } 98 98 99 100 101 102 103 99 /** 100 @brief Returns the list of all QuestHints of this Quest. 101 @return Returns a reference to the list of QuestHints of the Quest. 102 */ 103 inline const std::list<QuestHint*> & getHintsList(void) const 104 104 { return this->hints_; } 105 105 … … 110 110 111 111 bool start(PlayerInfo* player); //!< Sets a Quest to active. 112 112 virtual bool fail(PlayerInfo* player) = 0; //!< Fails the Quest. 113 113 virtual bool complete(PlayerInfo* player) = 0; //!< Completes the Quest. 114 114 … … 131 131 { return this->failEffects_; } 132 132 133 134 135 136 137 133 /** 134 @brief Returns the list of complete QuestEffects. 135 @return Returns a reference to the list of complete QuestEffects. 136 */ 137 inline std::list<QuestEffect*> & getCompleteEffectList(void) 138 138 { return this->completeEffects_; } 139 139 … … 141 141 virtual bool setStatus(PlayerInfo* player, const questStatus::Enum & status) = 0; //!< Changes the status for a specific player. 142 142 143 143 private: 144 144 Quest* parentQuest_; //!< Pointer to the parentquest. 145 145 std::list<Quest*> subQuests_; //!< List of all the subquests.
Note: See TracChangeset
for help on using the changeset viewer.