| Enum Constant and Description |
|---|
ABILITY_1_COOLDOWN
Cooldown of the first ability.
|
ABILITY_1_RANGE
Range of the first ability (-1 if there is no first ability).
|
ABILITY_2_COOLDOWN
Cooldown of the second ability.
|
ABILITY_2_RANGE
Range of the second ability (-1 if there is no second ability).
|
ATTACK
Attack power.
|
ATTACK_COOLDOWN
Intrinsecal attack cooldown.
|
ATTACK_RANGE
Attack range.
|
COST_GOLD
How much gold does it take to create a unit.
|
DEFENSE
Defense.
|
LEVEL_2_REPUTATION
How much reputation is needed to increase a unit's level from one to two.
|
LEVEL_3_REPUTATION
How much reputation is needed to increase a unit's level from two to three.
|
LEVEL_4_REPUTATION
How much reputation is needed to increase a unit's level from three to four.
|
MAX_HEALTH
Maximum health.
|
MIN_ATTACK_RANGE
Minimum attack range.
|
MOVEMENT_COOLDOWN
Intrinsecal movement cooldown.
|
MOVEMENT_RANGE
Movement range.
|
VISION_RANGE
Vision range.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
canBeOnArtifact()
Returns if this stat can be on an artifact.
|
float |
getMinimumValue()
Returns the minimum value that this stat can have.
|
boolean |
isCooldown()
Returns if this stat is a cooldown.
|
static UnitStat |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static UnitStat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UnitStat COST_GOLD
public static final UnitStat LEVEL_2_REPUTATION
public static final UnitStat LEVEL_3_REPUTATION
public static final UnitStat LEVEL_4_REPUTATION
public static final UnitStat MAX_HEALTH
public static final UnitStat ATTACK
public static final UnitStat ATTACK_RANGE
public static final UnitStat DEFENSE
public static final UnitStat MIN_ATTACK_RANGE
public static final UnitStat ATTACK_COOLDOWN
public static final UnitStat VISION_RANGE
public static final UnitStat MOVEMENT_COOLDOWN
public static final UnitStat MOVEMENT_RANGE
public static final UnitStat ABILITY_1_RANGE
public static final UnitStat ABILITY_1_COOLDOWN
public static final UnitStat ABILITY_2_RANGE
public static final UnitStat ABILITY_2_COOLDOWN
public static UnitStat[] values()
for (UnitStat c : UnitStat.values()) System.out.println(c);
public static UnitStat 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 float getMinimumValue()
public boolean canBeOnArtifact()
public boolean isCooldown()