turn reset to 0
This commit is contained in:
parent
efd4d69f99
commit
b1305e9728
|
|
@ -10,7 +10,6 @@ public class Board {
|
|||
private int n;
|
||||
private int selectedX = -1;
|
||||
private int selectedY = -1;
|
||||
|
||||
public Board(int colNum, int lineNum) {
|
||||
this.width = colNum; // col move x
|
||||
this.height = lineNum; // line mov in y
|
||||
|
|
@ -77,6 +76,7 @@ public class Board {
|
|||
}
|
||||
|
||||
public void cleanBoard() {
|
||||
turn = 0;
|
||||
this.board = new Piece[width][height]; // should work ?
|
||||
//this.isTurnWhite = true;
|
||||
} // force
|
||||
|
|
|
|||
Loading…
Reference in New Issue