Changeset 2067 for code/branches/objecthierarchy/src
- Timestamp:
- Oct 30, 2008, 2:51:37 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/objecthierarchy/src/orxonox/objects/worldentities/ParticleSpawner.cc
r2065 r2067 92 92 return; 93 93 94 this-> particles_->setEnabled(false);94 this->setActive(false); 95 95 96 96 if (this->bForceDestroy_ || this->bSuppressStart_) … … 102 102 void ParticleSpawner::fireParticleSpawner() 103 103 { 104 this-> particles_->setEnabled(true);104 this->setActive(true); 105 105 if (this->lifetime_ != 0) 106 106 this->timer_.setTimer(this->lifetime_, false, this, createExecutor(createFunctor(&ParticleSpawner::stopParticleSpawner))); … … 109 109 void ParticleSpawner::stopParticleSpawner() 110 110 { 111 this-> particles_->setEnabled(false);111 this->setActive(false); 112 112 113 113 if (this->bAutoDestroy_ || this->bForceDestroy_)
Note: See TracChangeset
for help on using the changeset viewer.