Constructor for Timer Class
Function to execute when timer is up.
Total time to wait before execution.
Callback to be executed once timer finishes.
Boolean for checking if Timer is destroyed or not.
Boolean for checking if Timer is paused or not.
Total time left.
Seconds time when it is started.
Total time given by user [ Used only for re-using timer. ]
setTimeout function
Destroy timer.
It can't be used again.
Pauses Timer
Boolean to tell that if it is paused or not.
Resumes Timer
Boolean to tell that if it is resumed or not.
Reusing of timer
Boolean to tell if it is re-used or not.
Generated using TypeDoc
Timer Class.
setTimeout + extra features ( re-starting, pausing, resuming ).