mirror of
https://athene2.informatik.unibw-muenchen.de/progproj/gruppen-ht24/Gruppe-02.git
synced 2025-01-18 19:33:40 +01:00
Merge remote-tracking branch 'origin/gui' into gui
This commit is contained in:
commit
0698c29410
@ -157,7 +157,7 @@ public class TradeMenu extends Dialog {
|
||||
.getBoardManager()
|
||||
.getPropertyFields(app.getGameLogic()
|
||||
.getPlayerHandler()
|
||||
.getPlayerById(isLeft ? tradeHandler.getReceiver().getId() : tradeHandler.getSender().getId())
|
||||
.getPlayerById(isLeft ? tradeHandler.getSender().getId() : tradeHandler.getReceiver().getId())
|
||||
.getProperties());
|
||||
}
|
||||
|
||||
|
@ -298,7 +298,7 @@ public class ServerGameLogic implements ClientInterpreter {
|
||||
receiver.addJailCard();
|
||||
}
|
||||
|
||||
for (int i = 0; i < tradeHandler.getRequestedAmount(); i++) {
|
||||
for (int i = 0; i < tradeHandler.getRequestedJailCards(); i++) {
|
||||
sender.addJailCard();
|
||||
receiver.removeJailCard();
|
||||
}
|
||||
|
@ -249,7 +249,7 @@ public class DeckHelper{
|
||||
}
|
||||
|
||||
private void jahresabschlussantreten(Player player) {
|
||||
player.setPositionWithMoney(17);
|
||||
player.setPositionWithMoney(16);
|
||||
}
|
||||
|
||||
private void verkaufenVersicherungen(Player player) {
|
||||
|
Loading…
Reference in New Issue
Block a user