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