Changeset 7552 for code/trunk/src/orxonox/interfaces
- Timestamp:
- Oct 17, 2010, 10:50:43 PM (14 years ago)
- Location:
- code/trunk/src/orxonox/interfaces
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/orxonox/interfaces/NotificationListener.h
r7484 r7552 56 56 The NotificationListener interface presents a means to being informed when @ref orxonox::Notification "Notifications" in the target set of this NotificationListener change. (e.g. @ref orxonox::Notification "Notifications" were added or removed) 57 57 When inheriting from a NotificationListener it is important to register (in the constructor) and unregister (in the destructor) it to and from the @ref orxonox::NotificationManager "NotificationManager". 58 58 59 @author 59 60 Fabian 'x3n' Landau 61 62 @ingroup Notifications 60 63 */ 61 //TODO: Needed? Remove or move some NotificationQueue things over here.62 64 class _OrxonoxExport NotificationListener : virtual public OrxonoxClass 63 65 { -
code/trunk/src/orxonox/interfaces/PickupCarrier.h
r7547 r7552 47 47 48 48 // Forward-declarations. 49 class PickupManager;50 class Pickup;51 class HealthPickup;52 class InvisiblePickup;53 49 class MetaPickup; 54 class DronePickup;55 class SpeedPickup;56 50 57 51 /** … … 78 72 friend class PickupManager; 79 73 // Friends. 80 friend class Pickup;81 friend class HealthPickup;82 friend class InvisiblePickup;83 74 friend class MetaPickup; 84 friend class DronePickup;85 friend class SpeedPickup;86 75 87 76 public: -
code/trunk/src/orxonox/interfaces/Pickupable.h
r7547 r7552 62 62 class _OrxonoxExport Pickupable : virtual public OrxonoxClass, public Rewardable 63 63 { 64 friend class PickupCarrier; 65 64 66 protected: 65 67 Pickupable(); //!< Default constructor. … … 146 148 bool setUsed(bool used); //!< Sets the Pickupable to used or unused, depending on the input. 147 149 bool setPickedUp(bool pickedUp); //!< Helper method to set the Pickupable to either picked up or not picked up. 148 //TODO: private?149 150 bool setCarrier(PickupCarrier* carrier, bool tell = true); //!< Sets the carrier of the Pickupable. 150 151 //TODO: private?152 virtual void carrierDestroyed(void); //!< Is called by the PickupCarrier when it is being destroyed.153 151 154 152 void destroy(void); //!< Is called internally within the Pickupable module to destroy pickups. … … 162 160 virtual void preDestroy(void); //!< A method that is called by OrxonoxClass::destroy() before the object is actually destroyed. 163 161 virtual void destroyPickup(void); //!< Destroys a Pickupable. 162 virtual void carrierDestroyed(void); //!< Is called by the PickupCarrier when it is being destroyed. 164 163 165 164 /**
Note: See TracChangeset
for help on using the changeset viewer.