Special-effects container (Singleton). More...
#include <_src_fx_fx.hh>
Public Member Functions | |
| void | AddZombie (shptr< Object > zombie) |
| void | AddZombie (shptr< ParticleSystem > zombie) |
Private Types | |
| typedef std::list< shptr < Object > > | Objects |
| typedef std::list< shptr < ParticleSystem > > | ParticleSystems |
Private Member Functions | |
| FX (void) | |
| ~FX () | |
| void | MakeSmokeTrail (const Milliseconds lifetime, shptr< Object > trailMaker) |
| void | Tick (const Milliseconds millisecElapsed) |
| void | Detach (Objects &objects) |
| void | Detach (ParticleSystems &particleSystems) |
| DECLARE_SINGLETON_CLASS_VARS (FX) shptr< TickFunctor > mTickFunctor | |
| tick for destroying zombies | |
Private Attributes | |
| Objects | mObjects |
| container of active special-effects | |
| Objects | mZombieObjects |
| AddZombie() adds to this. | |
| ParticleSystems | mParticleSystems |
| container of active special-effects | |
| ParticleSystems | mZombieParticleSystems |
| AddZombie() adds to this. | |
Special-effects container (Singleton).
typedef std::list<shptr<Object> > fx::FX::Objects [private] |
typedef std::list<shptr<ParticleSystem> > fx::FX::ParticleSystems [private] |
| fx::FX::FX | ( | void | ) | [private] |
ctor/dtor.
| fx::FX::~FX | ( | ) | [private] |
| void fx::FX::AddZombie | ( | shptr< Object > | zombie | ) |
| void fx::FX::AddZombie | ( | shptr< ParticleSystem > | zombie | ) |
| fx::FX::DECLARE_SINGLETON_CLASS_VARS | ( | FX | ) | [private] |
tick for destroying zombies
| void fx::FX::Detach | ( | Objects & | objects | ) | [private] |
Detach special-effects (Objects).
| void fx::FX::Detach | ( | ParticleSystems & | particleSystems | ) | [private] |
Detach special-effects (ParticleSystems).
| void fx::FX::MakeSmokeTrail | ( | const Milliseconds | lifetime, | |
| shptr< Object > | trailMaker | |||
| ) | [private] |
| void fx::FX::Tick | ( | const Milliseconds | millisecElapsed | ) | [private] |
Objects fx::FX::mObjects [private] |
container of active special-effects
ParticleSystems fx::FX::mParticleSystems [private] |
container of active special-effects
Objects fx::FX::mZombieObjects [private] |
AddZombie() adds to this.
AddZombie() adds to this.
Palomino Flight Simulator documents generated by doxygen 1.7.1 on Tue May 15 2012 22:40:11