net.clackrouter.router.core
Class TimeManager

java.lang.Object
  extended by net.clackrouter.router.core.TimeManager

public class TimeManager
extends java.lang.Object


Field Summary
static int MAX_SLOWDOWN
           
static int MIN_SLOWDOWN
           
 
Constructor Summary
TimeManager()
           
 
Method Summary
 void Continue()
           
 int getDelay()
           
 long getTimeMillis()
           
 void killMe()
           
 void Pause()
           
 void Play()
           
 void setAlarm(Alarm t, long millis)
           
 void setClock(javax.swing.JLabel clock)
           
 void setDelay(int speed)
           
 void Step()
           
 void tick()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MAX_SLOWDOWN

public static int MAX_SLOWDOWN

MIN_SLOWDOWN

public static int MIN_SLOWDOWN
Constructor Detail

TimeManager

public TimeManager()
Method Detail

tick

public void tick()

setClock

public void setClock(javax.swing.JLabel clock)

Continue

public void Continue()

Step

public void Step()

Pause

public void Pause()

Play

public void Play()

setDelay

public void setDelay(int speed)

getDelay

public int getDelay()

getTimeMillis

public long getTimeMillis()

setAlarm

public void setAlarm(Alarm t,
                     long millis)

killMe

public void killMe()