BWAPI
|
Functions | |
void | init () |
PlayerType | getPlayerType (std::string name) |
const std::set< PlayerType > & | allPlayerTypes () |
Variables | |
const PlayerType | None (0) |
const PlayerType | Computer (1) |
const PlayerType | Player (2) |
const PlayerType | RescuePassive (3) |
const PlayerType | EitherPreferComputer (5) |
const PlayerType | EitherPreferHuman (6) |
const PlayerType | Neutral (7) |
const PlayerType | Closed (8) |
const PlayerType | PlayerLeft (10) |
const PlayerType | ComputerLeft (11) |
const PlayerType | Unknown (12) |
const std::set< PlayerType > & BWAPI::PlayerTypes::allPlayerTypes | ( | ) |
Returns the set of all the PlayerTypes.
PlayerType BWAPI::PlayerTypes::getPlayerType | ( | std::string | name | ) |
Given the name of a player type, this function will return the playertype. For example: PlayerTypes::getPlayerType("Human") will return PlayerTypes::Human.
void BWAPI::PlayerTypes::init | ( | ) |