コード例 #1
0
ファイル: Data Types.cs プロジェクト: NoahSanders/Pokemon
 /// <summary>
 /// Creates an instance of a PokeType with the given PokemonType
 /// </summary>
 /// <param name="type">The type of the PokeType to instantiate</param>
 /// <returns>The created instance of the PokeType</returns>
 public static PokeType GetInstance(PokemonType type)
 {
     return GetInstance(type.ID());
 }