private static void ReadDataFolder(GameModeModel gameMode, string folderPath) { FileSystem.GetFiles(Path.Combine(folderPath, FolderNameData, FolderNameMoves), f => gameMode.AddMove(DataModel <MoveModel> .FromFile(f))); FileSystem.GetFiles(Path.Combine(folderPath, FolderNameData, FolderNamePokemon), f => gameMode.AddPokemon(DataModel <PokemonModel> .FromFile(f))); }
private static void ReadDataFolder(GameModeModel gameMode, string folderPath) { FileSystem.GetFiles(Path.Combine(folderPath, FolderNameData, FolderNameMoves), f => gameMode.AddMove(DataModel<MoveModel>.FromFile(f))); FileSystem.GetFiles(Path.Combine(folderPath, FolderNameData, FolderNamePokemon), f => gameMode.AddPokemon(DataModel<PokemonModel>.FromFile(f))); }