com.croftsoft.core.sim
Class NanoDeltaClock
java.lang.Object
com.croftsoft.core.sim.NanoDeltaClock
- All Implemented Interfaces:
- Startable, Updatable, DeltaClock
public final class NanoDeltaClock
- extends Object
- implements Startable, Updatable, DeltaClock
DeltaClock implementation.
- Since:
- 2008-07-06
- Version:
- $Id: NanoDeltaClock.java,v 1.3 2008/08/17 22:39:46 croft Exp $
- Author:
- David Wallace Croft
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NanoDeltaClock
public NanoDeltaClock(long nanoTime)
NanoDeltaClock
public NanoDeltaClock()
getNanoTime
public long getNanoTime()
getDeltaTime
public double getDeltaTime()
- Specified by:
getDeltaTime
in interface DeltaClock
setNanoTime
public void setNanoTime(long nanoTime)
setDeltaTime
public void setDeltaTime(double deltaTime)
start
public void start()
- Specified by:
start
in interface Startable
update
public void update()
- Specified by:
update
in interface Updatable
CroftSoft Core Javadoc (2008-09-28 20:58:02)