|
UnitSizeType
Class header file: BWAPI/UnitSizeType.h List of all UnitSizeTypes. Methods: Non-member methods in UnitSizeTypes namespace: getIDint getID(); Returns a unique ID for this UnitSizeType. getNamestd::string getName(); Returns the string corresponding to the UnitSizeType object. For example, UnitSizeTypes::Medium.getName() returns std::string("Medium"). getUnitSizeTypeUnitSizeType getUnitSizeType(std::string name); Given a string, this function returns the size time it refers to. For example, UnitSizeTypes::getUnitSizeType("Small") returns UnitSizeTypes::Small. allUnitSizeTypesstd::set<UnitSizeType>& allUnitSizeTypes(); Returns the set of all the sizes, which are listed below: UnitSizeTypes
| |
► Sign in to add a comment