| Package | org.flintparticles.common.counters |
| Class | public class ZeroCounter |
| Inheritance | ZeroCounter Object |
| Implements | Counter |
| Property | Defined By | ||
|---|---|---|---|
| complete : Boolean [read-only]
Indicates if the counter has emitted all its particles. | ZeroCounter | ||
| running : Boolean [read-only]
Indicates if the counter is currently emitting 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.
public function get complete():Boolean| running | property |
running:Boolean [read-only] Indicates if the counter is currently emitting particles
public function get running():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.
Parameters
emitter: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.
Parameters
emitter:Emitter — The emitter.
| |
time:Number — The time, in seconds, since the previous call to this method.
|
uint — 0
|
See also