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

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:

getID

int getID();

Returns the unique ID for this bullet type.

getName

std::string getName();

Returns the name of this bullet type.

getBulletType

Order getBulletType(std::string name);

Given the name of a bullet type, BulletTypes::getBulletType() will return the corresponding BulletType object.

allBulletTypes

std::set<BulletType>& allBulletTypes();

Returns the set of all the BulletTypes.


Sign in to add a comment
Powered by Google Project Hosting