diff --git a/uebung02/chess/Board.java b/uebung02/chess/Board.java index 74818a1..9ae74f2 100644 --- a/uebung02/chess/Board.java +++ b/uebung02/chess/Board.java @@ -31,7 +31,7 @@ class Board { } } - Piece pieceAt(int col, int row) { + Piece pieceAt(int row, int col) { for (Piece p : Pieces) if (p.row == row && p.col == col) return p;