mirror of
https://athene2.informatik.unibw-muenchen.de/progproj/gruppen-ht24/Gruppe-02.git
synced 2025-09-14 10:41:49 +02:00
can no longer build if already has hotel
This commit is contained in:
@@ -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();
|
||||||
|
Reference in New Issue
Block a user