private void LoadTestData() { XmlDataOverriders xmlDataOverriders = XmlDataOverriders.Load(App.AssemblyPath, GameData, _overrideFileNameSuffix); _unitOverrideLoader = (UnitOverrideLoader)xmlDataOverriders.GetOverrider(typeof(UnitParser)); }
private void LoadTestData() { XmlDataOverriders xmlDataOverriders = XmlDataOverriders.Load(GameData, OverrideFileNameSuffix); UnitOverrideLoader = (UnitOverrideLoader)xmlDataOverriders.GetOverrider(typeof(UnitParser)); }
public UnitParser(IXmlDataService xmlDataService, UnitOverrideLoader unitOverrideLoader) : base(xmlDataService) { UnitOverrideLoader = unitOverrideLoader; }