\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$>$}



\-Inheritance diagram for \-B\-W\-A\-P\-I\-:\-:\-Player\-Type\-:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=184pt]{classBWAPI_1_1PlayerType__inherit__graph}
\end{center}
\end{figure}


\-Collaboration diagram for \-B\-W\-A\-P\-I\-:\-:\-Player\-Type\-:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=184pt]{classBWAPI_1_1PlayerType__coll__graph}
\end{center}
\end{figure}
\subsection*{\-Public \-Member \-Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{classBWAPI_1_1PlayerType_afdbcd1ff6143fcdb1446b4825cd8068a}{\-Player\-Type} ()
\item 
\hyperlink{classBWAPI_1_1PlayerType_a62e897526a3fe977e5ccab24e1c32634}{\-Player\-Type} (\hyperlink{Detours_8h_ab5a791e918b09a41addbf5b813175633}{int} id)
\item 
const std\-::string \& \hyperlink{classBWAPI_1_1PlayerType_acce17f463ef48b3be8d1afac15ec1c74}{get\-Name} () const 
\item 
const char $\ast$ \hyperlink{classBWAPI_1_1PlayerType_a1c6ab5242806ab6f1cf5741f86a1b523}{c\-\_\-str} () 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[{{\bf int}}]{id}
\end{DoxyParamCaption}
)}}\label{classBWAPI_1_1PlayerType_a62e897526a3fe977e5ccab24e1c32634}


\subsection{\-Member \-Function \-Documentation}
\hypertarget{classBWAPI_1_1PlayerType_a1c6ab5242806ab6f1cf5741f86a1b523}{\index{\-B\-W\-A\-P\-I\-::\-Player\-Type@{\-B\-W\-A\-P\-I\-::\-Player\-Type}!c\-\_\-str@{c\-\_\-str}}
\index{c\-\_\-str@{c\-\_\-str}!BWAPI::PlayerType@{\-B\-W\-A\-P\-I\-::\-Player\-Type}}
\subsubsection[{c\-\_\-str}]{\setlength{\rightskip}{0pt plus 5cm}const char $\ast$ {\bf \-B\-W\-A\-P\-I\-::\-Player\-Type\-::c\-\_\-str} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{classBWAPI_1_1PlayerType_a1c6ab5242806ab6f1cf5741f86a1b523}


\-Here is the call graph for this function\-:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{classBWAPI_1_1PlayerType_a1c6ab5242806ab6f1cf5741f86a1b523_cgraph}
\end{center}
\end{figure}


\hypertarget{classBWAPI_1_1PlayerType_acce17f463ef48b3be8d1afac15ec1c74}{\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}const std\-::string \& {\bf \-B\-W\-A\-P\-I\-::\-Player\-Type\-::get\-Name} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{classBWAPI_1_1PlayerType_acce17f463ef48b3be8d1afac15ec1c74}
\-Returns the name of the player type. \-For example \-Player\-Types\-::\-Computer.\-get\-Name() will return an std\-::string object containing \char`\"{}\-Computer\char`\"{}. 

\-Here is the call graph for this function\-:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{classBWAPI_1_1PlayerType_acce17f463ef48b3be8d1afac15ec1c74_cgraph}
\end{center}
\end{figure}




\-Here is the caller graph for this function\-:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{classBWAPI_1_1PlayerType_acce17f463ef48b3be8d1afac15ec1c74_icgraph}
\end{center}
\end{figure}




\-The documentation for this class was generated from the following files\-:\begin{DoxyCompactItemize}
\item 
trunk/bwapi/include/\-B\-W\-A\-P\-I/\hyperlink{include_2BWAPI_2PlayerType_8h}{\-Player\-Type.\-h}\item 
trunk/bwapi/\-B\-W\-A\-P\-I\-L\-I\-B/\-Source/\hyperlink{PlayerType_8cpp}{\-Player\-Type.\-cpp}\end{DoxyCompactItemize}
