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

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

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.


Variable Documentation

 All Classes Namespaces Files Functions Variables Enumerations Enumerator Defines