Example #1
0
 /// <summary>
 /// existing SpriteType with the same id will be overwritten
 /// </summary>
 public void AddPokemonType(PokemonType pokemon)
 {
     Contract.Requires(pokemon != null);
       pokemons[pokemon.Id] = pokemon;
 }
Example #2
0
 /// <summary>
 /// existing SpriteType with the same id will be overwritten
 /// </summary>
 public void AddPokemonType(PokemonType pokemon)
 {
     Pokemons[pokemon.Id] = pokemon;
 }