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