public enum MenuItem extends Enum<MenuItem>
| Enum Constant and Description |
|---|
EXTRA
Enables EXTRA -> CREDITS, TROPHIES
|
ONLINE
Enables ONLINE (multiplayer).
|
SAVE_LOAD
Enables CONTINUE, SAVE, LOAD.
|
| Modifier and Type | Method and Description |
|---|---|
static MenuItem |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MenuItem[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MenuItem SAVE_LOAD
public static final MenuItem EXTRA
public static final MenuItem ONLINE
public static MenuItem[] values()
for (MenuItem c : MenuItem.values()) System.out.println(c);
public static MenuItem valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2017. All rights reserved.