Exemplo n.º 1
0
 public void PokemonCaught(Pokemon caughtPokemon)
 {
     if (Player.Pokemons.Count < 6)
     {
         Player.Pokemons.Add(caughtPokemon);
         Player.SavePokemons(caughtPokemon.Level, caughtPokemon.PokedexId, Player.Pokemons.Count - 1);
     }
     else
     {
         Player.SavePokemons(caughtPokemon.Level, caughtPokemon.PokedexId, null);
     }
 }