AddPokemon() 공개 메소드

public AddPokemon ( PokemonModel model ) : void
model PokemonModel
리턴 void
예제 #1
0
 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)));
 }
예제 #2
0
 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)));
 }