fixed a method call for getMoveIndices

This commit is contained in:
Fleischer Hanno
2024-12-01 21:52:28 +01:00
parent 133f900ec7
commit 5a68d3b146

View File

@@ -164,7 +164,7 @@ private void handleGame(Notification notification) {
} else if (notification instanceof WaitMoveNotification) { } else if (notification instanceof WaitMoveNotification) {
//TODO ??? //TODO ???
} else if (notification instanceof SelectableMoveNotification n) { } else if (notification instanceof SelectableMoveNotification n) {
boardHandler.outlineMove(n.getPieces(), n.getMoveIndexe(), n.getHomeMoves()); boardHandler.outlineMove(n.getPieces(), n.getMoveIndices(), n.getHomeMoves());
} else if (notification instanceof SelectableSwapNotification n) { } else if (notification instanceof SelectableSwapNotification n) {
boardHandler.outlineSwap(n.getOwnPieces(), n.getEnemyPieces()); boardHandler.outlineSwap(n.getOwnPieces(), n.getEnemyPieces());
// } //else if (notification instanceof SelectableShieldNotification n) { // } //else if (notification instanceof SelectableShieldNotification n) {