| Package | org.flintparticles.common.counters |
| Class | public class ZeroCounter |
| Implements | Counter |
| Property | Defined by | ||
|---|---|---|---|
| complete : Boolean [read-only]
Indicates if the counter has emitted all its particles.
| ZeroCounter | ||
| Method | Defined by | ||
|---|---|---|---|
|
The constructor creates a Zero counter for use by an emitter.
| ZeroCounter | ||
|
resume():void
Does nothing
| ZeroCounter | ||
|
startEmitter(emitter:Emitter):uint
Returns 0 to indicate that the emitter should emit no particles when it
starts.
| ZeroCounter | ||
|
stop():void
Does nothing
| ZeroCounter | ||
|
updateEmitter(emitter:Emitter, time:Number):uint
Returns 0 to indicate that the emitter should emit no particles.
| ZeroCounter | ||
| complete | property |
complete:Boolean [read-only]Indicates if the counter has emitted all its particles. For the ZeroCounter this will always be true.
Implementation public function get complete():Boolean
| ZeroCounter | () | constructor |
public function ZeroCounter()The constructor creates a Zero counter for use by an emitter. To add a Zero counter to an emitter use the emitter's counter property.
See also
| resume | () | method |
public function resume():voidDoes nothing
| startEmitter | () | method |
public function startEmitter(emitter:Emitter):uintReturns 0 to indicate that the emitter should emit no 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 — 0
|
See also
| stop | () | method |
public function stop():voidDoes nothing
| updateEmitter | () | method |
public function updateEmitter(emitter:Emitter, time:Number):uintReturns 0 to indicate that the emitter should emit no particles.
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