My favorites | Sign in
Project Home Downloads Wiki Issues Source
Search
for
ExplosionType  
Updated Apr 14, 2011 by AHein...@gmail.com

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:

getID

int getID();

Returns a unique ID for this explosion type.

getName

std::string getName();

Returns the name of this explosion type.

getExplosionType

ExplosionType getExplosionType(std::string name);

Given a name of an explosion type, this will return the corresponding ExplosionType object.

allExplosionTypes

std::set<ExplosionType>& allExplosionTypes();

Returns the set of all the ExplosionTypes.


Sign in to add a comment
Powered by Google Project Hosting