se.chalmers.dat255.risk.model
public static enum TurnAndPhaseManager.ResultType extends java.lang.Enum<TurnAndPhaseManager.ResultType>
Enum Constant and Description |
---|
ChangedPhase |
ComputeBonusForF0 |
ComputeBonusForF1 |
DoNothing |
Modifier and Type | Method and Description |
---|---|
static TurnAndPhaseManager.ResultType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TurnAndPhaseManager.ResultType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TurnAndPhaseManager.ResultType ComputeBonusForF0
public static final TurnAndPhaseManager.ResultType ComputeBonusForF1
public static final TurnAndPhaseManager.ResultType ChangedPhase
public static final TurnAndPhaseManager.ResultType DoNothing
public static TurnAndPhaseManager.ResultType[] values()
for (TurnAndPhaseManager.ResultType c : TurnAndPhaseManager.ResultType.values()) System.out.println(c);
public static TurnAndPhaseManager.ResultType 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