Changeset 2272 for code/branches/weapon2/src/orxonox/objects/weaponSystem/projectiles/ParticleProjectile.cc
- Timestamp:
- Nov 26, 2008, 2:17:18 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/weapon2/src/orxonox/objects/weaponSystem/projectiles/ParticleProjectile.cc
r2232 r2272 38 38 CreateFactory(ParticleProjectile); 39 39 40 ParticleProjectile::ParticleProjectile(BaseObject* creator , Weapon* owner) : BillboardProjectile(creator, owner)40 ParticleProjectile::ParticleProjectile(BaseObject* creator) : BillboardProjectile(creator) 41 41 { 42 42 RegisterObject(ParticleProjectile); … … 45 45 this->particles_->addToSceneNode(this->getNode()); 46 46 this->particles_->setKeepParticlesInLocalSpace(true); 47 48 /* 47 49 if (this->owner_) 48 50 { … … 52 54 // this->particles_ = 0; 53 55 // } 56 */ 54 57 55 58 this->setConfigValues(); … … 64 67 void ParticleProjectile::setConfigValues() 65 68 { 66 SetConfigValue(speed_, 5000.0).description("The speed of a projectile in units per second").callback((Projectile*)this, &ParticleProjectile::speedChanged);69 //SetConfigValue(speed_, 5000.0).description("The speed of a projectile in units per second").callback((Projectile*)this, &ParticleProjectile::speedChanged); 67 70 } 68 71
Note: See TracChangeset
for help on using the changeset viewer.