public class Pokedex
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static Species[] |
actualPokedex
The array of enabled pokemon
|
static java.util.Map<java.lang.Integer,PokedexEntry> |
FULL_POKEDEX
A map of National Pokédex numbers to Pokémon entries.
|
static int |
pokedexSize
The number of Pokémon in existence in-game.
|
Constructor and Description |
---|
Pokedex() |
Modifier and Type | Method and Description |
---|---|
static boolean |
isEntryEmpty(int i)
Checks if a number doesn't map to a Pokémon.
|
static void |
loadPokedex() |
static int |
nameToID(java.lang.String name)
Gets the National Pokédex number of a Pokémon from its name.
|
static void |
resetPokedex() |
public static final java.util.Map<java.lang.Integer,PokedexEntry> FULL_POKEDEX
public static int pokedexSize
public static Species[] actualPokedex
public static void resetPokedex()
public static void loadPokedex()
public static int nameToID(java.lang.String name)
name
- The name of the Pokémon to get its number for.public static boolean isEntryEmpty(int i)
i
- The number to check.