Enum Constant and Description |
---|
IGNORE_ALL |
PERCENT_25 |
PERCENT_50 |
PERCENT_75 |
PERCENT_99 |
Modifier and Type | Field and Description |
---|---|
float |
breakPoint |
float |
percentage |
Modifier and Type | Method and Description |
---|---|
int |
calculateBreakPoint(int maxDamage) |
static FuzzyMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static FuzzyMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FuzzyMode IGNORE_ALL
public static final FuzzyMode PERCENT_99
public static final FuzzyMode PERCENT_75
public static final FuzzyMode PERCENT_50
public static final FuzzyMode PERCENT_25
public static FuzzyMode[] values()
for (FuzzyMode c : FuzzyMode.values()) System.out.println(c);
public static FuzzyMode 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 int calculateBreakPoint(int maxDamage)