| Package | org.flintparticles.common.counters |
| Class | public class Blast |
| Implements | Counter |
| Property | Defined by | ||
|---|---|---|---|
| startCount : Number
The number of particles to emit when the emitter starts.
| Blast | ||
| Method | Defined by | ||
|---|---|---|---|
|
Blast(startCount:uint)
The constructor creates a Blast counter for use by an emitter.
| Blast | ||
|
resume():void
Does nothing.
| Blast | ||
|
startEmitter(emitter:Emitter):uint
Initilizes the counter.
| Blast | ||
|
stop():void
Does nothing.
| Blast | ||
|
updateEmitter(emitter:Emitter, time:Number):uint
Returns 0 to indicate that no particles should be emitted after the
initial blast.
| Blast | ||
| startCount | property |
startCount:Number [read-write]The number of particles to emit when the emitter starts.
Implementation public function get startCount():Number
public function set startCount(value:Number):void
| Blast | () | constructor |
public function Blast(startCount:uint)The constructor creates a Blast counter for use by an emitter. To add a Blast counter to an emitter use the emitter's counter property.
ParametersstartCount:uint — The number of particles to emit
when the emitter starts.
|
See also
| resume | () | method |
public function resume():voidDoes nothing. Since the blast counter emits a single blast and then stops, stopping and resuming it changes nothing.
| startEmitter | () | method |
public function startEmitter(emitter:Emitter):uintInitilizes the counter. Returns startCount to indicate that the emitter should emit that many particles when it starts.
This method is called within the emitter's start method and need not be called by the user.
Parametersemitter:Emitter — The emitter.
|
uint — the value of startCount.
|
See also
| stop | () | method |
public function stop():voidDoes nothing. Since the blast counter emits a single blast and then stops, stopping it changes nothing.
| updateEmitter | () | method |
public function updateEmitter(emitter:Emitter, time:Number):uintReturns 0 to indicate that no particles should be emitted after the initial blast.
This method is called within the emitter's update loop and need not be called by the user.
Parametersemitter:Emitter — The emitter.
|
|
time:Number — The time, in seconds, since the previous call to this method.
|
uint — 0
|
See also