mirror of
https://athene2.informatik.unibw-muenchen.de/progproj/gruppen-ht24/Gruppe-02.git
synced 2025-12-03 04:48:47 +01:00
build correct
This commit is contained in:
@@ -327,6 +327,11 @@ public class ClientGameLogic implements ServerInterpreter, GameEventBroker {
|
|||||||
|
|
||||||
board.add(new Hotel(property.getId()));
|
board.add(new Hotel(property.getId()));
|
||||||
} else {
|
} else {
|
||||||
|
|
||||||
|
for(int i = 0; i < 4; i++) {
|
||||||
|
board.remove(board.getHouse(msg.getId(), i+1));
|
||||||
|
}
|
||||||
|
|
||||||
board.add(new House( property.getHouses(), property.getId()));
|
board.add(new House( property.getHouses(), property.getId()));
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user