| Package | idv.cjcat.stardust.common.clocks |
| Class | public class Clock |
| Inheritance | Clock StardustElement |
| Subclasses | CompositeClock, ImpulseClock, RandomClock, SteadyClock |
See also
| Method | Defined by | ||
|---|---|---|---|
|
Clock()
| Clock | ||
|
getElementTypeXMLTag():XML
| Clock | ||
![]() |
getRelatedObjects():Array
[Abstract Method] Returns the related objects of the element.
| StardustElement | |
|
getTicks(time:Number):int
[Template Method] On each
Emitter.step() call, this method is called. | Clock | ||
![]() |
getXMLTag():XML
Returns the root tag of the XML representation.
| StardustElement | |
![]() |
getXMLTagName():String
[Abstract Method] Returns the name of the root node of the element's XML representation.
| StardustElement | |
![]() |
parseXML(xml:XML, builder:XMLBuilder = null):void
[Abstract Method] Reconstructs the element from XML representations.
| StardustElement | |
![]() |
toXML():XML
[Abstract Method] Generates XML representation.
| StardustElement | |
| Clock | () | constructor |
public function Clock()
| getElementTypeXMLTag | () | method |
public override function getElementTypeXMLTag():XML
Returns
XML |
| getTicks | () | method |
public function getTicks(time:Number):int
[Template Method] On each Emitter.step() call, this method is called.
The returned value tells the emitter how many particles it should create.
Parameterstime:Number — The timespan of each emitter's step.
|
int |