Esempio n. 1
0
 public Company(string _name, Borough _borough)
 {
     this.Name          = _name;
     this.BuyPrice      = 15000;
     this.Owner         = null;
     this.MortgagePrice = (uint)7500;
     this.Borough       = _borough;
 }
Esempio n. 2
0
 public Station(string _name, Borough _borough)
 {
     this.Name          = _name;
     this.BuyPrice      = 20000;
     this.Owner         = null;
     this.MortgagePrice = (uint)10000;
     this.Borough       = _borough;
 }
Esempio n. 3
0
 public Street(string _name, uint _buyPrice, uint _mortgagePrice, Borough _borough)
 {
     this.Name          = _name;
     this.BuyPrice      = _buyPrice;
     this.Owner         = null;
     this.MortgagePrice = _mortgagePrice;
     this.Borough       = _borough;
     this.HousePrice    = _borough.housePrice;
 }