Convenience class to make it easy to step through all particles in a ParticleSystem.
list< Particle * >::type::iterator mEnd
bool end(void)
Returns true when at the end of the particle list.
list< Particle * >::type::iterator mStart
ParticleIterator(list< Particle * >::type::iterator start, list< Particle * >::type::iterator end)
Protected constructor, only available from ParticleSystem::getIterator.
Particle * getNext(void)
Returns a pointer to the next particle, and moves the iterator on by 1 element.
list< Particle * >::type::iterator mPos
Class defining particle system based special effects.
Class representing a single particle instance.