From a34414573245764d3248a5d39074663bd49549d7 Mon Sep 17 00:00:00 2001 From: Johannes Schmelz Date: Mon, 25 Nov 2024 00:28:42 +0100 Subject: [PATCH] fixed sounds --- .../java/pp/monopoly/client/GameSound.java | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/Projekte/monopoly/client/src/main/java/pp/monopoly/client/GameSound.java b/Projekte/monopoly/client/src/main/java/pp/monopoly/client/GameSound.java index a5b97eb..2722afa 100644 --- a/Projekte/monopoly/client/src/main/java/pp/monopoly/client/GameSound.java +++ b/Projekte/monopoly/client/src/main/java/pp/monopoly/client/GameSound.java @@ -228,15 +228,15 @@ public class GameSound extends AbstractAppState implements GameEventListener { switch (event.sound()) { case PASS_START -> passStart(); case EVENT_CARD -> eventCard(); - case GULAG -> eventCard(); - case DICE_ROLL -> eventCard(); - case MONEY_COLLECTED -> eventCard(); - case MONEY_LOST -> eventCard(); - case TRADE_ACCEPTED -> eventCard(); - case TRADE_REJECTED -> eventCard(); - case WINNER -> eventCard(); - case LOSER -> eventCard(); - case BUTTON -> eventCard(); + case GULAG -> gulag(); + case DICE_ROLL -> diceRoll(); + case MONEY_COLLECTED -> moneyCollect(); + case MONEY_LOST -> moneyLost(); + case TRADE_ACCEPTED -> tradeAccepted(); + case TRADE_REJECTED -> tradeRejected(); + case WINNER -> winner(); + case LOSER -> looser(); + case BUTTON -> button(); } } }