public void Initialize() { _carPerformance = new CarPerformanceSimulator(); _carFactory = new CarFactory(); _raceFactory = new RaceFactory(); _distanceCalculator = new DistanceCalculator(); }
public void Initialize() { _carFactory = new CarFactory(); }