virtual void _initParticle(Particle *pParticle)
Method called to allow the affector to initialize all newly created particles in the system.
virtual ~ParticleAffector()
Virtual destructor essential.
void addBaseParameters(void)
Internal method for setting up the basic parameter definitions for a subclass.
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.
const String & getType(void) const
Returns the name of the type of affector.
ParticleAffector(ParticleSystem *parent)
String mType
Name of the type of affector, MUST be initialised by subclasses.
Class representing a single particle instance.
Class defining particle system based special effects.
Abstract class defining the interface to be implemented by particle affectors.