AnimeJ: a Javascript animation library

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
          
 
Constructor Summary
AnimeJTimer()
           
 
Method Summary
 Object RemoveTask(<AnimeJTask> t)
           Remove a task from the scheduler.
 void SetAlertDate(<AnimeJTask> what, <int> when)
           Schedules a task for execution.
 void SetAlertMillis(<AnimeJTask> what, <int> when)
           Schedules a task for execution.
 int Time()
           Return the timer time, a number from start time to the current time.

Field Detail

Heap

<private> Object Heap

Start

<private> Object Start

Constructor Detail

AnimeJTimer

AnimeJTimer()

Method Detail

RemoveTask

Object RemoveTask(<AnimeJTask> t)

SetAlertDate

void SetAlertDate(<AnimeJTask> what, <int> when)

SetAlertMillis

void SetAlertMillis(<AnimeJTask> what, <int> when)

Time

int Time()

AnimeJ: a Javascript animation library

Documentation generated by JSDoc on Thu Apr 15 11:15:01 2010