Class AnimeJTimer
Object
|
+--AnimeJTimer
- class
AnimeJTimer
This class implements a shared timer using a heap and the
setTimeout javascript function. Usually this class is not used by
the public API and it is used by the library.
Defined in AnimeJ.js
AnimeJTimer
AnimeJTimer()
RemoveTask
Object RemoveTask(<AnimeJAnimation> t)
Remove a task from the scheduler. If the task is not present it does nothing.
SetAlertDate
void SetAlertDate(<AnimeJAnimation> what, <int> when)
Schedules a task for execution.
Parameters:
what
- Task to be executed
when
- Absolute time at which the task should be scheduled.
SetAlertMillis
void SetAlertMillis(<AnimeJAnimation> what, <int> when)
Schedules a task for execution.
Parameters:
what
- Task to be executed
when
- Number of milliseconds to schedule the task.
Time
int Time()
Return the timer time, a number from start time to
the current time.
Documentation generated by
JSDoc on Sat Nov 29 18:20:44 2008