protected static enum ModifyScoreMechanic.ModifyScoreAction extends Enum<ModifyScoreMechanic.ModifyScoreAction>
Enum Constant and Description |
---|
ADD |
DIVIDE |
MOD |
MULTIPLY |
SET |
SUBTRACT |
UNSET |
Modifier and Type | Method and Description |
---|---|
static ModifyScoreMechanic.ModifyScoreAction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ModifyScoreMechanic.ModifyScoreAction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ModifyScoreMechanic.ModifyScoreAction SET
public static final ModifyScoreMechanic.ModifyScoreAction ADD
public static final ModifyScoreMechanic.ModifyScoreAction SUBTRACT
public static final ModifyScoreMechanic.ModifyScoreAction MULTIPLY
public static final ModifyScoreMechanic.ModifyScoreAction DIVIDE
public static final ModifyScoreMechanic.ModifyScoreAction MOD
public static final ModifyScoreMechanic.ModifyScoreAction UNSET
public static ModifyScoreMechanic.ModifyScoreAction[] values()
for (ModifyScoreMechanic.ModifyScoreAction c : ModifyScoreMechanic.ModifyScoreAction.values()) System.out.println(c);
public static ModifyScoreMechanic.ModifyScoreAction valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2020. All rights reserved.