public enum TickRateModulation extends java.lang.Enum<TickRateModulation>
Enum Constant and Description |
---|
FASTER
increase the tick rate marginally.
|
IDLE
set tick rate to maximum.
|
SAME
continue at current rate.
|
SLEEP
same as idle, but also puts the node to sleep.
|
SLOWER
decrease the tick rate marginally.
|
URGENT
changes the tick rate to the minimum tick rate.
|
Modifier and Type | Method and Description |
---|---|
static TickRateModulation |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TickRateModulation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TickRateModulation SLEEP
public static final TickRateModulation IDLE
public static final TickRateModulation SLOWER
public static final TickRateModulation SAME
public static final TickRateModulation FASTER
public static final TickRateModulation URGENT
public static TickRateModulation[] values()
for (TickRateModulation c : TickRateModulation.values()) System.out.println(c);
public static TickRateModulation 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