Timer

Parent: EventDispatcher Object
Package: luster

No short description available
No long description available


Show Inherited Functions
Hide Inherited Functions
Function Defined By
addEventListener ( name:, handler: ) : nil
No short description available
EventDispatcher
dispatchEvent ( name: ) : nil
No short description available
EventDispatcher
getTime ( ) : nil
Returns an integer in milliseconds.
Timer
init ( ) : nil
No short description available
Timer
onTick ( ) : nil
No short description available
Timer
removeEventListener ( name:, handler: ) : nil
No short description available
EventDispatcher
start ( interval:, count: ) : nil
Start sets the timer to tick at the given interval
Timer
stop ( ) : nil
Stop ends the timer, whether or not it has expired due to count
Timer

Function Details


getTime

Returns an integer in milliseconds.
This value is arbitrary and is only useful as a comparison to other values returned by this function.



init

No short description available
No long description available



onTick

No short description available
No long description available



start

Start sets the timer to tick at the given interval
No long description available

Arguments

Argument Type Description
interval
count


stop

Stop ends the timer, whether or not it has expired due to count
No long description available