à vous les copains
This commit is contained in:
parent
cb1ec97e9b
commit
a062e55489
|
|
@ -4,18 +4,26 @@ import java.util.ArrayList;
|
|||
|
||||
public class Board {
|
||||
|
||||
public int width;
|
||||
public int height;
|
||||
|
||||
public Board(int colNum, int lineNum) {
|
||||
//TODO
|
||||
this.width = colNum;
|
||||
this.height = lineNum;
|
||||
|
||||
}
|
||||
|
||||
|
||||
public int getWidth() {
|
||||
//TODO
|
||||
return 0;
|
||||
return width;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public int getHeight() {
|
||||
//TODO
|
||||
return 0;
|
||||
return height;
|
||||
}
|
||||
|
||||
public int getTurnNumber() {
|
||||
|
|
@ -42,7 +50,7 @@ public class Board {
|
|||
|
||||
public String toString() {
|
||||
//TODO
|
||||
return "";
|
||||
return "board";
|
||||
}
|
||||
|
||||
public ArrayList<Piece> getPieces() {
|
||||
|
|
|
|||
Loading…
Reference in New Issue