- Timestamp:
- Jul 21, 2012, 3:34:45 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation2012merge/src/modules/pickup/Pickup.cc
r9318 r9319 37 37 #include "util/StringUtils.h" 38 38 39 #include " DroppedPickup.h"39 #include "PickupSpawner.h" 40 40 41 41 namespace orxonox … … 201 201 @brief 202 202 Facilitates the creation of a PickupSpawner upon dropping of the Pickupable. 203 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.:204 DroppedPickup(BaseObject* creator, Pickupable* pickup, const Vector3& position);205 203 @return 206 204 Returns true if a spawner was created, false if not. … … 208 206 bool Pickup::createSpawner(void) 209 207 { 210 newDroppedPickup(this, this, this->getCarrier());208 PickupSpawner::createDroppedPickup(this, this, this->getCarrier()); 211 209 return true; 212 210 }
Note: See TracChangeset
for help on using the changeset viewer.