public enum CommanderSkillType extends Enum<CommanderSkillType>
Regeneration - the Commander regenerates 2 hp per turn. This skill is passive and
acquired by default.
Flash - The Commander targets a location within range and instantly moves to that location.
This skill is acquired by default and has a cooldown.
Leadership - all robots within 24 range of the Commander deal 1 additional damage with
attacks. This skill is acquired at 1000 xp. The skill becomes twice as effective at 2000 xp.
Heavy Hands - The commander's attacks deal up to 3 points of attack and movement delay
to the target unit. This skill is acquired at 1500 xp.
| Enum Constant and Description |
|---|
FLASH |
HEAVY_HANDS |
LEADERSHIP |
REGENERATION |
| Modifier and Type | Method and Description |
|---|---|
static CommanderSkillType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CommanderSkillType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CommanderSkillType REGENERATION
public static final CommanderSkillType LEADERSHIP
public static final CommanderSkillType FLASH
public static final CommanderSkillType HEAVY_HANDS
public static CommanderSkillType[] values()
for (CommanderSkillType c : CommanderSkillType.values()) System.out.println(c);
public static CommanderSkillType 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 null