mirror of
https://github.com/lov3b/Schack.git
synced 2025-12-14 08:10:08 +01:00
Båda rör fortfarande samma färg och det repaintas bara varannat drag
This commit is contained in:
@@ -17,7 +17,8 @@ public final class SameBoard extends Board {
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void makeMove(Move move) {
|
||||
protected void makeMove(Move move) {
|
||||
moveList.addElement(move);
|
||||
move.movedPiece.move(pieces, move.to);
|
||||
turnCount++;
|
||||
whitesTurn = !whitesTurn;
|
||||
|
||||
Reference in New Issue
Block a user