|
ExplosionType
Class header file: BWAPI/ExplosionType.h Each type of Unit in Starcraft: Broodwar has a particular WeaponType for its ground weapon and air weapon (either of which could be WeaponTypes::None). Each type of Weapon has a particular explosion type. Here is the list of all the possible ExplosionTypes. Methods: Non-member methods in ExplosionTypes namespace: getIDint getID(); Returns a unique ID for this explosion type. getNamestd::string getName(); Returns the name of this explosion type. getExplosionTypeExplosionType getExplosionType(std::string name); Given a name of an explosion type, this will return the corresponding ExplosionType object. allExplosionTypesstd::set<ExplosionType>& allExplosionTypes(); Returns the set of all the ExplosionTypes. | |
► Sign in to add a comment