public static enum GenericGUIPacket.GUITypes extends java.lang.Enum<GenericGUIPacket.GUITypes>
Modifier and Type | Method and Description |
---|---|
static GenericGUIPacket.GUITypes |
spectating(boolean spectating) |
static GenericGUIPacket.GUITypes |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static GenericGUIPacket.GUITypes[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GenericGUIPacket.GUITypes DECK
public static final GenericGUIPacket.GUITypes BATTLE
public static final GenericGUIPacket.GUITypes SPECTATE
public static GenericGUIPacket.GUITypes[] values()
for (GenericGUIPacket.GUITypes c : GenericGUIPacket.GUITypes.values()) System.out.println(c);
public static GenericGUIPacket.GUITypes 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 GenericGUIPacket.GUITypes spectating(boolean spectating)