Packageorg.flintparticles.common.initializers
Classpublic class DictionaryInitializer
InheritanceDictionaryInitializer Inheritance InitializerBase Inheritance Object

The Dictionary Initializer copies properties from an initializing object to a particle's dictionary.



Public Properties
 PropertyDefined By
  initValues : *
The object containing the properties for copying to the particle's dictionary.
DictionaryInitializer
 Inheritedpriority : int
Returns a default priority of 0 for this action.
InitializerBase
Protected Properties
 PropertyDefined By
 Inherited_priority : int = 0
InitializerBase
Public Methods
 MethodDefined By
  
DictionaryInitializer(initValues:*)
The constructor creates a DictionaryInit initializer for use by an emitter.
DictionaryInitializer
 Inherited
addedToEmitter(emitter:Emitter):void
This method does nothing.
InitializerBase
  
initialize(emitter:Emitter, particle:Particle):void
[override] This method does nothing.
DictionaryInitializer
 Inherited
This method does nothing.
InitializerBase
Property Detail
initValuesproperty
initValues:*

The object containing the properties for copying to the particle's dictionary. May be an object or a dictionary.


Implementation
    public function get initValues():*
    public function set initValues(value:any):void
Constructor Detail
DictionaryInitializer()Constructor
public function DictionaryInitializer(initValues:*)

The constructor creates a DictionaryInit initializer for use by an emitter. To add a DictionaryInit to all particles created by an emitter, use the emitter's addInitializer method.

Parameters
initValues:* — The object containing the properties for copying to the particle's dictionary. May be an object or a dictionary.

See also

Method Detail
initialize()method
override public function initialize(emitter:Emitter, particle:Particle):void

This method does nothing. All derived classes override this method to initialize each particle created by the emitter.

Parameters

emitter:Emitter
 
particle:Particle