BWAPI
|
#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 |
Private Attributes | |
int | id |
Definition at line 6 of file GameType.h.
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 |
int BWAPI::GameType::id [private] |
Definition at line 22 of file GameType.h.