Lektion 3

Nu kan man gå med kung
This commit is contained in:
loveb
2022-03-08 16:19:36 +01:00
parent f00f0af75d
commit f7d601491c
9 changed files with 195 additions and 48 deletions

View File

@@ -22,10 +22,6 @@ public class Pawn extends Piece {
}
@Override
public void move(Piece[][] pieces) {
throw new UnsupportedOperationException("Not supported yet."); // Generated from nbfs://nbhost/SystemFileSystem/Templates/Classes/Code/GeneratedMethodBody
}
@Override
public String toString() {
return "Pawn{" + "position=" + position + ", isWhite=" + isWhite + '}';
}