Changeset 6540 for code/trunk/src/orxonox/interfaces/Pickupable.h
- Timestamp:
- Mar 16, 2010, 9:35:11 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/orxonox/interfaces/Pickupable.h
r6539 r6540 51 51 Damian 'Mozork' Frick 52 52 */ 53 //TODO: Add stuff like weight/space ?54 53 class _OrxonoxExport Pickupable : virtual public OrxonoxClass 55 54 { 55 protected: 56 Pickupable(); //!< Default constructor. 56 57 57 58 public: 58 Pickupable(); //!< Default constructor.59 59 virtual ~Pickupable(); //!< Default destructor. 60 60 … … 113 113 { return this->pickupIdentifier_; } 114 114 115 //TODO: Make them work as protected.116 115 bool setUsed(bool used); //!< Sets the Pickupable to used or unused, depending on the input. 117 116 bool setPickedUp(bool pickedUp); //!< Helper method to set the Pickupable to either picked up or not picked up. … … 131 130 @return Returns true if a spawner was created, false if not. 132 131 */ 133 virtual bool createSpawner( const Vector3& position) = 0;132 virtual bool createSpawner(void) = 0; 134 133 135 //TODO: Move to private and create get method in protected.136 134 PickupIdentifier* pickupIdentifier_; //!< The PickupIdentifier of this Pickupable. 137 135
Note: See TracChangeset
for help on using the changeset viewer.