Shifted coordinate system to fix bug

This commit is contained in:
Loveb
2022-03-06 11:10:59 +01:00
parent 17fcfbc571
commit 795bcf1345
6 changed files with 88 additions and 80 deletions

View File

@@ -11,6 +11,10 @@ public class Pawn extends Piece {
setPieceIcon("Pawn");
}
Pawn(boolean isWhite) {
super(isWhite);
}
@Override
public LinkedHashSet<Point> validMoves(Piece[][] pieces) {