BWAPI
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Defines
Functions | Variables
BWAPI::PlayerTypes Namespace Reference

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

Function Documentation

Returns the set of all the PlayerTypes.

Given the name of a player type, this function will return the playertype. For example: PlayerTypes::getPlayerType("Human") will return PlayerTypes::Human.


Variable Documentation

 All Classes Namespaces Files Functions Variables Enumerations Enumerator Defines