getX, getY, getType

This commit is contained in:
eliot 2025-04-17 10:53:10 +02:00
parent 46731482c8
commit 28357d2303
1 changed files with 7 additions and 3 deletions

View File

@ -2,16 +2,20 @@ package backend;
public class Piece {
public int x;
public int y;
public PieceType type;
public int getX() {
return 0;
return x;
}
public int getY() {
return 0;
return y;
}
public PieceType getType() {
return null;
return type;
}
public boolean isWhite() {