Packagecom.desuade.partigen.particles
Classpublic dynamic class Particle
InheritanceParticle Inheritance BasicParticle Inheritance flash.display.Sprite
Implements IParticle

Language Version : ActionScript 3
Since : 08.05.2009
Runtime Versions : AIR 1.0, Flash Player 9.0.0

This is the standard particle class used with the Emitter class that includes MotionControllers.



Public Properties
 PropertyDefined By
 InheritedclassPool : MultiPool
[static] This is the MultiPool that stores all the object pools for particle classes.
BasicParticle
  controllers : Object
This holds all of the MotionControllers that are currently being ran on the particle.
Particle
 Inheritedemitter : BasicEmitter
[read-only] The parent emitter that emitted this particle.
BasicParticle
 Inheritedgroup : Array
This holds the particles inside of the group.
BasicParticle
 Inheritedid : int
[read-only] The unique id of the particle.
BasicParticle
 Inheritedisbuilt : Boolean = false
This is used by the emitter and pools to determine if the controllers, groups, bitmaps, etc have already been built.
BasicParticle
 Inheritedisclean : Boolean = true
This is used by the emitter and pools to determine if/how the particle has been used before in memory.
BasicParticle
 Inheritedlife : Number
The life of the particle: how long the particle will live for.
BasicParticle
  scale : Number
This sets/gets both X and Y scales at once.
Particle
Public Methods
 MethodDefined By
  
Creates a new particle.
Particle
  
init(emitter:BasicEmitter):void
[override]
Particle
  
kill(... args):void
[override]
Particle
Property Detail
controllersproperty
public var controllers:Object

This holds all of the MotionControllers that are currently being ran on the particle.

scaleproperty 
scale:Number

This sets/gets both X and Y scales at once.


Implementation
    public function get scale():Number
    public function set scale(value:Number):void
Constructor Detail
Particle()Constructor
public function Particle()

Creates a new particle. This should normally not be called; use emitter.emit() instead of this.

See also

Method Detail
init()method
override public function init(emitter:BasicEmitter):void

Parameters

emitter:BasicEmitter

kill()method 
override public function kill(... args):void

Parameters

... args