com.croftsoft.core.sim
Class NanoDeltaClock

java.lang.Object
  extended by 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

Constructor Summary
NanoDeltaClock()
           
NanoDeltaClock(long nanoTime)
           
 
Method Summary
 double getDeltaTime()
           
 long getNanoTime()
           
 void setDeltaTime(double deltaTime)
           
 void setNanoTime(long nanoTime)
           
 void start()
           
 void update()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NanoDeltaClock

public NanoDeltaClock(long nanoTime)

NanoDeltaClock

public NanoDeltaClock()
Method Detail

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 Javadoc

CroftSoft Core Javadoc (2008-09-28 20:58:02)