Changeset 1608 for code/trunk/src/orxonox/objects/ParticleSpawner.h
- Timestamp:
- Jun 17, 2008, 3:33:03 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/orxonox/objects/ParticleSpawner.h
r1602 r1608 41 41 public: 42 42 ParticleSpawner(); 43 ParticleSpawner(const std::string& templateName, LODParticle::LOD detaillevel, float lifetime = 0, float delay = 0, const Vector3& direction = Vector3::ZERO);43 ParticleSpawner(const std::string& templateName, LODParticle::LOD detaillevel, float lifetime = 0, float startdelay = 0, float destroydelay = 0, const Vector3& direction = Vector3::ZERO); 44 44 virtual ~ParticleSpawner(); 45 void destroy(); 45 46 46 void setParticle(const std::string& templateName, LODParticle::LOD detaillevel, float lifetime = 0, float delay = 0, const Vector3& direction = Vector3::ZERO);47 void setParticle(const std::string& templateName, LODParticle::LOD detaillevel, float lifetime = 0, float startdelay = 0, float destroydelay = 0, const Vector3& direction = Vector3::ZERO); 47 48 inline ParticleInterface* getParticleInterface() const 48 49 { return this->particle_; } … … 56 57 Timer<ParticleSpawner> timer_; 57 58 ParticleInterface* particle_; 59 float destroydelay_; 58 60 }; 59 61 }
Note: See TracChangeset
for help on using the changeset viewer.