edu.cuny.cat.server
Class TelnetConsole.ClockStatus

java.lang.Object
  extended by edu.cuny.cat.server.TelnetConsole.ClockStatus
Enclosing class:
TelnetConsole

public static class TelnetConsole.ClockStatus
extends java.lang.Object

records the status of the GameClock.

Author:
Jinzhong Niu

Field Summary
protected  boolean ended
           
protected  boolean paused
           
protected  boolean started
           
 
Constructor Summary
TelnetConsole.ClockStatus()
           
 
Method Summary
 boolean endClock()
           
protected  boolean isEndable()
           
protected  boolean isPauseable()
           
protected  boolean isResumable()
           
protected  boolean isStartable()
           
 boolean pauseClock()
           
 boolean resumeClock()
           
 boolean startClock()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

started

protected boolean started

paused

protected boolean paused

ended

protected boolean ended
Constructor Detail

TelnetConsole.ClockStatus

public TelnetConsole.ClockStatus()
Method Detail

isStartable

protected boolean isStartable()

isPauseable

protected boolean isPauseable()

isResumable

protected boolean isResumable()

isEndable

protected boolean isEndable()

startClock

public boolean startClock()

pauseClock

public boolean pauseClock()

resumeClock

public boolean resumeClock()

endClock

public boolean endClock()