Class: RealEstateProfile

RealEstateProfile


new RealEstateProfile()

Represents a profile during a presentation of an real estate agent. Game entity class.

You only deal with this class in company.realEstateAgent function. There you look into all available RealEstateProfile objects and lease at least one restaurant. A place with a high locationQuality*locationSize/leaseCost value is always a good venue. Use the tryLease method to try to lease the restaurant. If more than one player tries to lease, the landlord will pick the offer with the highest bribe. If you buy the restaurant through the tryAcquisition method the value will be counted towards you final total assets.
Source:
RealEstateProfile.js

Members


city :String

Where the property is located. Read-only.
Type:
  • String
Source:
RealEstateProfile.js

salePrice :Number

The price to buy in USD for this property. Read-only.
Type:
  • Number
Source:
RealEstateProfile.js

leaseCost :Number

The price to lease in USD per month for this property. Read-only.
Type:
  • Number
Source:
RealEstateProfile.js

locationQuality :Number

The quality of this property. Ranges from 1 to 10. Higher means better. Read-only.
Type:
  • Number
Source:
RealEstateProfile.js

locationSize :Number

The size of this property in square-meters. Ranges from 25 to 250. Read-only.
Type:
  • Number
Source:
RealEstateProfile.js

Methods


tryLease(bribe)

Let you try to lease the property. If there are competing offerings you might not get it.
Parameters:
Name Type Description
bribe Number Amount of money you give to "convince" people that you get the offer
Source:
RealEstateProfile.js

tryAcquisition(bribe)

Let you try to buy the property. If there are competing offerings you might not get it.
Parameters:
Name Type Description
bribe Number Amount of money you give to "convince" people that you get the offer
Source:
RealEstateProfile.js