java.io.Serializable
, java.lang.Comparable<CombatLibrary.CombatSystem>
public static enum CombatLibrary.CombatSystem extends java.lang.Enum<CombatLibrary.CombatSystem>
Enum Constant | Description |
---|---|
DEFAULT |
The default system allows one action point to be used
by each combatant on a skill, per round.
|
MANUAL |
The manual system allows all action points to be used
by each combatant on skills or on basic attacks, but
all attack must be manually entered.
|
QUEUE |
The queue system allows all action points to be used
by each combatant on skills.
|
TURNBASED |
The turn based system gives each combatant an amount of time
to use all their action points on skills or basic attacks,
not permitting any other combatant to act until the previous
one completes.
|
Modifier and Type | Method | Description |
---|---|---|
static CombatLibrary.CombatSystem |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static CombatLibrary.CombatSystem[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CombatLibrary.CombatSystem DEFAULT
public static final CombatLibrary.CombatSystem QUEUE
public static final CombatLibrary.CombatSystem MANUAL
public static final CombatLibrary.CombatSystem TURNBASED
public static CombatLibrary.CombatSystem[] values()
for (CombatLibrary.CombatSystem c : CombatLibrary.CombatSystem.values()) System.out.println(c);
public static CombatLibrary.CombatSystem 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