public class QGameTime
extends java.lang.Object
implements java.lang.Runnable
Constructor and Description |
---|
QGameTime()
Method name: GameTime()
Goal: Constructor.
|
QGameTime(boolean bCountUp,
int nHours,
int nMinutes,
int nSeconds,
QOAgent agent,
boolean TurnOrNeg)
Method name: GameTime()
Goal: Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
newGame()
Method name: newGame()
Goal: Start a new stop-watch.
|
void |
run()
Method name: run()
Goal: Display and run the stop-watch.
|
void |
setRun(boolean bRun) |
void |
setRunMethod(boolean bCountUp) |
void |
SetTime(boolean bCountUp,
int nHours,
int nMinutes,
int nSeconds,
boolean TurnOrNeg) |
void |
stopRunning()
Method name: stopRunning()
Goal: Stop the stop-watch.
|
public QGameTime(boolean bCountUp, int nHours, int nMinutes, int nSeconds, QOAgent agent, boolean TurnOrNeg)
public QGameTime()
public void SetTime(boolean bCountUp, int nHours, int nMinutes, int nSeconds, boolean TurnOrNeg)
public void run()
run
in interface java.lang.Runnable
public void stopRunning()
public void newGame()
public void setRunMethod(boolean bCountUp)
public void setRun(boolean bRun)