public Guards() { xdocGuards = new XmlDocument(); xdocGuards.Load(GUARDSSOURCEFILENAME); ca_parser_ = new ComboArmyParser(xdocGuards.DocumentElement); m_parser_ = new MonstersParser(xdocGuards.DocumentElement); tg_parser_ = new TownGarrisonParser(xdocGuards.DocumentElement, EnumConvert.MapSizeFromInt(Settings.Default.SelectedSizeIndex)); ts_parser_ = new TownSpecParser(); }
public TownGarrisonBuilder(TownGarrisonParser tg_parser) { tg_parser_ = tg_parser; }