mirror of
https://github.com/smyalygames/monopoly.git
synced 2025-05-18 06:14:10 +02:00
Yes
This commit is contained in:
parent
f65ff7e1f6
commit
b82552fc38
@ -24,9 +24,16 @@ public class Property
|
||||
public int? property_house3; //This is the rent if it has 3 houses
|
||||
public int? property_house4; //This is the rent if it has 4 houses
|
||||
public int? property_hotel; //This is the rent if it has a hotel
|
||||
public int houses = 0; //How many houses it has. (Can have up to 4)
|
||||
public bool hotel = false; //Whether it has a hotel or not. (Can only have 1)
|
||||
public bool mortgage = false; //Whether the property has been mortgaged.
|
||||
public int houses; //How many houses it has. (Can have up to 4)
|
||||
public bool hotel; //Whether it has a hotel or not. (Can only have 1)
|
||||
public bool mortgage; //Whether the property has been mortgaged.
|
||||
|
||||
public Property()
|
||||
{
|
||||
houses = 0;
|
||||
hotel = false;
|
||||
mortgage = false;
|
||||
}
|
||||
|
||||
public void addHouse() //Used to add a house.
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user