- Timestamp:
- Jul 21, 2012, 3:34:45 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation2012merge/src/modules/pickup/PickupCollection.cc
r9318 r9319 38 38 39 39 #include "CollectiblePickup.h" 40 #include " DroppedPickup.h"40 #include "PickupSpawner.h" 41 41 42 42 #include "PickupCollection.h" … … 348 348 @brief 349 349 Facilitates the creation of a PickupSpawner upon dropping of the Pickupable. 350 This method must be implemented by any class directly inheriting from Pickupable. It is most easily done by just creating a new DroppedPickup, e.g.:351 DroppedPickup(BaseObject* creator, Pickupable* pickup, const Vector3& position);352 350 @return 353 351 Returns true if a spawner was created, false if not. … … 355 353 bool PickupCollection::createSpawner(void) 356 354 { 357 newDroppedPickup(this, this, this->getCarrier());355 PickupSpawner::createDroppedPickup(this, this, this->getCarrier()); 358 356 return true; 359 357 }
Note: See TracChangeset
for help on using the changeset viewer.