public static enum IVariantHint.AIStyle extends java.lang.Enum<IVariantHint.AIStyle>
Enum Constant and Description |
---|
Any
Default value if no particular play style is preferred.
|
Defensive
Marks a defensive play, with the assumption that battles
are often avoided.
|
Offensive
Marks a preference for offensive recruiting, i.e.
|
Modifier and Type | Method and Description |
---|---|
static IVariantHint.AIStyle |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static IVariantHint.AIStyle[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IVariantHint.AIStyle Any
public static final IVariantHint.AIStyle Offensive
public static final IVariantHint.AIStyle Defensive
public static IVariantHint.AIStyle[] values()
for (IVariantHint.AIStyle c : IVariantHint.AIStyle.values()) System.out.println(c);
public static IVariantHint.AIStyle 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