Packageidv.cjcat.stardust.common.particles
Interfacepublic interface ParticleIterator
ImplementorsParticleFastArrayIterator, ParticleListIterator

This interface defines the common operations shared by particle collection iterators. An iterator is used to traverse a particle collection or remove particles from the collection.



Public Methods
 MethodDefined by
  
ParticleIterator
  
Makes the target iterator to point to the same particle as this iterator.
ParticleIterator
  
next():void
Moves the iterator to the next particle.
ParticleIterator
  
The current particle.
ParticleIterator
  
remove():void
Removes the current particle from the list and moves the iterator to the next particle.
ParticleIterator
  
reset():void
Resets the iterator to the first particle.
ParticleIterator
Method detail
clone()method
public function clone():ParticleIterator

Returns
ParticleIterator
dump()method 
public function dump(target:ParticleIterator):ParticleIterator

Makes the target iterator to point to the same particle as this iterator.

Parameters
target:ParticleIterator — The dumped target.

Returns
ParticleIterator
next()method 
public function next():void

Moves the iterator to the next particle.

particle()method 
public function particle():Particle

The current particle.

Returns
Particle
remove()method 
public function remove():void

Removes the current particle from the list and moves the iterator to the next particle.

reset()method 
public function reset():void

Resets the iterator to the first particle.