Modifier and Type | Method and Description |
---|---|
int |
energyCost()
Retrieves the amount of energy needed to use this TechType as an ability.
|
int |
gasPrice()
Retrieves the vespene gas cost of researching this technology.
|
int |
getId() |
Order |
getOrder()
Retrieves the Order that a Unit uses when using this ability.
|
Race |
getRace()
Retrieves the race that is required to research or use the TechType.
|
WeaponType |
getWeapon()
Retrieves the Weapon that is attached to this tech type.
|
int |
mineralPrice()
Retrieves the mineral cost of researching this technology.
|
UnitType |
requiredUnit()
Retrieves the UnitType required to research this technology.
|
int |
researchTime()
Retrieves the number of frames needed to research the tech type.
|
boolean |
targetsPosition()
Checks if this ability can be used on the terrain (ground).
|
boolean |
targetsUnit()
Checks if this ability can be used on other units.
|
static TechType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TechType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
UnitType |
whatResearches()
Retrieves the UnitType that can research this technology.
|
static TechType |
withId(int id) |
public static final TechType Stim_Packs
public static final TechType Lockdown
public static final TechType EMP_Shockwave
public static final TechType Spider_Mines
public static final TechType Scanner_Sweep
public static final TechType Tank_Siege_Mode
public static final TechType Defensive_Matrix
public static final TechType Irradiate
public static final TechType Yamato_Gun
public static final TechType Cloaking_Field
public static final TechType Personnel_Cloaking
public static final TechType Burrowing
public static final TechType Infestation
public static final TechType Spawn_Broodlings
public static final TechType Dark_Swarm
public static final TechType Plague
public static final TechType Consume
public static final TechType Ensnare
public static final TechType Parasite
public static final TechType Psionic_Storm
public static final TechType Hallucination
public static final TechType Recall
public static final TechType Stasis_Field
public static final TechType Archon_Warp
public static final TechType Restoration
public static final TechType Disruption_Web
public static final TechType Unused_26
public static final TechType Mind_Control
public static final TechType Dark_Archon_Meld
public static final TechType Feedback
public static final TechType Optical_Flare
public static final TechType Maelstrom
public static final TechType Lurker_Aspect
public static final TechType Unused_33
public static final TechType Healing
public static final TechType None
public static final TechType Nuclear_Strike
public static final TechType Unknown
public static final TechType MAX
public static TechType[] values()
for (TechType c : TechType.values()) System.out.println(c);
public static TechType 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 static TechType withId(int id)
public int getId()
public Race getRace()
public int mineralPrice()
public int gasPrice()
public int researchTime()
public int energyCost()
public UnitType whatResearches()
public WeaponType getWeapon()
public boolean targetsUnit()
public boolean targetsPosition()
public Order getOrder()
public UnitType requiredUnit()