Squeak Class Documentation category index | class index  
 
AliceScheduler
  category: Balloon3D-Alice Time
  superclass: Object
  subclasses:

No comment. Sorry.

instance methods
  accessing
  getElapsedTime
getFPS
getTime
pause
resume
setSpeed:

  initialize
  initialize
reset

  ticking
  tick

  update list maintenance
  addUpdateItem:
removeUpdateItem:

class methods
  instance creation
  new

instance methods
  accessing top  
 

getElapsedTime

Returns the time that elapsed in the last Scheduler tick


 

getFPS

Returns the instantaneous frames per second (1 / elapsedTime)


 

getTime

Returns the current scheduler time


 

pause

Pause the scheduler. Pauses all script executiong, but any active cameras continue to render.


 

resume

If the scheduler was paused, resume it.


 

setSpeed:

This method sets the speed for the Scheduler. 1 is a 1:1 mapping with clock time, 2 is a 2:1 mapping, etc.


  initialize top  
 

initialize

Initialize the scheduler


 

reset

Resets the Wonderland time to 0


  ticking top  
 

tick

Figure out how much time has elapsed since the last Scheduler tick and update all the scripts


  update list maintenance top  
 

addUpdateItem:

Add a new item to the scheduler's update list (a running animation, active script, etc


 

removeUpdateItem:

Add a new item to the scheduler's update list (a running animation, active script, etc)


class methods
  instance creation top  
 

new

Create a new scheduler and initialize it