Empty chess board
This commit is contained in:
parent
194ac57eb8
commit
7bc1707ad6
|
|
@ -3,19 +3,23 @@ package backend;
|
|||
import java.util.ArrayList;
|
||||
|
||||
public class Board {
|
||||
private int width;
|
||||
private int height;
|
||||
|
||||
public Board(int colNum, int lineNum) {
|
||||
this.width = colNum;
|
||||
this.height = lineNum;
|
||||
//TODO
|
||||
}
|
||||
|
||||
public int getWidth() {
|
||||
//TODO
|
||||
return 0;
|
||||
return width;
|
||||
}
|
||||
|
||||
public int getHeight() {
|
||||
//TODO
|
||||
return 0;
|
||||
return height;
|
||||
}
|
||||
|
||||
public int getTurnNumber() {
|
||||
|
|
|
|||
Loading…
Reference in New Issue