Functions | |
DamageType | getDamageType (std::string name) |
std::set< DamageType > & | allDamageTypes () |
void | init () |
Variables | |
const DamageType | Independent |
const DamageType | Explosive |
const DamageType | Concussive |
const DamageType | Normal |
const DamageType | Ignore_Armor |
const DamageType | None |
const DamageType | Unknown |
std::set<DamageType>& BWAPI::DamageTypes::allDamageTypes | ( | ) |
Returns the set of all the DamageTypes.
DamageType BWAPI::DamageTypes::getDamageType | ( | std::string | name | ) |
Given the name of a damage type, this will return a corresponding DamageType object. For example, DamageTypes::getDamageType("Concussive") will return DamageTypes::Concussive.
void BWAPI::DamageTypes::init | ( | ) |