Packageorg.flintparticles.common.renderers
Interfacepublic interface Renderer
Implementors FlexRendererBase, RendererBase, SpriteRendererBase

The Renderer interface must be implemented by all renderers. A renderer is a class that draws the particles that are managed by an emitter. A renderer can display the contents of a number of emitters.



Public Methods
 MethodDefined By
  
addEmitter(emitter:Emitter):void
Add an emitter to this renderer.
Renderer
  
removeEmitter(emitter:Emitter):void
Stop rendering particles that are managed by this emitter.
Renderer
Method Detail
addEmitter()method
public function addEmitter(emitter:Emitter):void

Add an emitter to this renderer. The renderer should draw all the particles that are being managed by the emitter.

Parameters

emitter:Emitter — The emitter whose particles should be drawn by the renderer

removeEmitter()method 
public function removeEmitter(emitter:Emitter):void

Stop rendering particles that are managed by this emitter.

Parameters

emitter:Emitter — The emitter whose particles should no longer be drawn by the renderer.