Changeset 7299 for code/branches/doc/src/modules/questsystem
- Timestamp:
- Aug 31, 2010, 11:04:10 PM (14 years ago)
- Location:
- code/branches/doc/src/modules/questsystem
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/doc/src/modules/questsystem/QuestEffectBeacon.cc
r7297 r7299 92 92 Executes the QuestEffectBeacon. 93 93 This means extracting the Pawn from the PlayerTrigger, provided by the Event causing the execution, and the extracting the PlayerInfo from the received Pawn and invoking the QuestEffectbeacon's QuestEffects on the received PlayerInfo. 94 @param b 94 @param bTriggered 95 95 true means the trigger was activated while false means it was deactivated 96 96 @param trigger … … 99 99 Returns true if successfully executed, false if not. 100 100 */ 101 bool QuestEffectBeacon::execute(bool b , BaseObject* trigger)102 { 103 if(!b )101 bool QuestEffectBeacon::execute(bool bTriggered, BaseObject* trigger) 102 { 103 if(!bTriggered) 104 104 { 105 105 return false; -
code/branches/doc/src/modules/questsystem/QuestEffectBeacon.h
r7298 r7299 90 90 virtual void XMLEventPort(Element& xmlelement, XMLPort::Mode mode); 91 91 92 bool execute(bool b , BaseObject* trigger); //!< Executes the QuestEffects of the QuestEffectBeacon.92 bool execute(bool bTriggered, BaseObject* trigger); //!< Executes the QuestEffects of the QuestEffectBeacon. 93 93 94 94 /**
Note: See TracChangeset
for help on using the changeset viewer.