public static enum HazardConstants.EffectOnMovement extends java.lang.Enum<HazardConstants.EffectOnMovement>
Enum Constant and Description |
---|
BLOCKALL |
BLOCKFOREIGNER |
FREEMOVE |
SLOWALL |
SLOWFOREIGNER |
Modifier and Type | Method and Description |
---|---|
static HazardConstants.EffectOnMovement |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static HazardConstants.EffectOnMovement[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HazardConstants.EffectOnMovement BLOCKALL
public static final HazardConstants.EffectOnMovement BLOCKFOREIGNER
public static final HazardConstants.EffectOnMovement SLOWALL
public static final HazardConstants.EffectOnMovement SLOWFOREIGNER
public static final HazardConstants.EffectOnMovement FREEMOVE
public static HazardConstants.EffectOnMovement[] values()
for (HazardConstants.EffectOnMovement c : HazardConstants.EffectOnMovement.values()) System.out.println(c);
public static HazardConstants.EffectOnMovement 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