Scheduler
Schedule functions to run in the future.
Last updated
Schedule functions to run in the future.
Last updated
Int
Function
Function
int Enum.ONE_SECOND
This is equal to 30, which is how many frames there are in a second.
void Schedule(int frameDelay, function callback, any... ...)
Schedule callback
to run with all arguments provided (...
is a ) after frameDelay
frames have passed.
void Empty()
Cancel all scheduled tasks. This is called internally when the game is exited or on gameover.
void
(int
frameDelay, function
callback, any...
...)
void
()