std.timer.Timer.New - nitrologic/monkey2 GitHub Wiki

std::std.timer.std.timer.Timer.New

Method New:Void( hertz:monkey:monkey.types.Double,fired:Void() )

Creates a new Timer.

Creates new timer with hertz frequency.

The timer will continually invoke the fired function at the rate of hertz times per second.