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

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)

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.

Here is the call graph for this function:

Here is the call graph for this function:

Here is the caller graph for this function:


Variable Documentation

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines