public RaceTower() { drivers = new List <Driver>(); outOfRaceDrivers = new List <Driver>(); driverFactory = new DriverFactory(); tyreFactory = new TyreFactory(); }
public RaceTower() { this.driverFactory = new DriverFactory(); this.tyreFactory = new TyreFactory(); this.drivers = new Dictionary <string, Driver>(); this.disqDrivers = new Dictionary <Driver, string>(); this.hasWinner = false; }
public DriverFactory() { this.tyreFactory = new TyreFactory(); }