Beispiel #1
0
 public AcDataConverter(AssettoCorsaConnector assettoCorsaConnector)
 {
     _connector          = assettoCorsaConnector;
     _currentSectorTimes = new Dictionary <string, TimeSpan[]>();
     _sectorLength       = null;
     _startObserver      = new AssettoCorsaStartObserver();
 }
Beispiel #2
0
 public AcDataConverter(AssettoCorsaConnector assettoCorsaConnector, AssettoCorsaStartObserver assettoCorsaStartObserver)
 {
     _connector                   = assettoCorsaConnector;
     _currentSectorTimes          = new Dictionary <string, TimeSpan[]>();
     _sectorLength                = null;
     _startObserver               = assettoCorsaStartObserver;
     _idealWheelQuantitiesFromXml = new IdealWheelQuantitiesFromXml(Path.Combine(AssemblyDirectory, "AcTyreProperties.xml"));
 }