#include <PlayerType.h>
Public Member Functions | |
PlayerType () | |
PlayerType (int id) | |
PlayerType (const PlayerType &other) | |
PlayerType & | operator= (const PlayerType &other) |
operator int () const | |
int | getID () const |
std::string | getName () const |
BWAPI::PlayerType::PlayerType | ( | int | id | ) |
BWAPI::PlayerType::PlayerType | ( | const PlayerType & | other | ) |
int BWAPI::PlayerType::getID | ( | ) | const |
Returns the unique ID for this player type.
std::string BWAPI::PlayerType::getName | ( | ) | const |
Returns the name of the player type. For example PlayerTypes::Computer.getName() will return an std::string object containing "Computer".
BWAPI::PlayerType::operator int | ( | ) | const |
PlayerType& BWAPI::PlayerType::operator= | ( | const PlayerType & | other | ) |