std::set<UnitType>& BWAPI::UnitTypes::allMacroTypes | ( | ) |
Returns the set of all the MacroTypes.
std::set<UnitType>& BWAPI::UnitTypes::allUnitTypes | ( | ) |
UnitType BWAPI::UnitTypes::getUnitType | ( | std::string | name | ) |
Given the name of a unit type, this function will return the unit type. For example, UnitTypes::getUnitType("Terran Marine") will return UnitTypes::Terran_Marine.
void BWAPI::UnitTypes::init | ( | ) |