- Timestamp:
- Nov 6, 2008, 12:02:05 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/questsystem2/src/orxonox/objects/quest/QuestEffect.h
r2096 r2146 38 38 namespace orxonox { 39 39 40 class Player; //Forward declaration, remove when fully integrated into the objecthirarchy.41 42 40 /** 43 41 @brief … … 52 50 virtual ~QuestEffect(); 53 51 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.52 virtual bool invoke(ControllableEntity* player) = 0; //!< Invokes the effect. 53 static bool invokeEffects(ControllableEntity* player, std::list<QuestEffect*> & effects); //!< Invokes all effects in the list. 56 54 57 55
Note: See TracChangeset
for help on using the changeset viewer.