Changeset 10817 for code/branches/cpp11_v2/src/orxonox/interfaces
- Timestamp:
- Nov 19, 2015, 11:40:28 AM (9 years ago)
- Location:
- code/branches/cpp11_v2/src/orxonox/interfaces
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/cpp11_v2/src/orxonox/interfaces/PickupCarrier.h
r10765 r10817 77 77 PickupCarrier(); //!< Constructor. 78 78 virtual ~PickupCarrier(); //!< Destructor. 79 void preDestroy(void) ; //!< Is called before the PickupCarrier is effectively destroyed.79 void preDestroy(void) override; //!< Is called before the PickupCarrier is effectively destroyed. 80 80 81 81 bool isTarget(const Pickupable* pickup) const; //!< Can be used to check whether the PickupCarrier or a child of his is a target ot the input Pickupable. -
code/branches/cpp11_v2/src/orxonox/interfaces/Pickupable.h
r10624 r10817 144 144 145 145 protected: 146 virtual void preDestroy(void) ; //!< A method that is called by Destroyable::destroy() before the object is actually destroyed.146 virtual void preDestroy(void) override; //!< A method that is called by Destroyable::destroy() before the object is actually destroyed. 147 147 virtual void destroyPickup(void); //!< Destroys a Pickupable. 148 148 virtual void carrierDestroyed(void); //!< Is called by the PickupCarrier when it is being destroyed. … … 182 182 // For implementing the Rewardable interface: 183 183 public: 184 virtual bool reward(PlayerInfo* player) ; //!< Method to transcribe a Pickupable as a Rewardable to the player.184 virtual bool reward(PlayerInfo* player) override; //!< Method to transcribe a Pickupable as a Rewardable to the player. 185 185 186 186 };
Note: See TracChangeset
for help on using the changeset viewer.