org.starhope.appius.game
Class PhysicsScheduler.Crankshaft
java.lang.Object
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
Method Summary |
void |
run()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
myEngine
private final AcceptsMetronomeTicks myEngine
- engine to be ticked
then
private long then
- last tick time
PhysicsScheduler.Crankshaft
PhysicsScheduler.Crankshaft(AcceptsMetronomeTicks engine)
- Parameters:
engine
- engine to be ticked
run
public void run()
- Specified by:
run
in interface Runnable
- See Also:
Runnable.run()