Changeset 2261 for code/trunk/src/orxonox/objects/quest/QuestEffect.h
- Timestamp:
- Nov 25, 2008, 11:56:40 PM (15 years ago)
- Location:
- code/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk
- 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/trunk/src/orxonox/objects/quest/QuestEffect.h
- Property svn:mergeinfo changed
/code/branches/questsystem2/src/orxonox/objects/quest/QuestEffect.h (added) merged: 2146,2159,2191,2205,2251 /code/trunk/src/orxonox/objects/quest/QuestEffect.h merged: 1925-2089
r2096 r2261 26 26 * 27 27 */ 28 29 /** 30 @file QuestEffect.h 31 @brief 32 Definition of the QuestEffect class. 33 */ 28 34 29 35 #ifndef _QuestEffect_H__ … … 38 44 namespace orxonox { 39 45 40 class Player; //Forward declaration, remove when fully integrated into the objecthirarchy.41 42 46 /** 43 47 @brief 44 Handles effects for quests. 48 Handles QuestEffects for Quests. 49 QuestEffects are the only way for Quests to have any sideeffects in the game world. They are also the only way for a player to gain, complete or fail Quests. 45 50 @author 46 51 Damian 'Mozork' Frick … … 52 57 virtual ~QuestEffect(); 53 58 54 virtual bool invoke(Player * player) = 0; //!< Invokes the effect.55 static bool invokeEffects(Player * player, std::list<QuestEffect*> & effects); //!< Invokes all effects in the list.59 virtual bool invoke(PlayerInfo* player) = 0; //!< Invokes the QuestEffect. 60 static bool invokeEffects(PlayerInfo* player, std::list<QuestEffect*> & effects); //!< Invokes all QuestEffects in the list. 56 61 57 62 - Property svn:mergeinfo changed
Note: See TracChangeset
for help on using the changeset viewer.