Changeset 6540 for code/trunk/src/modules/pickup/Pickup.cc
- Timestamp:
- Mar 16, 2010, 9:35:11 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/modules/pickup/Pickup.cc
r6533 r6540 27 27 */ 28 28 29 /** 30 @file Pickup.cc 31 @brief Implementation of the Pickup class. 32 */ 33 29 34 #include "Pickup.h" 30 35 … … 41 46 /*static*/ const std::string Pickup::durationTypeOnce_s = "once"; 42 47 /*static*/ const std::string Pickup::durationTypeContinuous_s = "continuous"; 43 44 //TODO: Should this be here? Does it work without?45 CreateFactory(Pickup);46 48 47 49 Pickup::Pickup(BaseObject* creator) : BaseObject(creator) … … 224 226 Returns true if a spawner was created, false if not. 225 227 */ 226 bool Pickup::createSpawner( const Vector3& position)227 { 228 new DroppedPickup(this, this, position);228 bool Pickup::createSpawner(void) 229 { 230 new DroppedPickup(this, this, this->getCarrier()); 229 231 return true; 230 232 }
Note: See TracChangeset
for help on using the changeset viewer.