Пример #1
0
 public Customer CreateCustomer(Tile tile)
 {
     int customerCash = Settings.Customer_BaseCash + (tile.propertyValue / 500);
     Customer newCustomer = new Customer(this, tile.x, tile.z, customerCash);
     newCustomer.DecideDestinationAndPath();
     customers.Add(newCustomer);
     return newCustomer;
 }