public enum BattleDirection extends java.lang.Enum<BattleDirection>
Enum Constant and Description |
---|
BackToMainMenu |
BattleMessage |
BattleSwitch |
EnforcedSwitch |
ExitBattle |
SetBattlingPokemon |
SetOpponent |
SetOpponentType |
Modifier and Type | Method and Description |
---|---|
static BattleDirection |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BattleDirection[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BattleDirection BattleMessage
public static final BattleDirection SetOpponentType
public static final BattleDirection SetOpponent
public static final BattleDirection SetBattlingPokemon
public static final BattleDirection EnforcedSwitch
public static final BattleDirection BackToMainMenu
public static final BattleDirection ExitBattle
public static final BattleDirection BattleSwitch
public static BattleDirection[] values()
for (BattleDirection c : BattleDirection.values()) System.out.println(c);
public static BattleDirection 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 null