first step done
This commit is contained in:
parent
bd9365756f
commit
45abb2e6e0
|
|
@ -4,18 +4,20 @@ import java.util.ArrayList;
|
|||
|
||||
public class Board {
|
||||
|
||||
public Board(int colNum, int lineNum) {
|
||||
//TODO
|
||||
private int width;
|
||||
private int height;
|
||||
|
||||
public Board(int width, int height) {
|
||||
this.width = width;
|
||||
this.height = height;
|
||||
}
|
||||
|
||||
public int getWidth() {
|
||||
//TODO
|
||||
return 0;
|
||||
return width;
|
||||
}
|
||||
|
||||
public int getHeight() {
|
||||
//TODO
|
||||
return 0;
|
||||
return height;
|
||||
}
|
||||
|
||||
public int getTurnNumber() {
|
||||
|
|
|
|||
Loading…
Reference in New Issue