Packageidv.cjcat.stardust.twoD.actions
Classpublic class StardustSpriteUpdate
InheritanceStardustSpriteUpdate Inheritance Action2D Inheritance Action Inheritance StardustElement



Public Properties
 PropertyDefined by
 Inheritedactive : Boolean
Denotes if the action is active, true by default.
Action
 Inheritedmask : int
The action will affect a particle only if it's active and the bitwise AND of the action's mask and the particle's mask is non-zero, 1 by default.
Action
 Inheritedname : String
StardustElement
 InheritedneedsSortedParticles : Boolean
Tells the emitter whether this action requires that particles must be sorted before the update() calls.
Action
 InheritedonAdd : ISignal
Dispatched when the added to an emitter.
Action
 InheritedonPriorityChange : ISignal
Dispatched when the action's priority is changed.
Action
 InheritedonRemove : ISignal
Dispatched when the removed from an emitter.
Action
 Inheritedpriority : int
Actions will be sorted by the associated emitter according to their priorities.
Action
 InheritedskipThisAction : Boolean
Reset to false on each emitter step.
Action
 Inheritedsupports2D : Boolean
Whether this action supports 2D.
Action
 Inheritedsupports3D : Boolean
Whether this action supports 3D.
Action
Public Methods
 MethodDefined by
  
StardustSpriteUpdate
 Inherited
Action
 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
StardustSpriteUpdate
 Inherited
parseXML(xml:XML, builder:XMLBuilder = null):void
Action
 Inherited
postUpdate(emitter:Emitter, time:Number):void
[Template Method] This method is called once after each Emitter.step() method call, after the update() calls with each particles in the emitter.
Action
 Inherited
toXML():XML
Action
  
update(emitter:Emitter, particle:Particle, time:Number):void
Calls the IStardustSprite.update() method of a particle's target if the target implements the IStardustSprite interface.
StardustSpriteUpdate
Constructor detail
StardustSpriteUpdate()constructor
public function StardustSpriteUpdate()
Method detail
getXMLTagName()method
public override function getXMLTagName():String

Returns
String
update()method 
public override function update(emitter:Emitter, particle:Particle, time:Number):void

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

Parameters
emitter:Emitter
 
particle:Particle
 
time:Number

See also