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

Functions

void init ()
Race getRace (std::string name)
const std::set< Race > & allRaces ()

Variables

const Race Zerg (0)
const Race Terran (1)
const Race Protoss (2)
const Race Random (3)
const Race Other (4)
const Race None (5)
const Race Unknown (6)

Function Documentation

const std::set< Race > & BWAPI::Races::allRaces ( )

Returns the set of all the races, which are listed below.

Race BWAPI::Races::getRace ( std::string  name)

Given the name of a race, this function will return the race type. For example: Races::getRace("Zerg") will return Races::Zerg.

Here is the call graph for this function:

Here is the caller 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