Packageorg.flintparticles.twoD.activities
Classpublic class RotateEmitter
InheritanceRotateEmitter Inheritance ActivityBase Inheritance Object

The RotateEmitter activity rotates the emitter at a constant rate.



Public Properties
 PropertyDefined By
  angularVelocity : Number
The angular velocity for the emitter in radians per second.
RotateEmitter
 Inheritedpriority : int
Returns a default priority of 0 for this activity.
ActivityBase
Protected Properties
 PropertyDefined By
 Inherited_priority : int = 0
ActivityBase
Public Methods
 MethodDefined By
  
RotateEmitter(angularVelocity:Number = 0)
The constructor creates a RotateEmitter activity for use by an emitter.
RotateEmitter
 Inherited
addedToEmitter(emitter:Emitter):void
This method does nothing.
ActivityBase
 Inherited
initialize(emitter:Emitter):void
This method does nothing.
ActivityBase
 Inherited
This method does nothing.
ActivityBase
  
update(emitter:Emitter, time:Number):void
[override] This method does nothing.
RotateEmitter
Property Detail
angularVelocityproperty
angularVelocity:Number

The angular velocity for the emitter in radians per second.


Implementation
    public function get angularVelocity():Number
    public function set angularVelocity(value:Number):void
Constructor Detail
RotateEmitter()Constructor
public function RotateEmitter(angularVelocity:Number = 0)

The constructor creates a RotateEmitter activity for use by an emitter. To add a RotateEmitter to an emitter, use the emitter's addActvity method.

Parameters
angularVelocity:Number (default = 0)

See also

Method Detail
update()method
override public function update(emitter:Emitter, time:Number):void

This method does nothing. Derived classes override this method to alter the state of the emitter every frame.

Parameters

emitter:Emitter — The Emitter.
 
time:Number — The duration of the frame - used for time based updates.