This commit is contained in:
Abdelaziz Faysal EL GAMMAL 2025-04-15 09:49:03 +02:00
commit 00a81b0b74
2 changed files with 9 additions and 5 deletions

View File

@ -3,6 +3,7 @@ package backend;
import java.util.ArrayList; import java.util.ArrayList;
public class Board { public class Board {
private int colNum; private int colNum;
private int lineNum; private int lineNum;
private Piece[][] board; private Piece[][] board;

View File

@ -2,12 +2,15 @@ package backend;
public class Piece { public class Piece {
private int x;
private int y;
public int getX() { public int getX() {
return 0; return this.x;
} }
public int getY() { public int getY() {
return 0; return this.y;
} }
public PieceType getType() { public PieceType getType() {