mirror of
https://athene2.informatik.unibw-muenchen.de/progproj/gruppen-ht24/Gruppe-02.git
synced 2025-02-22 16:59:35 +01:00
can no longer build if already has hotel
This commit is contained in:
parent
8e3cf9c31e
commit
1369de865a
@ -119,10 +119,10 @@ public class BoardManager {
|
||||
return false; // Null check for safety
|
||||
}
|
||||
|
||||
//Check for mortage
|
||||
// if (field.isMortgaged()) {
|
||||
// return false;
|
||||
// }
|
||||
//Check for hotel
|
||||
if (field.getHotel() == 1) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// Get the color group of the property
|
||||
FieldColor groupColor = field.getColor();
|
||||
|
Loading…
Reference in New Issue
Block a user