Example #1
0
        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));
        }
Example #3
0
 public UnitParser(IXmlDataService xmlDataService, UnitOverrideLoader unitOverrideLoader)
     : base(xmlDataService)
 {
     UnitOverrideLoader = unitOverrideLoader;
 }