public static Entities.Pokemon BuildPokemon(
            int id = 1,
            Entities.PokemonName name = null,
            List <string> types       = null,
            BaseStat baseStat         = null)
        {
            return(new Entities.Pokemon()
            {
                Id = id,
                Name = name == null?BuildPokemonName() : name,
                           Types = types == null ? new List <string>()
                {
                    "Grass"
                }

                                                                       : types,
                BaseStat = baseStat == null?BuildBaseStat() : baseStat
            });
        }
Example #2
0
 public void UpdatE(PokemonName name)
 {
     this.English  = name.English;
     this.Japanese = name.Japanese;
     this.Chinese  = name.Chinese;
 }