Class AnimeJTimer
Object
|
+--AnimeJTimer
- <private> 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
Field Summary |
<private> Object |
Heap
|
<private> Object |
Start
|
Heap
<private> Object Heap
Start
<private> Object Start
AnimeJTimer
AnimeJTimer()
RemoveTask
Object RemoveTask(<AnimeJTask> t)
Remove a task from the scheduler. If the task is not present it does nothing.
SetAlertDate
void SetAlertDate(<AnimeJTask> 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(<AnimeJTask> 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 Thu Apr 15 11:15:01 2010