\hypertarget{classBWAPI_1_1PlayerType}{\section{\-B\-W\-A\-P\-I\-:\-:\-Player\-Type \-Class \-Reference}
\label{classBWAPI_1_1PlayerType}\index{\-B\-W\-A\-P\-I\-::\-Player\-Type@{\-B\-W\-A\-P\-I\-::\-Player\-Type}}
}


{\ttfamily \#include $<$\-Player\-Type.\-h$>$}

\subsection*{\-Public \-Member \-Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{classBWAPI_1_1PlayerType_afdbcd1ff6143fcdb1446b4825cd8068a}{\-Player\-Type} ()
\item 
\hyperlink{classBWAPI_1_1PlayerType_a62e897526a3fe977e5ccab24e1c32634}{\-Player\-Type} (int id)
\item 
\hyperlink{classBWAPI_1_1PlayerType_a45ecdb009d2a8ffa3b7108b9e3194eeb}{\-Player\-Type} (const \hyperlink{classBWAPI_1_1PlayerType}{\-Player\-Type} \&other)
\item 
\hyperlink{classBWAPI_1_1PlayerType}{\-Player\-Type} \& \hyperlink{classBWAPI_1_1PlayerType_adac18f69fdd7bad68b066456e0370c60}{operator=} (const \hyperlink{classBWAPI_1_1PlayerType}{\-Player\-Type} \&other)
\item 
\hyperlink{classBWAPI_1_1PlayerType_a0ff87bad365b1db7dfbdb7f608c66945}{operator int} () const 
\item 
int \hyperlink{classBWAPI_1_1PlayerType_aa5d8c343caf68dc8ee42f145c6b803b3}{get\-I\-D} () const 
\item 
std\-::string \hyperlink{classBWAPI_1_1PlayerType_a923235d3c5660653533aef5385ef4f8b}{get\-Name} () const 
\end{DoxyCompactItemize}


\subsection{\-Constructor \& \-Destructor \-Documentation}
\hypertarget{classBWAPI_1_1PlayerType_afdbcd1ff6143fcdb1446b4825cd8068a}{\index{\-B\-W\-A\-P\-I\-::\-Player\-Type@{\-B\-W\-A\-P\-I\-::\-Player\-Type}!\-Player\-Type@{\-Player\-Type}}
\index{\-Player\-Type@{\-Player\-Type}!BWAPI::PlayerType@{\-B\-W\-A\-P\-I\-::\-Player\-Type}}
\subsubsection[{\-Player\-Type}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-B\-W\-A\-P\-I\-::\-Player\-Type\-::\-Player\-Type} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{classBWAPI_1_1PlayerType_afdbcd1ff6143fcdb1446b4825cd8068a}
\hypertarget{classBWAPI_1_1PlayerType_a62e897526a3fe977e5ccab24e1c32634}{\index{\-B\-W\-A\-P\-I\-::\-Player\-Type@{\-B\-W\-A\-P\-I\-::\-Player\-Type}!\-Player\-Type@{\-Player\-Type}}
\index{\-Player\-Type@{\-Player\-Type}!BWAPI::PlayerType@{\-B\-W\-A\-P\-I\-::\-Player\-Type}}
\subsubsection[{\-Player\-Type}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-B\-W\-A\-P\-I\-::\-Player\-Type\-::\-Player\-Type} (
\begin{DoxyParamCaption}
\item[{int}]{id}
\end{DoxyParamCaption}
)}}\label{classBWAPI_1_1PlayerType_a62e897526a3fe977e5ccab24e1c32634}
\hypertarget{classBWAPI_1_1PlayerType_a45ecdb009d2a8ffa3b7108b9e3194eeb}{\index{\-B\-W\-A\-P\-I\-::\-Player\-Type@{\-B\-W\-A\-P\-I\-::\-Player\-Type}!\-Player\-Type@{\-Player\-Type}}
\index{\-Player\-Type@{\-Player\-Type}!BWAPI::PlayerType@{\-B\-W\-A\-P\-I\-::\-Player\-Type}}
\subsubsection[{\-Player\-Type}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-B\-W\-A\-P\-I\-::\-Player\-Type\-::\-Player\-Type} (
\begin{DoxyParamCaption}
\item[{const {\bf \-Player\-Type} \&}]{other}
\end{DoxyParamCaption}
)}}\label{classBWAPI_1_1PlayerType_a45ecdb009d2a8ffa3b7108b9e3194eeb}


\subsection{\-Member \-Function \-Documentation}
\hypertarget{classBWAPI_1_1PlayerType_aa5d8c343caf68dc8ee42f145c6b803b3}{\index{\-B\-W\-A\-P\-I\-::\-Player\-Type@{\-B\-W\-A\-P\-I\-::\-Player\-Type}!get\-I\-D@{get\-I\-D}}
\index{get\-I\-D@{get\-I\-D}!BWAPI::PlayerType@{\-B\-W\-A\-P\-I\-::\-Player\-Type}}
\subsubsection[{get\-I\-D}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf \-B\-W\-A\-P\-I\-::\-Player\-Type\-::get\-I\-D} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{classBWAPI_1_1PlayerType_aa5d8c343caf68dc8ee42f145c6b803b3}
\-Returns the unique \-I\-D for this player type. \hypertarget{classBWAPI_1_1PlayerType_a923235d3c5660653533aef5385ef4f8b}{\index{\-B\-W\-A\-P\-I\-::\-Player\-Type@{\-B\-W\-A\-P\-I\-::\-Player\-Type}!get\-Name@{get\-Name}}
\index{get\-Name@{get\-Name}!BWAPI::PlayerType@{\-B\-W\-A\-P\-I\-::\-Player\-Type}}
\subsubsection[{get\-Name}]{\setlength{\rightskip}{0pt plus 5cm}std\-::string {\bf \-B\-W\-A\-P\-I\-::\-Player\-Type\-::get\-Name} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{classBWAPI_1_1PlayerType_a923235d3c5660653533aef5385ef4f8b}
\-Returns the name of the player type. \-For example \-Player\-Types\-::\-Computer.\-get\-Name() will return an std\-::string object containing \char`\"{}\-Computer\char`\"{}. \hypertarget{classBWAPI_1_1PlayerType_a0ff87bad365b1db7dfbdb7f608c66945}{\index{\-B\-W\-A\-P\-I\-::\-Player\-Type@{\-B\-W\-A\-P\-I\-::\-Player\-Type}!operator int@{operator int}}
\index{operator int@{operator int}!BWAPI::PlayerType@{\-B\-W\-A\-P\-I\-::\-Player\-Type}}
\subsubsection[{operator int}]{\setlength{\rightskip}{0pt plus 5cm}\-B\-W\-A\-P\-I\-::\-Player\-Type\-::operator int (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{classBWAPI_1_1PlayerType_a0ff87bad365b1db7dfbdb7f608c66945}
\hypertarget{classBWAPI_1_1PlayerType_adac18f69fdd7bad68b066456e0370c60}{\index{\-B\-W\-A\-P\-I\-::\-Player\-Type@{\-B\-W\-A\-P\-I\-::\-Player\-Type}!operator=@{operator=}}
\index{operator=@{operator=}!BWAPI::PlayerType@{\-B\-W\-A\-P\-I\-::\-Player\-Type}}
\subsubsection[{operator=}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-Player\-Type}\& \-B\-W\-A\-P\-I\-::\-Player\-Type\-::operator= (
\begin{DoxyParamCaption}
\item[{const {\bf \-Player\-Type} \&}]{other}
\end{DoxyParamCaption}
)}}\label{classBWAPI_1_1PlayerType_adac18f69fdd7bad68b066456e0370c60}


\-The documentation for this class was generated from the following file\-:\begin{DoxyCompactItemize}
\item 
\-U\-Alberta\-Bot\-\_\-src/\-B\-W\-A\-P\-I\-\_\-3\-\_\-6/include/\-B\-W\-A\-P\-I/\hyperlink{PlayerType_8h}{\-Player\-Type.\-h}\end{DoxyCompactItemize}
