mirror of
https://athene2.informatik.unibw-muenchen.de/progproj/gruppen-ht24/Gruppe-02.git
synced 2025-02-23 06:59:36 +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
|
return false; // Null check for safety
|
||||||
}
|
}
|
||||||
|
|
||||||
//Check for mortage
|
//Check for hotel
|
||||||
// if (field.isMortgaged()) {
|
if (field.getHotel() == 1) {
|
||||||
// return false;
|
return false;
|
||||||
// }
|
}
|
||||||
|
|
||||||
// Get the color group of the property
|
// Get the color group of the property
|
||||||
FieldColor groupColor = field.getColor();
|
FieldColor groupColor = field.getColor();
|
||||||
|
Loading…
Reference in New Issue
Block a user