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) {