mirror of
https://github.com/lov3b/Schack.git
synced 2025-12-14 16:20:06 +01:00
Shifted coordinate system to fix bug
This commit is contained in:
@@ -11,6 +11,10 @@ public class Pawn extends Piece {
|
||||
setPieceIcon("Pawn");
|
||||
}
|
||||
|
||||
Pawn(boolean isWhite) {
|
||||
super(isWhite);
|
||||
}
|
||||
|
||||
@Override
|
||||
public LinkedHashSet<Point> validMoves(Piece[][] pieces) {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user