Exemplo n.º 1
0
        public Champion[] LoadAllChampions()
        {
            string championNamesFile = _resourceResolver.ResolveResourcePath(ResourceType.ChampionNames);

            return(_resourceReader.ReadResourceFile(championNamesFile)
                   .Select(name => new Champion(name))
                   .ToArray());
        }