#include <mod_base_partsys.hh>
Public Member Functions | |
| ParticleSystem (void) | |
| ~ParticleSystem () | |
| void | Add (SharedPtr< Particle > particle, const Milliseconds lifetime) |
Private Types | |
| typedef list < SharedPtr < Particle > > | Particles |
Private Member Functions | |
| void | Tick (const Milliseconds millisecElapsed) |
Private Attributes | |
| Particles | mParticles |
| shptr< TimerFunctor > | mTimerFunctor |
| pulses animation of particle system | |
Classes | |
| class | TimerFunctor |
| Pulsed by timer-tick to animate particle system. More... | |
Features of particle system:
ParticleSystem itself doesn't age. Client should eventually destroy ParticleSystem.
typedef list<SharedPtr<Particle> > mod_base::ParticleSystem::Particles [private] |
| mod_base::ParticleSystem::ParticleSystem | ( | void | ) |
ctor/dtor.
| mod_base::ParticleSystem::~ParticleSystem | ( | void | ) |
| void mod_base::ParticleSystem::Add | ( | SharedPtr< Particle > | particle, | |
| const Milliseconds | lifetime | |||
| ) |
| void mod_base::ParticleSystem::Tick | ( | const Milliseconds | millisecElapsed | ) | [private] |
shptr<TimerFunctor> mod_base::ParticleSystem::mTimerFunctor [private] |
pulses animation of particle system
Palomino 3D Engine documents generated by doxygen 1.5.3 on Fri Nov 23 11:26:29 2007