Modifier and Type | Field and Description |
---|---|
private byte |
displayType |
Constructor and Description |
---|
Display(byte displayType) |
Modifier and Type | Method and Description |
---|---|
void |
display(int[][] a1,
int[][] a2)
displays the place of black and white discs and blanks (will be overridden in console and graphic version)
|
int[] |
getInput() |
java.lang.String |
printing(java.lang.String toPrint,
int playerNumber) |
public void display(int[][] a1, int[][] a2)
a1
- array of the player1's discsa2
- array of the player2's discspublic int[] getInput()
public java.lang.String printing(java.lang.String toPrint, int playerNumber)