private static IList <EntityGroupMatcherDefinition <NPC> > DefineNPCGroups() { var matchers = new List <EntityGroupMatcherDefinition <NPC> >(); EntityGroupDefs.DefineNPCGroups1(matchers); return(matchers); }
private static IList <Tuple <string, string[], NPCMatcher> > DefineNPCGroups() { var matchers = new List <Tuple <string, string[], NPCMatcher> >(); Action <string, string[], NPCMatcher> addNpcGrpDef = (name, dependencies, matcher) => { matchers.Add(new Tuple <string, string[], NPCMatcher>(name, dependencies, matcher)); }; EntityGroupDefs.DefineNPCGroups1(addNpcGrpDef); return(matchers); }