|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--utilities.Clock
Keeps track of the simulation time
Method Summary | |
static Clock |
getClock()
Returns the simulation clock |
java.awt.Label |
getLabel()
Gets the clocks component label |
static int |
getTime()
Returns the current time |
static void |
reset()
Resets the clock |
static void |
setTime(int t)
Sets the time |
static void |
tick()
Increments the clock. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static Clock getClock()
public static void reset()
public static void tick()
public static void setTime(int t)
t
- The timepublic static int getTime()
public java.awt.Label getLabel()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |