#include <DamageType.h>
Public Member Functions | |
DamageType () | |
DamageType (int id) | |
DamageType (const DamageType &other) | |
DamageType & | operator= (const DamageType &other) |
operator int () const | |
int | getID () const |
std::string | getName () const |
BWAPI::DamageType::DamageType | ( | int | id | ) |
BWAPI::DamageType::DamageType | ( | const DamageType & | other | ) |
int BWAPI::DamageType::getID | ( | ) | const |
Returns a unique ID for this damage type.
std::string BWAPI::DamageType::getName | ( | ) | const |
Returns the name of this damage type. For example DamageTypes::Explosive.getName() will return std::string("Explosive").
BWAPI::DamageType::operator int | ( | ) | const |
DamageType& BWAPI::DamageType::operator= | ( | const DamageType & | other | ) |