- Timestamp:
- Mar 4, 2010, 11:56:26 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/pickup3/src/modules/pickup/PickupCollection.h
r6421 r6466 30 30 #define _PickupCollection_H__ 31 31 32 #include " pickup/PickupPrereqs.h"32 #include "PickupPrereqs.h" 33 33 34 34 #include "interfaces/Pickupable.h" 35 35 #include "core/BaseObject.h" 36 36 #include "core/XMLPort.h" 37 38 #include "PickupCollectionIdentifier.h" 37 39 38 40 #include <list> … … 60 62 virtual void changedUsed(void); 61 63 62 virtual bool use(void); 63 virtual bool unuse(void); 64 virtual void changedCarrier(void); 64 65 65 virtual bool pickup(PickupCarrier* carrier); 66 virtual bool drop(void); 66 virtual void clone(OrxonoxClass* item); 67 67 68 virtual Pickupable* clone(void); 68 virtual const PickupIdentifier* getPickupIdentifier(void) 69 { return &this->pickupCollectionIdentifier_; } 69 70 70 71 bool addPickupable(Pickupable* pickup); 71 72 const Pickupable* getPickupable(unsigned int index); 73 74 protected: 75 void initializeIdentifier(void); 76 77 PickupCollectionIdentifier pickupCollectionIdentifier_; 72 78 73 79 private:
Note: See TracChangeset
for help on using the changeset viewer.