mirror of
https://athene2.informatik.unibw-muenchen.de/progproj/gruppen-ht24/Gruppe-02.git
synced 2025-01-18 19:33:40 +01:00
mortage
This commit is contained in:
parent
18300987a4
commit
40c550cc4d
@ -484,9 +484,9 @@ public class ServerGameLogic implements ClientInterpreter {
|
||||
// buildHouses(p1, Set.of(1, 3));
|
||||
|
||||
// Player 2 builds houses on the Red set
|
||||
buildHouses(p2, Set.of(21, 23, 24));
|
||||
buildHouses(p2, Set.of(23, 24));
|
||||
buildHouses(p2, Set.of( 24));
|
||||
// buildHouses(p2, Set.of(21, 23, 24));
|
||||
// buildHouses(p2, Set.of(23, 24));
|
||||
// // buildHouses(p2, Set.of( 24));
|
||||
|
||||
// Set player balances
|
||||
p1.setAccountBalance(12325);
|
||||
@ -518,6 +518,8 @@ public class ServerGameLogic implements ClientInterpreter {
|
||||
field.setOwner(player);
|
||||
player.addProperty(propertyId);
|
||||
}
|
||||
|
||||
updateAllPlayers();
|
||||
LOGGER.log(Level.DEBUG, "Properties assigned to player {0}: {1}", player.getName(), properties);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user