mirror of
https://athene2.informatik.unibw-muenchen.de/progproj/gruppen-ht24/Gruppe-02.git
synced 2025-07-31 09:27:42 +02:00
TradeReplay popup
This commit is contained in:
@@ -307,8 +307,10 @@ public class ClientGameLogic implements ServerInterpreter, GameEventBroker {
|
||||
public void received(TradeReply msg) {
|
||||
if (msg.isAccepted()) {
|
||||
playSound(Sound.TRADE_ACCEPTED);
|
||||
notifyListeners(new PopUpEvent("tradepos", msg));
|
||||
} else {
|
||||
playSound(Sound.TRADE_REJECTED);
|
||||
notifyListeners(new PopUpEvent("tradeneg", msg));
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user