示例#1
0
        protected override IEnumerable <ReferencedMatcherData> CreateCollection()
        {
            var coll = new ReferencedMatcherCollection <ISkillBuilder>();

            foreach (var skill in _skillNames)
            {
                coll.Add(skill.ToLowerInvariant(), _builderFactory(skill));
            }
            return(coll);
        }
示例#2
0
        protected override IEnumerable <ReferencedMatcherData> CreateCollection()
        {
            string[] skills =
            {
                "Blood Rage",   "Bone Offering",   "Detonate Mines",  "Flesh Offering",       "Molten Shell", "Raise Spectre",
                "Raise Zombie", "Spirit Offering", "Summon Skeleton", "Vaal Summon Skeleton", "Frost Blades"
            };
            var coll = new ReferencedMatcherCollection <ISkillBuilder>();

            foreach (var skill in skills)
            {
                coll.Add(skill, new SkillBuilderStub(skill, (c, _) => c));
            }
            return(coll);
        }