Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 19, 2006, 10:03:19 PM (19 years ago)
Author:
marcscha
Message:

many additions, several fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/playability/src/world_entities/particles/emitter_node.h

    r10098 r10107  
    11/*!
    2  * @file particle_emitter.h
     2 * @file emitter_node.h
    33  *  Definition of a EmitterNode
    44  *  An emitter node is a node that takes an emitter and a particle system and keeps them alive for a given amount of time.
     
    3232  inline void setVelocity(Vector velocity) { this->velocity = velocity;};
    3333
    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;} ;
    3535  void setLifetime( float lifeTime) { this->lifeSpan  = lifeTime;};
    3636
Note: See TracChangeset for help on using the changeset viewer.