|
BulletType
Class header file: BWAPI/BulletType.h Each Bullet object in the game has a certain type. The list of all the possible Bullet types is available here: BulletTypes. Methods: Non-member methods in BulletTypes namespace: getIDint getID(); Returns the unique ID for this bullet type. getNamestd::string getName(); Returns the name of this bullet type. getBulletTypeOrder getBulletType(std::string name); Given the name of a bullet type, BulletTypes::getBulletType() will return the corresponding BulletType object. allBulletTypesstd::set<BulletType>& allBulletTypes(); Returns the set of all the BulletTypes. | |
► Sign in to add a comment