void addBaseParameters(void)
Internal method for setting up the basic parameter definitions for a subclass.
virtual void _initParticle(Particle *pParticle)
Method called to allow the affector to initialize all newly created particles in the system.
virtual void _affectParticles(ParticleSystem *pSystem, Real timeElapsed)=0
Method called to allow the affector to 'do it's stuff' on all active particles in the system.
virtual ~ParticleAffector()
Virtual destructor essential.
ParticleAffector(ParticleSystem *parent)
const String & getType(void) const
Returns the name of the type of affector.
String mType
Name of the type of affector, MUST be initialised by subclasses.
Class defining particle system based special effects.
Class representing a single particle instance.