public enum PokeBallMode extends java.lang.Enum<PokeBallMode>
Modifier and Type | Method and Description |
---|---|
static PokeBallMode |
getFromOrdinal(java.lang.Integer integer)
Finds the Poké Ball's mode from its enum ordinal.
|
static PokeBallMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PokeBallMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PokeBallMode EMPTY
public static final PokeBallMode FULL
public static final PokeBallMode BATTLE
public static PokeBallMode[] values()
for (PokeBallMode c : PokeBallMode.values()) System.out.println(c);
public static PokeBallMode 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 static PokeBallMode getFromOrdinal(java.lang.Integer integer)
integer
- The ordinal of the mode.