File tree Expand file tree Collapse file tree 3 files changed +474
-0
lines changed
src/main/java/com/pokegoapi/api/pokemon Expand file tree Collapse file tree 3 files changed +474
-0
lines changed Original file line number Diff line number Diff line change 1+ package com .pokegoapi .api .pokemon ;
2+
3+ import java .util .List ;
4+
5+ import POGOProtos .Enums .PokemonIdOuterClass ;
6+
7+ public class EvolutionForm {
8+ private static PokemonIdOuterClass .PokemonId pokemonId ;
9+
10+ EvolutionForm (PokemonIdOuterClass .PokemonId pokemonId ) {
11+ this .pokemonId = pokemonId ;
12+ }
13+
14+ public boolean isFullyEvolved () {
15+ return EvolutionInfo .isFullyEvolved (pokemonId );
16+ }
17+
18+ public List <EvolutionForm > getEvolutionForms () {
19+ return EvolutionInfo .getEvolutionForms (pokemonId );
20+ }
21+
22+ public int getEvolutionStage () {
23+ return EvolutionInfo .getEvolutionStage (pokemonId );
24+ }
25+
26+ public static PokemonIdOuterClass .PokemonId getPokemonId () {
27+ return pokemonId ;
28+ }
29+ }
You can’t perform that action at this time.
0 commit comments