From af5d4a95cdcb6d782fbafb2b6258f7472b798c10 Mon Sep 17 00:00:00 2001 From: Felix Koppe Date: Sat, 30 Nov 2024 12:45:08 +0100 Subject: [PATCH] Remove notifications --- .../main/java/pp/mdga/client/NotificationSynchronizer.java | 5 ----- 1 file changed, 5 deletions(-) diff --git a/Projekte/mdga/client/src/main/java/pp/mdga/client/NotificationSynchronizer.java b/Projekte/mdga/client/src/main/java/pp/mdga/client/NotificationSynchronizer.java index 055330ff..b35d1471 100644 --- a/Projekte/mdga/client/src/main/java/pp/mdga/client/NotificationSynchronizer.java +++ b/Projekte/mdga/client/src/main/java/pp/mdga/client/NotificationSynchronizer.java @@ -94,14 +94,9 @@ private void handleGame(Notification notification) { //InfieldMove gameView.getBoardHandler().movePiece(n.getPiece(), n.getStartIndex(), n.getMoveIndex()); } - } else if (notification instanceof MoveThrowPieceNotification) { - MoveThrowPieceNotification n = (MoveThrowPieceNotification)notification; - //gameView.getBoardHandler().throwPiece(n.); //TODO } else if (notification instanceof NoShieldNotification) { NoShieldNotification n = (NoShieldNotification)notification; gameView.getBoardHandler().unshieldPiece(n.getPieceId()); - } else if (notification instanceof PieceInGameNotification) { - // Handle PieceInGameNotification } else if (notification instanceof PlayCardNotification) { // Handle PlayCardNotification } else if (notification instanceof PlayerInGameNotification n) {