getX and Y

This commit is contained in:
lucie.gauthier 2025-04-15 09:25:21 +02:00
parent 15b3250c7e
commit 45cf50f6ff
1 changed files with 5 additions and 2 deletions

View File

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