public class UpgradeType
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
java.lang.String |
c_str()
Returns the name for the upgrade type.
|
int |
gasPrice()
Returns the vespene gas price for the first upgrade.
|
int |
gasPrice(int level) |
int |
gasPriceFactor()
Returns the amount that the vespene gas price increases for each additional upgrade.
|
Race |
getRace()
Returns the race the upgrade is for.
|
int |
maxRepeats()
Returns the maximum number of times the upgrade can be researched.
|
int |
mineralPrice()
Returns the mineral price for the first upgrade.
|
int |
mineralPrice(int level) |
int |
mineralPriceFactor()
Returns the amount that the mineral price increases for each additional upgrade.
|
java.lang.String |
toString() |
int |
upgradeTime()
Returns the number of frames needed to research the first upgrade.
|
int |
upgradeTime(int level) |
int |
upgradeTimeFactor()
Returns the number of frames that the upgrade time increases for each additional upgrade.
|
UnitType |
whatsRequired()
Returns the type of unit that is additionally required for the upgrade.
|
UnitType |
whatsRequired(int level) |
UnitType |
whatUpgrades()
Returns the type of unit that researches the upgrade.
|
java.util.List<UnitType> |
whatUses()
Returns the set of units that are affected by this upgrade.
|
public static UpgradeType Terran_Infantry_Armor
public static UpgradeType Terran_Vehicle_Plating
public static UpgradeType Terran_Ship_Plating
public static UpgradeType Zerg_Carapace
public static UpgradeType Zerg_Flyer_Carapace
public static UpgradeType Protoss_Ground_Armor
public static UpgradeType Protoss_Air_Armor
public static UpgradeType Terran_Infantry_Weapons
public static UpgradeType Terran_Vehicle_Weapons
public static UpgradeType Terran_Ship_Weapons
public static UpgradeType Zerg_Melee_Attacks
public static UpgradeType Zerg_Missile_Attacks
public static UpgradeType Zerg_Flyer_Attacks
public static UpgradeType Protoss_Ground_Weapons
public static UpgradeType Protoss_Air_Weapons
public static UpgradeType Protoss_Plasma_Shields
public static UpgradeType U_238_Shells
public static UpgradeType Ion_Thrusters
public static UpgradeType Titan_Reactor
public static UpgradeType Ocular_Implants
public static UpgradeType Moebius_Reactor
public static UpgradeType Apollo_Reactor
public static UpgradeType Colossus_Reactor
public static UpgradeType Ventral_Sacs
public static UpgradeType Antennae
public static UpgradeType Pneumatized_Carapace
public static UpgradeType Metabolic_Boost
public static UpgradeType Adrenal_Glands
public static UpgradeType Muscular_Augments
public static UpgradeType Grooved_Spines
public static UpgradeType Gamete_Meiosis
public static UpgradeType Metasynaptic_Node
public static UpgradeType Singularity_Charge
public static UpgradeType Leg_Enhancements
public static UpgradeType Scarab_Damage
public static UpgradeType Reaver_Capacity
public static UpgradeType Gravitic_Drive
public static UpgradeType Sensor_Array
public static UpgradeType Gravitic_Boosters
public static UpgradeType Khaydarin_Amulet
public static UpgradeType Apial_Sensors
public static UpgradeType Gravitic_Thrusters
public static UpgradeType Carrier_Capacity
public static UpgradeType Khaydarin_Core
public static UpgradeType Argus_Jewel
public static UpgradeType Argus_Talisman
public static UpgradeType Caduceus_Reactor
public static UpgradeType Chitinous_Plating
public static UpgradeType Anabolic_Synthesis
public static UpgradeType Charon_Boosters
public static UpgradeType None
public static UpgradeType Unknown
public java.lang.String c_str()
public java.lang.String toString()
toString
in class java.lang.Object
public Race getRace()
public int mineralPrice()
public int mineralPrice(int level)
public int mineralPriceFactor()
public int gasPrice()
public int gasPrice(int level)
public int gasPriceFactor()
public int upgradeTime()
public int upgradeTime(int level)
public int upgradeTimeFactor()
public int maxRepeats()
public UnitType whatUpgrades()
public UnitType whatsRequired()
public UnitType whatsRequired(int level)
public java.util.List<UnitType> whatUses()