hmi.environment
Class GraphicsDemoEnvironment.MyRenderclockCallback
java.lang.Object
hmi.environment.GraphicsDemoEnvironment.MyRenderclockCallback
- All Implemented Interfaces:
- ClockListener
- Enclosing class:
- GraphicsDemoEnvironment
class GraphicsDemoEnvironment.MyRenderclockCallback
- extends Object
- implements ClockListener
This object is responsible for doing extra things on the render tick, such as navigation.
|
Method Summary |
void |
initTime(double time)
initTime() is called before the Clock starts running, and sends some initial time value. |
void |
time(double currentTime)
time() is called, with the "current time" specified in seconds. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GraphicsDemoEnvironment.MyRenderclockCallback
GraphicsDemoEnvironment.MyRenderclockCallback()
initTime
public void initTime(double time)
- Description copied from interface:
ClockListener
- initTime() is called before the Clock starts running, and sends some initial time value.
This will often equal the time send for the first regular time() call.
This is done on the same clock Thread that is going to send the regular time() calls.
- Specified by:
initTime in interface ClockListener
time
public void time(double currentTime)
- Description copied from interface:
ClockListener
- time() is called, with the "current time" specified in seconds.
- Specified by:
time in interface ClockListener