shout3d.core
Interface Clock

All Known Implementing Classes:
Shout3DPanel

public abstract interface Clock

A Shout3D Core Clock


Method Summary
 double getAbsoluteTime()
          this method gets the number of seconds since midnight GMT January 1, 1970, as of the last call to tick().
 void tick()
          This method updates the Clock and sets a new absolute time.
 

Method Detail

tick

public void tick()
This method updates the Clock and sets a new absolute time. This method must be automatically invoked once per call to Renderer.render(). This method may also be invoked by a programmer whenever a new simulation tick is desired.

getAbsoluteTime

public double getAbsoluteTime()
this method gets the number of seconds since midnight GMT January 1, 1970, as of the last call to tick().
Returns:
the time