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