[LIB-9] Chessboard squares sorting
[chesshog.git] / src / main / java / org / hedgecode / chess / position / Position.java
index 6fd9713..c094da9 100644 (file)
@@ -27,6 +27,8 @@ public interface Position {
 
     Map<Square, ColorPiece> getSquares();
 
+    Map<Square, ColorPiece> getSquares(SquareSort sorting);
+
     Map<Square, ColorPiece> getSquarePieces(Color color);
 
     Map<Square, ColorPiece> getSquarePieces(Color color, Piece piece);