コード例 #1
0
ファイル: Company.cs プロジェクト: rektion/MonopolyProject
 public Company(string _name, Borough _borough)
 {
     this.Name          = _name;
     this.BuyPrice      = 15000;
     this.Owner         = null;
     this.MortgagePrice = (uint)7500;
     this.Borough       = _borough;
 }
コード例 #2
0
 public Station(string _name, Borough _borough)
 {
     this.Name          = _name;
     this.BuyPrice      = 20000;
     this.Owner         = null;
     this.MortgagePrice = (uint)10000;
     this.Borough       = _borough;
 }
コード例 #3
0
ファイル: Street.cs プロジェクト: rektion/MonopolyProject
 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;
 }