public static enum WarSimScript.LocationDanger extends java.lang.Enum<WarSimScript.LocationDanger>
| Enum Constant and Description |
|---|
EXTREME |
HIGH |
LOW |
MEDIUM |
MINIMAL |
NONE |
| Modifier and Type | Field and Description |
|---|---|
float |
enemyStrengthFraction |
static WarSimScript.LocationDanger[] |
vals |
| Modifier and Type | Method and Description |
|---|---|
WarSimScript.LocationDanger |
next() |
WarSimScript.LocationDanger |
prev() |
static WarSimScript.LocationDanger |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static WarSimScript.LocationDanger[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WarSimScript.LocationDanger NONE
public static final WarSimScript.LocationDanger MINIMAL
public static final WarSimScript.LocationDanger LOW
public static final WarSimScript.LocationDanger MEDIUM
public static final WarSimScript.LocationDanger HIGH
public static final WarSimScript.LocationDanger EXTREME
public static WarSimScript.LocationDanger[] vals
public float enemyStrengthFraction
public static WarSimScript.LocationDanger[] values()
for (WarSimScript.LocationDanger c : WarSimScript.LocationDanger.values()) System.out.println(c);
public static WarSimScript.LocationDanger 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 WarSimScript.LocationDanger next()
public WarSimScript.LocationDanger prev()