public enum DisableReason extends java.lang.Enum<DisableReason>
Enum Constant and Description |
---|
Default
This covers things like players logging off or the controller being reset.
|
InputChanged
Input state changed, leading to a behavior being disabled.
|
OutOfEnergy
System has run out of energy and is powering down.
|
Modifier and Type | Method and Description |
---|---|
static DisableReason |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DisableReason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DisableReason Default
public static final DisableReason InputChanged
public static final DisableReason OutOfEnergy
public static DisableReason[] values()
for (DisableReason c : DisableReason.values()) System.out.println(c);
public static DisableReason 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