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

Class header file: BWAPI/GameType.h

List of all GameTypes.

Methods:

Non-member methods in GameTypes namespace:

getID

int getID();

Returns the unique ID for this game type.

getName

std::string getName();

Returns the name of the game type. For example GameTypes::Free_For_All.getName() will return an std::string object containing "Free For All".

getGameType

GameType getGameType(std::string name);

Given the name of a game type, this function will return the GameType. For example: GameTypes::getGameType("Use Map Settings") will return GameTypes::Use_Map_Settings.

allGameTypes

std::set<GameType>& allGameTypes();

Returns the set of all the GameTypes.


Sign in to add a comment
Powered by Google Project Hosting