Changeset 10107 in orxonox.OLD for branches/playability/src/world_entities/particles/emitter_node.h
- Timestamp:
- Dec 19, 2006, 10:03:19 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/playability/src/world_entities/particles/emitter_node.h
r10098 r10107 1 1 /*! 2 * @file particle_emitter.h2 * @file emitter_node.h 3 3 * Definition of a EmitterNode 4 4 * An emitter node is a node that takes an emitter and a particle system and keeps them alive for a given amount of time. … … 32 32 inline void setVelocity(Vector velocity) { this->velocity = velocity;}; 33 33 34 inline void setupParticle(DotEmitter* emitter, ParticleSystem* system) { this->emitter = emitter; this-> system = system; this->system->setLifeSpan(this->lifeSpan);} ;34 inline void setupParticle(DotEmitter* emitter, ParticleSystem* system) { this->emitter = emitter; this->emitter->setParent( this); this->system = system;} ; 35 35 void setLifetime( float lifeTime) { this->lifeSpan = lifeTime;}; 36 36
Note: See TracChangeset
for help on using the changeset viewer.