org.starhope.appius.game
Class PhysicsScheduler.Crankshaft

java.lang.Object
  extended by org.starhope.appius.game.PhysicsScheduler.Crankshaft
All Implemented Interfaces:
Runnable
Enclosing class:
PhysicsScheduler

private static final class PhysicsScheduler.Crankshaft
extends Object
implements Runnable

helper class buddy

Author:
brpocock@star-hope.org

Field Summary
private  AcceptsMetronomeTicks myEngine
          engine to be ticked
private  long then
          last tick time
 
Constructor Summary
PhysicsScheduler.Crankshaft(AcceptsMetronomeTicks engine)
           
 
Method Summary
 void run()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

myEngine

private final AcceptsMetronomeTicks myEngine
engine to be ticked


then

private long then
last tick time

Constructor Detail

PhysicsScheduler.Crankshaft

PhysicsScheduler.Crankshaft(AcceptsMetronomeTicks engine)
Parameters:
engine - engine to be ticked
Method Detail

run

public void run()
Specified by:
run in interface Runnable
See Also:
Runnable.run()