BWAPI
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions
BWAPI::WeaponType Class Reference

#include <WeaponType.h>

Inheritance diagram for BWAPI::WeaponType:
Inheritance graph
[legend]
Collaboration diagram for BWAPI::WeaponType:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 WeaponType ()
 WeaponType (int id)
const std::string & getName () const
const char * c_str () const
TechType getTech () const
UnitType whatUses () const
int damageAmount () const
int damageBonus () const
int damageCooldown () const
int damageFactor () const
UpgradeType upgradeType () const
DamageType damageType () const
ExplosionType explosionType () const
int minRange () const
int maxRange () const
int innerSplashRadius () const
int medianSplashRadius () const
int outerSplashRadius () const
bool targetsAir () const
bool targetsGround () const
bool targetsMechanical () const
bool targetsOrganic () const
bool targetsNonBuilding () const
bool targetsNonRobotic () const
bool targetsTerrain () const
bool targetsOrgOrMech () const
bool targetsOwn () const

Constructor & Destructor Documentation


Member Function Documentation

const char * BWAPI::WeaponType::c_str ( ) const

Here is the call graph for this function:

Returns the amount of damage that this weapon deals per attack.

Here is the call graph for this function:

Here is the caller graph for this function:

Here is the call graph for this function:

Here is the caller graph for this function:

Returns the amount of cooldown time between attacks.

Here is the call graph for this function:

Here is the caller graph for this function:

Returns the amount that the damage increases per upgrade.

See also:
WeaponType::upgradeType.

Here is the call graph for this function:

Here is the caller graph for this function:

Returns the type of damage that this weapon uses (i.e. concussive, normal, explosive, etc).

Here is the call graph for this function:

Here is the caller graph for this function:

Returns the type of explosion that this weapon uses.

Here is the call graph for this function:

Here is the caller graph for this function:

const std::string & BWAPI::WeaponType::getName ( ) const

Returns the name of the weapon.

Here is the call graph for this function:

Here is the caller graph for this function:

Returns the tech type that must be researched before this weapon can be used, or TechTypes::None if no tech type is required.

Here is the call graph for this function:

Here is the caller graph for this function:

Inner radius used in splash damage calculations.

Here is the call graph for this function:

Here is the caller graph for this function:

Returns the maximum attack range of the weapon, measured in pixels.

Here is the call graph for this function:

Here is the caller graph for this function:

Median radius used in splash damage calculations.

Here is the call graph for this function:

Here is the caller graph for this function:

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).

Here is the call graph for this function:

Here is the caller graph for this function:

Outer radius used in splash damage calculations.

Here is the call graph for this function:

Here is the caller graph for this function:

Returns true if this weapon can attack air units.

Here is the call graph for this function:

Here is the caller graph for this function:

Returns true if this weapon can attack ground units.

Here is the call graph for this function:

Here is the caller graph for this function:

Here is the call graph for this function:

Here is the caller graph for this function:

Here is the call graph for this function:

Here is the caller graph for this function:

Here is the call graph for this function:

Here is the caller graph for this function:

Here is the call graph for this function:

Here is the caller graph for this function:

Here is the call graph for this function:

Here is the caller graph for this function:

Here is the call graph for this function:

Here is the caller graph for this function:

Here is the call graph for this function:

Here is the caller graph for this function:

Returns the upgrade type that can be upgraded to increase the attack damage.

Here is the call graph for this function:

Here is the caller graph for this function:

Returns the unit that can use this weapon.

Here is the call graph for this function:

Here is the caller graph for this function:


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines