public enum AILevel extends Enum<AILevel>
| Enum Constant and Description |
|---|
Damage |
DamageMagic |
Random |
Weakness |
WeaknessDamage |
WeaknessDamageMagic |
| Modifier and Type | Method and Description |
|---|---|
static AILevel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AILevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AILevel Random
public static final AILevel Damage
public static final AILevel DamageMagic
public static final AILevel Weakness
public static final AILevel WeaknessDamage
public static final AILevel WeaknessDamageMagic
public static AILevel[] values()
for (AILevel c : AILevel.values()) System.out.println(c);
public static AILevel 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 © 2022. All rights reserved.