| Package | org.flintparticles.twoD.actions |
| Class | public class Move |
| Inheritance | Move ActionBase |
This action has a priority of -10, so that it executes after other actions.
| Method | Defined by | ||
|---|---|---|---|
|
Move()
The constructor creates a Move action for use by an emitter.
| Move | ||
![]() |
addedToEmitter(emitter:Emitter):void
This method does nothing.
| ActionBase | |
![]() |
removedFromEmitter(emitter:Emitter):void
This method does nothing.
| ActionBase | |
|
Updates the particle's position based on its velocity and the period of
time indicated.
| Move | ||
| Move | () | constructor |
public function Move()The constructor creates a Move action for use by an emitter. To add a Move to all particles created by an emitter, use the emitter's addAction method.
See also
| update | () | method |
public override function update(emitter:Emitter, particle:Particle, time:Number):voidUpdates the particle's position based on its velocity and the period of time indicated.
This method is called by the emitter and need not be called by the user.
Parametersemitter:Emitter — The Emitter that created the particle.
|
|
particle:Particle — The particle to be updated.
|
|
time:Number — The duration of the frame - used for time based updates.
|
See also