Changeset 1747 for code/trunk/src/orxonox/objects/ParticleProjectile.cc
- Timestamp:
- Sep 9, 2008, 4:25:52 AM (16 years ago)
- Location:
- code/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk
- Property svn:mergeinfo changed
/code/branches/core3 (added) merged: 1573-1574,1583-1586,1591-1594,1596-1597,1603,1606-1607,1610-1611,1655,1658,1676-1679,1681-1685,1687,1716-1723,1725-1729,1736
- Property svn:mergeinfo changed
-
code/trunk/src/orxonox/objects/ParticleProjectile.cc
r1563 r1747 32 32 #include "SpaceShip.h" 33 33 #include "core/CoreIncludes.h" 34 #include "core/ConfigValueIncludes.h" 34 35 35 36 namespace orxonox … … 52 53 this->particles_ = 0; 53 54 } 55 56 this->setConfigValues(); 54 57 } 55 58 … … 60 63 } 61 64 65 void ParticleProjectile::setConfigValues() 66 { 67 SetConfigValue(speed_, 5000.0).description("The speed of a projectile in units per second").callback((Projectile*)this, &ParticleProjectile::speedChanged); 68 } 69 62 70 void ParticleProjectile::changedVisibility() 63 71 { 64 BillboardProjectile::changedVisibility();72 SUPER(ParticleProjectile, changedVisibility); 65 73 this->particles_->setEnabled(this->isVisible()); 66 74 }
Note: See TracChangeset
for help on using the changeset viewer.