public enum EnumPokeChestType extends java.lang.Enum<EnumPokeChestType>
Enum Constant and Description |
---|
BEASTBALL |
MASTERBALL |
POKEBALL |
SPECIAL |
ULTRABALL |
Modifier and Type | Method and Description |
---|---|
PokeBall |
getBall() |
static EnumPokeChestType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EnumPokeChestType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EnumPokeChestType POKEBALL
public static final EnumPokeChestType ULTRABALL
public static final EnumPokeChestType MASTERBALL
public static final EnumPokeChestType BEASTBALL
public static final EnumPokeChestType SPECIAL
public static EnumPokeChestType[] values()
for (EnumPokeChestType c : EnumPokeChestType.values()) System.out.println(c);
public static EnumPokeChestType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic PokeBall getBall()