public static enum BattleAPI.BattleSide extends java.lang.Enum<BattleAPI.BattleSide>
Modifier and Type | Method and Description |
---|---|
static BattleAPI.BattleSide |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BattleAPI.BattleSide[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BattleAPI.BattleSide ONE
public static final BattleAPI.BattleSide TWO
public static final BattleAPI.BattleSide NO_JOIN
public static BattleAPI.BattleSide[] values()
for (BattleAPI.BattleSide c : BattleAPI.BattleSide.values()) System.out.println(c);
public static BattleAPI.BattleSide 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 nullCopyright © 2013 Fractal Softworks, LLC. All Rights Reserved.