public class WeaponType
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
java.lang.String |
c_str()
Returns the name of the weapon.
|
int |
damageAmount()
Returns the amount of damage that this weapon deals per attack.
|
int |
damageBonus() |
int |
damageCooldown()
Returns the amount of cooldown time between attacks.
|
int |
damageFactor()
Returns the amount that the damage increases per upgrade.
|
DamageType |
damageType()
Returns the type of damage that this weapon uses (i.e. concussive, normal, explosive, etc).
|
ExplosionType |
explosionType()
Returns the type of explosion that this weapon uses.
|
TechType |
getTech()
Returns the tech type that must be researched before this weapon can be used, or TechTypes::None if
no tech type is required.
|
int |
innerSplashRadius()
Inner radius used in splash damage calculations.
|
int |
maxRange()
Returns the maximum attack range of the weapon, measured in pixels.
|
int |
medianSplashRadius()
Median radius used in splash damage calculations.
|
int |
minRange()
Returns the minimum attack range of the weapon, measured in pixels, 0 for most things except
WeaponTypes::Arclite_Shock_Cannon (the weapon of the Terran Siege Tank in Siege Mode).
|
int |
outerSplashRadius()
Outer radius used in splash damage calculations.
|
boolean |
targetsAir()
Returns true if this weapon can attack air units.
|
boolean |
targetsGround()
Returns true if this weapon can attack ground units.
|
boolean |
targetsMechanical() |
boolean |
targetsNonBuilding() |
boolean |
targetsNonRobotic() |
boolean |
targetsOrganic() |
boolean |
targetsOrgOrMech() |
boolean |
targetsOwn() |
boolean |
targetsTerrain() |
java.lang.String |
toString() |
UpgradeType |
upgradeType()
Returns the upgrade type that can be upgraded to increase the attack damage.
|
UnitType |
whatUses()
Returns the unit that can use this weapon.
|
public static WeaponType Gauss_Rifle
public static WeaponType Gauss_Rifle_Jim_Raynor
public static WeaponType C_10_Canister_Rifle
public static WeaponType C_10_Canister_Rifle_Sarah_Kerrigan
public static WeaponType C_10_Canister_Rifle_Samir_Duran
public static WeaponType C_10_Canister_Rifle_Infested_Duran
public static WeaponType C_10_Canister_Rifle_Alexei_Stukov
public static WeaponType Fragmentation_Grenade
public static WeaponType Fragmentation_Grenade_Jim_Raynor
public static WeaponType Spider_Mines
public static WeaponType Twin_Autocannons
public static WeaponType Twin_Autocannons_Alan_Schezar
public static WeaponType Hellfire_Missile_Pack
public static WeaponType Hellfire_Missile_Pack_Alan_Schezar
public static WeaponType Arclite_Cannon
public static WeaponType Arclite_Cannon_Edmund_Duke
public static WeaponType Fusion_Cutter
public static WeaponType Gemini_Missiles
public static WeaponType Gemini_Missiles_Tom_Kazansky
public static WeaponType Burst_Lasers
public static WeaponType Burst_Lasers_Tom_Kazansky
public static WeaponType ATS_Laser_Battery
public static WeaponType ATS_Laser_Battery_Hero
public static WeaponType ATS_Laser_Battery_Hyperion
public static WeaponType ATA_Laser_Battery
public static WeaponType ATA_Laser_Battery_Hero
public static WeaponType ATA_Laser_Battery_Hyperion
public static WeaponType Flame_Thrower
public static WeaponType Flame_Thrower_Gui_Montag
public static WeaponType Arclite_Shock_Cannon
public static WeaponType Arclite_Shock_Cannon_Edmund_Duke
public static WeaponType Longbolt_Missile
public static WeaponType Claws
public static WeaponType Claws_Devouring_One
public static WeaponType Claws_Infested_Kerrigan
public static WeaponType Needle_Spines
public static WeaponType Needle_Spines_Hunter_Killer
public static WeaponType Kaiser_Blades
public static WeaponType Kaiser_Blades_Torrasque
public static WeaponType Toxic_Spores
public static WeaponType Spines
public static WeaponType Acid_Spore
public static WeaponType Acid_Spore_Kukulza
public static WeaponType Glave_Wurm
public static WeaponType Glave_Wurm_Kukulza
public static WeaponType Seeker_Spores
public static WeaponType Subterranean_Tentacle
public static WeaponType Suicide_Infested_Terran
public static WeaponType Suicide_Scourge
public static WeaponType Particle_Beam
public static WeaponType Psi_Blades
public static WeaponType Psi_Blades_Fenix
public static WeaponType Phase_Disruptor
public static WeaponType Phase_Disruptor_Fenix
public static WeaponType Psi_Assault
public static WeaponType Psionic_Shockwave
public static WeaponType Psionic_Shockwave_TZ_Archon
public static WeaponType Dual_Photon_Blasters
public static WeaponType Dual_Photon_Blasters_Mojo
public static WeaponType Dual_Photon_Blasters_Artanis
public static WeaponType Anti_Matter_Missiles
public static WeaponType Anti_Matter_Missiles_Mojo
public static WeaponType Anti_Matter_Missiles_Artanis
public static WeaponType Phase_Disruptor_Cannon
public static WeaponType Phase_Disruptor_Cannon_Danimoth
public static WeaponType Pulse_Cannon
public static WeaponType STS_Photon_Cannon
public static WeaponType STA_Photon_Cannon
public static WeaponType Scarab
public static WeaponType Neutron_Flare
public static WeaponType Halo_Rockets
public static WeaponType Corrosive_Acid
public static WeaponType Subterranean_Spines
public static WeaponType Warp_Blades
public static WeaponType Warp_Blades_Hero
public static WeaponType Warp_Blades_Zeratul
public static WeaponType Independant_Laser_Battery
public static WeaponType Twin_Autocannons_Floor_Trap
public static WeaponType Hellfire_Missile_Pack_Wall_Trap
public static WeaponType Flame_Thrower_Wall_Trap
public static WeaponType Hellfire_Missile_Pack_Floor_Trap
public static WeaponType Yamato_Gun
public static WeaponType Nuclear_Strike
public static WeaponType Lockdown
public static WeaponType EMP_Shockwave
public static WeaponType Irradiate
public static WeaponType Parasite
public static WeaponType Spawn_Broodlings
public static WeaponType Ensnare
public static WeaponType Dark_Swarm
public static WeaponType Plague
public static WeaponType Consume
public static WeaponType Stasis_Field
public static WeaponType Psionic_Storm
public static WeaponType Disruption_Web
public static WeaponType Restoration
public static WeaponType Mind_Control
public static WeaponType Feedback
public static WeaponType Optical_Flare
public static WeaponType Maelstrom
public static WeaponType None
public static WeaponType Unknown
public java.lang.String c_str()
public java.lang.String toString()
toString
in class java.lang.Object
public TechType getTech()
public UnitType whatUses()
public int damageAmount()
public int damageBonus()
public int damageCooldown()
public int damageFactor()
public UpgradeType upgradeType()
public DamageType damageType()
public ExplosionType explosionType()
public int minRange()
public int maxRange()
public int innerSplashRadius()
public int medianSplashRadius()
public int outerSplashRadius()
public boolean targetsAir()
public boolean targetsGround()
public boolean targetsMechanical()
public boolean targetsOrganic()
public boolean targetsNonBuilding()
public boolean targetsNonRobotic()
public boolean targetsTerrain()
public boolean targetsOrgOrMech()
public boolean targetsOwn()