Ejemplo n.º 1
0
 public Property(Cell RelCell, string Name, Group newGroup, float[] Cost, float[] Rent, PROPERTY_TYPE PropertyType)
 {
     this.RelCell = RelCell;
     RelCell.setProperty(this);
     this.Name = Name;
     this.RelGroup = newGroup;
     newGroup.addProperty(this);
     this.Cost = Cost;
     this.Mortgage = Cost[0]/2;
     this.Rent = Rent;
     this.PropertyType = PropertyType;
     this.Owner = null;
     this.Buildings = 0;
 }