Packageidv.cjcat.stardust.twoD.initializers
Classpublic class StardustSpriteInit
InheritanceStardustSpriteInit Inheritance Initializer2D Inheritance Initializer Inheritance StardustElement



Public Properties
 PropertyDefined by
 Inheritedactive : Boolean
Denotes if the initializer is active, true by default.
Initializer
 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
  
StardustSpriteInit
 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
StardustSpriteInit
  
initialize(particle:Particle):void
Calls the IStardustSprite.init() method of a particle's target if the target implements the IStardustSprite interface.
StardustSpriteInit
 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
Constructor detail
StardustSpriteInit()constructor
public function StardustSpriteInit()
Method detail
getXMLTagName()method
public override function getXMLTagName():String

Returns
String
initialize()method 
public override function initialize(particle:Particle):void

Calls the IStardustSprite.init() method of a particle's target if the target implements the IStardustSprite interface.

Parameters
particle:Particle

See also