java.lang.Object | +--TestIC
Constructor Summary | |
TestIC(char[][] newBoard)
TestIC - constructor for an instance |
Method Summary | |
void |
drawBoard(char turn)
drawBoard - draws the board on the screen using ascii art |
int |
getInput()
getInput - reads input from the user via util.readInteger() |
void |
printMessage(java.lang.String msg)
printMessage - prints an particular String to the screen |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public TestIC(char[][] newBoard)
newBoard
- Board reference from the driverMethod Detail |
public void drawBoard(char turn)
turn
- character representing the current turnpublic void printMessage(java.lang.String msg)
msg
- String message to be printedpublic int getInput()