- Timestamp:
- Nov 8, 2008, 7:58:49 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/questsystem2/src/orxonox/objects/quest/LocalQuest.cc
r2146 r2159 48 48 /** 49 49 @brief 50 Constructor. Initializes the object.50 Constructor. Registers and initializes the object. 51 51 */ 52 52 LocalQuest::LocalQuest(BaseObject* creator) : Quest(creator) 53 {54 this->initialize();55 }56 57 /**58 @brief59 Initializes the object.60 */61 void LocalQuest::initialize(void)62 53 { 63 54 RegisterObject(LocalQuest); … … 98 89 { 99 90 this->setStatus(player, questStatus::failed); 100 QuestEffect::invokeEffects(player, this-> failEffects_); //!< Invoke the failEffects.91 QuestEffect::invokeEffects(player, this->getFailEffectList()); //!< Invoke the failEffects. 101 92 return true; 102 93 } … … 120 111 { 121 112 this->setStatus(player, questStatus::completed); 122 QuestEffect::invokeEffects(player, this-> completeEffects_); //!< Invoke the completeEffects.113 QuestEffect::invokeEffects(player, this->getCompleteEffectList()); //!< Invoke the completeEffects. 123 114 return true; 124 115 }
Note: See TracChangeset
for help on using the changeset viewer.