git.hedgecode.org
/
chesshog.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[LIB-9] Chessboard squares sorting
[chesshog.git]
/
src
/
main
/
java
/
org
/
hedgecode
/
chess
/
position
/
Position.java
diff --git
a/src/main/java/org/hedgecode/chess/position/Position.java
b/src/main/java/org/hedgecode/chess/position/Position.java
index
6fd9713
..
c094da9
100644
(file)
--- a/
src/main/java/org/hedgecode/chess/position/Position.java
+++ b/
src/main/java/org/hedgecode/chess/position/Position.java
@@
-27,6
+27,8
@@
public interface Position {
Map<Square, ColorPiece> getSquares();
Map<Square, ColorPiece> getSquares();
+ Map<Square, ColorPiece> getSquares(SquareSort sorting);
+
Map<Square, ColorPiece> getSquarePieces(Color color);
Map<Square, ColorPiece> getSquarePieces(Color color, Piece piece);
Map<Square, ColorPiece> getSquarePieces(Color color);
Map<Square, ColorPiece> getSquarePieces(Color color, Piece piece);