- Timestamp:
- Dec 23, 2008, 10:40:38 PM (17 years ago)
- Location:
- code/branches/bugger
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/bugger
- 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/branches/bugger/src/orxonox/objects/quest/Rewardable.h
- Property svn:mergeinfo changed
/code/branches/questsystem2/src/orxonox/objects/quest/Rewardable.h (added) merged: 2146,2159,2205,2251 /code/trunk/src/orxonox/objects/quest/Rewardable.h merged: 1925-2089
r2096 r2530 27 27 */ 28 28 29 /** 30 @file Rewardable.h 31 @brief 32 Definition of the Rewardable class. 33 */ 34 29 35 #ifndef _Rewardable_H__ 30 36 #define _Rewardable_H__ … … 36 42 namespace orxonox { 37 43 38 class Player; //Forward declaration, remove when fully integrated in objecthirarchy.39 40 44 /** 41 45 @brief 42 Rewardable is an Interface, that can be implemented by any object to enable it to be given as reward to a player through QuestEffects. 46 Rewardable is an Interface, that can be implemented by any object to enable it to be given as reward to a player through QuestEffects. (With the AddReward effect.) 47 48 It just needs to inherit form Rewardable, and implement the reward() method. 43 49 @author 44 50 Damian 'Mozork' Frick … … 51 57 virtual ~Rewardable(); 52 58 53 virtual bool reward(Player* player) = 0; //!<Method to transcribe a rewardable object to the player. 59 /** 60 @brief 61 Method to transcribe a rewardable object to the player. 62 Must be implemented by every class inheriting from Rewardable. 63 @param player 64 A pointer to the ControllableEntity, do whatever you want with it. 65 @return 66 Return true if successful. 67 */ 68 virtual bool reward(PlayerInfo* player) = 0; //!< 54 69 55 70 }; - Property svn:mergeinfo changed
Note: See TracChangeset
for help on using the changeset viewer.