time

Time

virtuosity.time

Classes

Methods


Classes

AdvancedTimer

Timer with extra functionality

new virtuosity.time.AdvancedTimer(duration, func);


Parameter Type Description
duration Int duration of the AdvancedTimer
func Function Funciton for the AdvancedTimer to run when completed

AdvancedInterval

Runs a function at a set interval, with some extra functionality.

new virtuosity.time.AdvancedInterval(duration, func);


Parameter Type Description
duration Int duration of the Interval
func Function Funciton for the Interval to run when completed


Methods

Timer

Runs a function after a set duration.

virtuosity.time.Timer(duration, func);


Parameter Type Description
duration Int duration of the timer
func Function Funciton for the timer to run when completed

Interval

Runs a function at a set interval.

virtuosity.time.Interval(duration, func);


Parameter Type Description
duration Int duration of the Interval
func Function Funciton for the Interval to run when completed