From 246566a21111cf985c68ac8c57c457d16f7a3a35 Mon Sep 17 00:00:00 2001 From: Johannes Schmelz Date: Mon, 9 Dec 2024 13:28:59 +0100 Subject: [PATCH] aussetzen --- .../model/src/main/java/pp/monopoly/model/card/DeckHelper.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Projekte/monopoly/model/src/main/java/pp/monopoly/model/card/DeckHelper.java b/Projekte/monopoly/model/src/main/java/pp/monopoly/model/card/DeckHelper.java index b6aa64d..c2b5f1a 100644 --- a/Projekte/monopoly/model/src/main/java/pp/monopoly/model/card/DeckHelper.java +++ b/Projekte/monopoly/model/src/main/java/pp/monopoly/model/card/DeckHelper.java @@ -274,6 +274,7 @@ public class DeckHelper{ private void dienstreiseLourd(Player player) { player.pay(1000); player.getHandler().getLogic().received(new EndTurn(), player.getId()); + player.getHandler().getLogic().send(player, new NotificationMessage("aussetzen")); } private void blutspendenSonderurlaub(Player player) { @@ -298,6 +299,7 @@ public class DeckHelper{ private void partyEskaliert(Player player) { player.getHandler().getLogic().received(new EndTurn(), player.getId()); + player.getHandler().getLogic().send(player, new NotificationMessage("aussetzen")); } private void vpEinstandsparty(Player player) { @@ -310,6 +312,7 @@ public class DeckHelper{ private void bergmarsch(Player player) { player.getHandler().getLogic().received(new EndTurn(), player.getId()); + player.getHandler().getLogic().send(player, new NotificationMessage("aussetzen")); } private void jodelEispenis(Player player) {