public enum EnumMutateChance extends java.lang.Enum<EnumMutateChance>
| Enum Constant and Description |
|---|
HIGH |
HIGHER |
HIGHEST |
LOW |
LOWEST |
NONE |
NORMAL |
| Modifier and Type | Field and Description |
|---|---|
int |
colour |
| Modifier and Type | Method and Description |
|---|---|
static EnumMutateChance |
rateChance(float percent) |
static EnumMutateChance |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EnumMutateChance[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EnumMutateChance NONE
public static final EnumMutateChance LOWEST
public static final EnumMutateChance LOW
public static final EnumMutateChance NORMAL
public static final EnumMutateChance HIGH
public static final EnumMutateChance HIGHER
public static final EnumMutateChance HIGHEST
public static EnumMutateChance[] values()
for (EnumMutateChance c : EnumMutateChance.values()) System.out.println(c);
public static EnumMutateChance 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 static EnumMutateChance rateChance(float percent)