public EdgePriorityComparator(CowzowBot bot, Dictionary <TerritoryIDType, int> captureCosts, BonusAnalyzer analyzer) { this.Bot = bot; Cache = new Dictionary <string, double>(); this.Analyzer = analyzer; this.CaptureCosts = captureCosts; if (analyzer == null) { throw new ArgumentNullException(); } }
public AttackOrderComparator(CowzowBot bot) { this.Bot = bot; Placements = new HashSet <TerritoryIDType>(bot.MyDeployments); Analyzer = bot.Analyzer; }
public AttackOrderComparator(CowzowBot bot) { this.Bot = bot; Placements = bot.MyDeployments.ToHashSet(true); Analyzer = bot.Analyzer; }