- Timestamp:
- May 27, 2010, 10:44:10 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation3/src/orxonox/interfaces/Pickupable.h
r6965 r6996 41 41 42 42 #include "core/OrxonoxClass.h" 43 #include "Rewardable.h" 43 44 44 45 namespace orxonox // tolua_export … … 52 53 */ 53 54 class _OrxonoxExport Pickupable // tolua_export 54 : virtual public OrxonoxClass 55 : virtual public OrxonoxClass, public Rewardable 55 56 { // tolua_export 56 57 protected: … … 141 142 std::list<Identifier*> targets_; //!< The possible targets of this pickup. 142 143 144 // For implementing the Rewardable interface: 145 public: 146 virtual bool reward(PlayerInfo* player); //!< Method to transcribe a Pickupable as a Rewardable to the player. 147 143 148 }; // tolua_export 144 149
Note: See TracChangeset
for help on using the changeset viewer.