BWAPI
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Defines
Public Member Functions
BWAPI::PlayerType Class Reference

#include <PlayerType.h>

List of all members.

Public Member Functions

 PlayerType ()
 PlayerType (int id)
 PlayerType (const PlayerType &other)
PlayerTypeoperator= (const PlayerType &other)
 operator int () const
int getID () const
std::string getName () const

Constructor & Destructor Documentation


Member Function Documentation

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)

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Defines