BWAPI
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Functions | Variables
BWAPI::DamageTypes Namespace Reference

Functions

void init ()
DamageType getDamageType (std::string name)
const std::set< DamageType > & allDamageTypes ()

Variables

const DamageType Independent (0)
const DamageType Explosive (1)
const DamageType Concussive (2)
const DamageType Normal (3)
const DamageType Ignore_Armor (4)
const DamageType None (5)
const DamageType Unknown (6)

Function Documentation

Returns the set of all the DamageTypes.

Given the name of a damage type, this will return a corresponding DamageType object. For example, DamageTypes::getDamageType("Concussive") will return DamageTypes::Concussive.

Here is the call graph for this function:

Here is the call graph for this function:

Here is the caller graph for this function:


Variable Documentation

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines