Packageidv.cjcat.stardust.twoD.initializers
Classpublic class DisplayObjectClass
InheritanceDisplayObjectClass Inheritance Initializer2D Inheritance Initializer Inheritance StardustElement

Assigns a display object to the target properties of a particle. This information can be visualized by DisplayObjectRenderer and BitmapRenderer.

Default priority = 1;

See also

idv.cjcat.stardust.twoD.renderers.DisplayObjectRenderer
idv.cjcat.stardust.twoD.renderers.BitmapRenderer


Public Properties
 PropertyDefined by
 Inheritedactive : Boolean
Denotes if the initializer is active, true by default.
Initializer
  constructorParams : Array
DisplayObjectClass
  displayObjectClass : Class
DisplayObjectClass
 Inheritedname : String
StardustElement
 InheritedneedsRecycle : Boolean
Initializer
 InheritedonAdd : ISignal
Dispatched when the added to an emitter.
Initializer
 InheritedonPriorityChange : ISignal
Dispatched when the action's priority is changed.
Initializer
 InheritedonRemove : ISignal
Dispatched when the removed from an emitter.
Initializer
 Inheritedpriority : int
Initializers will be sorted according to their priorities.
Initializer
 Inheritedsupports2D : Boolean
Whether this initializer supports 2D.
Initializer
 Inheritedsupports3D : Boolean
Whether this initializer supports 3D.
Initializer
Public Methods
 MethodDefined by
  
DisplayObjectClass(displayObjectClass:Class = null, constructorParams:Array = null)
DisplayObjectClass
 Inherited
Initializer
 Inherited
[Abstract Method] Returns the related objects of the element.
StardustElement
 Inherited
getXMLTag():XML
Returns the root tag of the XML representation.
StardustElement
  
getXMLTagName():String
DisplayObjectClass
  
DisplayObjectClass
 Inherited
parseXML(xml:XML, builder:XMLBuilder = null):void
Initializer
 Inherited
recycleInfo(particle:Particle):void
[Template Method] This method is called after a particle's death if the needsRecycle() method returns true.
Initializer
 Inherited
toXML():XML
Initializer
Property detail
constructorParamsproperty
public var constructorParams:Array
displayObjectClassproperty 
public var displayObjectClass:Class
Constructor detail
DisplayObjectClass()constructor
public function DisplayObjectClass(displayObjectClass:Class = null, constructorParams:Array = null)Parameters
displayObjectClass:Class (default = null)
 
constructorParams:Array (default = null)
Method detail
getXMLTagName()method
public override function getXMLTagName():String

Returns
String
initialize()method 
public override function initialize(p:Particle):voidParameters
p:Particle