Packageidv.cjcat.stardust.twoD.particles
Classpublic class Particle2D
InheritanceParticle2D Inheritance Particle

This class represents a 2D particle and its properties.



Public Properties
 PropertyDefined by
 Inheritedalpha : Number
The alpha value of the particle.
Particle
 InheritedcollisionRadius : Number
The collision radius of the particle.
Particle
 Inheritedcolor : uint
Particle color.
Particle
 Inheriteddictionary : Dictionary
Dictionary for storing additional information.
Particle
 InheritedinitAlpha : Number
The normal alpha value upon birth.
Particle
 InheritedinitLife : Number
The initial life upon birth.
Particle
 InheritedinitScale : Number
The normal scale upon birth.
Particle
 InheritedisDead : Boolean
Whether the particle is marked as dead.
Particle
 Inheritedlife : Number
The remaining life of the particle.
Particle
 Inheritedmask : int
The mask value of the particle.
Particle
 Inheritedmass : Number
The mass of the particle.
Particle
  omega : Number
Particle2D
 Inheritedrecyclers : Dictionary
Particle
  rotation : Number
Particle2D
 Inheritedscale : Number
The scale of the particle.
Particle
 InheritedsortedIndexIterator : ParticleIterator
The sorted index iterator.
Particle
 Inheritedtarget : *
Custom user data of the particle.
Particle
  vx : Number
Particle2D
  vy : Number
Particle2D
  x : Number
Particle2D
  y : Number
Particle2D
Public Methods
 MethodDefined by
  
Particle2D
 Inherited
destroy():void
Particle
  
init():void
Particle2D
Property detail
omegaproperty
public var omega:Number
rotationproperty 
public var rotation:Number
vxproperty 
public var vx:Number
vyproperty 
public var vy:Number
xproperty 
public var x:Number
yproperty 
public var y:Number
Constructor detail
Particle2D()constructor
public function Particle2D()
Method detail
init()method
public override function init():void