Functions | |
| PlayerType | getPlayerType (std::string name) |
| std::set< PlayerType > & | allPlayerTypes () |
| void | init () |
Variables | |
| const PlayerType | None |
| const PlayerType | Computer |
| const PlayerType | Player |
| const PlayerType | RescuePassive |
| const PlayerType | EitherPreferComputer |
| const PlayerType | EitherPreferHuman |
| const PlayerType | Neutral |
| const PlayerType | Closed |
| const PlayerType | PlayerLeft |
| const PlayerType | ComputerLeft |
| const PlayerType | Unknown |
| 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 | ( | ) |
1.7.6.1