Timer

class haxe.TimerAvailable in flash, flash9, neko, js, php, cppExecutes a function repeatedly, waiting a set amount of time between calls. To use a timer, create it and set the run method. function new( time_ms : Int ) : VoidAvailable in flash, flash9, js, cppCreate a new timer that calls run every time_ms milliseconds. dynamic function run() : VoidAvailable in flash, flash9, js, cppThe function that the timer calls. The timer starts when run is set. function stop() : VoidAvailable in flash, flash9, js, cppStops the timer. static function delay( f : Void -> Void, time_ms : Int ) : TimerAvailable in flash, flash9, js, cppCalls a function once after the specified delay. static function stamp() : FloatReturns a timestamp, in seconds
version #9009, modified 2010-08-14 17:10:36 by api