\hypertarget{classBWAPI_1_1Race}{\section{\-B\-W\-A\-P\-I\-:\-:\-Race \-Class \-Reference}
\label{classBWAPI_1_1Race}\index{\-B\-W\-A\-P\-I\-::\-Race@{\-B\-W\-A\-P\-I\-::\-Race}}
}


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

\subsection*{\-Public \-Member \-Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{classBWAPI_1_1Race_ab94ae0378c9881b89f648b8f39b0302f}{\-Race} ()
\item 
\hyperlink{classBWAPI_1_1Race_a2f67be5264f7397fcd0d7c96dd9fa7bc}{\-Race} (int id)
\item 
\hyperlink{classBWAPI_1_1Race_af67e38d8df6a7545c3da512d180137f3}{\-Race} (const \hyperlink{classBWAPI_1_1Race}{\-Race} \&other)
\item 
\hyperlink{classBWAPI_1_1Race}{\-Race} \& \hyperlink{classBWAPI_1_1Race_a10ddd0a82c77750d59028614f2ed24d3}{operator=} (const \hyperlink{classBWAPI_1_1Race}{\-Race} \&other)
\item 
\hyperlink{classBWAPI_1_1Race_aa0f8c894537a26e9b8c885d2b4d15a38}{operator int} () const 
\item 
int \hyperlink{classBWAPI_1_1Race_ad3734e627cea52de788aee1f7e0216c7}{get\-I\-D} () const 
\item 
std\-::string \hyperlink{classBWAPI_1_1Race_a51e1f28d5b46ef276f4d8642de756f16}{get\-Name} () const 
\item 
\hyperlink{classBWAPI_1_1UnitType}{\-Unit\-Type} \hyperlink{classBWAPI_1_1Race_a7c3e90cb9be7df168a50a174bd617a1c}{get\-Worker} () const 
\item 
\hyperlink{classBWAPI_1_1UnitType}{\-Unit\-Type} \hyperlink{classBWAPI_1_1Race_a0e70aa4bb18cb64aa4084ccafd12cf05}{get\-Center} () const 
\item 
\hyperlink{classBWAPI_1_1UnitType}{\-Unit\-Type} \hyperlink{classBWAPI_1_1Race_a779c8136019fdb1ef786ebf3439030b0}{get\-Refinery} () const 
\item 
\hyperlink{classBWAPI_1_1UnitType}{\-Unit\-Type} \hyperlink{classBWAPI_1_1Race_a5d51d17c3b250a87a73970d065f5520b}{get\-Transport} () const 
\item 
\hyperlink{classBWAPI_1_1UnitType}{\-Unit\-Type} \hyperlink{classBWAPI_1_1Race_a163b18a5841c696888d292389f6399de}{get\-Supply\-Provider} () const 
\end{DoxyCompactItemize}


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


\subsection{\-Member \-Function \-Documentation}
\hypertarget{classBWAPI_1_1Race_a0e70aa4bb18cb64aa4084ccafd12cf05}{\index{\-B\-W\-A\-P\-I\-::\-Race@{\-B\-W\-A\-P\-I\-::\-Race}!get\-Center@{get\-Center}}
\index{get\-Center@{get\-Center}!BWAPI::Race@{\-B\-W\-A\-P\-I\-::\-Race}}
\subsubsection[{get\-Center}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-Unit\-Type} {\bf \-B\-W\-A\-P\-I\-::\-Race\-::get\-Center} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{classBWAPI_1_1Race_a0e70aa4bb18cb64aa4084ccafd12cf05}
\-Returns the center unit type for the given race. \-For example \-Races\-::\-Terran.\-get\-Center() will return a pointer to \hyperlink{namespaceBWAPI_1_1UnitTypes_a421528ca5e793e73f48ffc94c880ab77}{\-Unit\-Types\-::\-Terran\-\_\-\-Command\-\_\-\-Center}. \-While there are three center types for \-Zerg (\-Hatchery, \-Lair, and \-Hive), \-Races\-::\-Zerg.\-get\-Center() will only return a pointer to \hyperlink{namespaceBWAPI_1_1UnitTypes_aa785ed2b27eb1e03fc363f62cd546072}{\-Unit\-Types\-::\-Zerg\-\_\-\-Hatchery}, since it is the unit type needed to make a new center. 

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


\hypertarget{classBWAPI_1_1Race_ad3734e627cea52de788aee1f7e0216c7}{\index{\-B\-W\-A\-P\-I\-::\-Race@{\-B\-W\-A\-P\-I\-::\-Race}!get\-I\-D@{get\-I\-D}}
\index{get\-I\-D@{get\-I\-D}!BWAPI::Race@{\-B\-W\-A\-P\-I\-::\-Race}}
\subsubsection[{get\-I\-D}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf \-B\-W\-A\-P\-I\-::\-Race\-::get\-I\-D} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{classBWAPI_1_1Race_ad3734e627cea52de788aee1f7e0216c7}
\-Returns a unique \-I\-D for this race. \hypertarget{classBWAPI_1_1Race_a51e1f28d5b46ef276f4d8642de756f16}{\index{\-B\-W\-A\-P\-I\-::\-Race@{\-B\-W\-A\-P\-I\-::\-Race}!get\-Name@{get\-Name}}
\index{get\-Name@{get\-Name}!BWAPI::Race@{\-B\-W\-A\-P\-I\-::\-Race}}
\subsubsection[{get\-Name}]{\setlength{\rightskip}{0pt plus 5cm}std\-::string {\bf \-B\-W\-A\-P\-I\-::\-Race\-::get\-Name} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{classBWAPI_1_1Race_a51e1f28d5b46ef276f4d8642de756f16}
\-Returns the name of the race. \-For example \-Races\-::\-Terran.\-get\-Name() will return a std\-::string object containing \char`\"{}\-Terran\char`\"{}. \hypertarget{classBWAPI_1_1Race_a779c8136019fdb1ef786ebf3439030b0}{\index{\-B\-W\-A\-P\-I\-::\-Race@{\-B\-W\-A\-P\-I\-::\-Race}!get\-Refinery@{get\-Refinery}}
\index{get\-Refinery@{get\-Refinery}!BWAPI::Race@{\-B\-W\-A\-P\-I\-::\-Race}}
\subsubsection[{get\-Refinery}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-Unit\-Type} {\bf \-B\-W\-A\-P\-I\-::\-Race\-::get\-Refinery} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{classBWAPI_1_1Race_a779c8136019fdb1ef786ebf3439030b0}
\-Returns the refinery unit type for the given race. \-For example\-: \-Races\-::\-Zerg.\-get\-Refinery() will return a pointer to \hyperlink{namespaceBWAPI_1_1UnitTypes_ac890497f6706efed950454f01a5f8134}{\-Unit\-Types\-::\-Zerg\-\_\-\-Extractor}?. \hypertarget{classBWAPI_1_1Race_a163b18a5841c696888d292389f6399de}{\index{\-B\-W\-A\-P\-I\-::\-Race@{\-B\-W\-A\-P\-I\-::\-Race}!get\-Supply\-Provider@{get\-Supply\-Provider}}
\index{get\-Supply\-Provider@{get\-Supply\-Provider}!BWAPI::Race@{\-B\-W\-A\-P\-I\-::\-Race}}
\subsubsection[{get\-Supply\-Provider}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-Unit\-Type} {\bf \-B\-W\-A\-P\-I\-::\-Race\-::get\-Supply\-Provider} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{classBWAPI_1_1Race_a163b18a5841c696888d292389f6399de}
\-Returns the main supply provider unit type for the given race. \-For example\-: \-Races\-::\-Terran.\-get\-Supply\-Provider() will return a pointer to \hyperlink{namespaceBWAPI_1_1UnitTypes_a8712b01d76b6dc0350d6c1a72e587814}{\-Unit\-Types\-::\-Terran\-\_\-\-Supply\-\_\-\-Depot}?. 

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


\hypertarget{classBWAPI_1_1Race_a5d51d17c3b250a87a73970d065f5520b}{\index{\-B\-W\-A\-P\-I\-::\-Race@{\-B\-W\-A\-P\-I\-::\-Race}!get\-Transport@{get\-Transport}}
\index{get\-Transport@{get\-Transport}!BWAPI::Race@{\-B\-W\-A\-P\-I\-::\-Race}}
\subsubsection[{get\-Transport}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-Unit\-Type} {\bf \-B\-W\-A\-P\-I\-::\-Race\-::get\-Transport} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{classBWAPI_1_1Race_a5d51d17c3b250a87a73970d065f5520b}
\-Returns the transport unit type for the given race. \-For example\-: \-Races\-::\-Protoss.\-get\-Transport() will return a pointer to \hyperlink{namespaceBWAPI_1_1UnitTypes_af9bb11fea2477d8ce8f21e8960b9c4b7}{\-Unit\-Types\-::\-Protoss\-\_\-\-Shuttle}. \hypertarget{classBWAPI_1_1Race_a7c3e90cb9be7df168a50a174bd617a1c}{\index{\-B\-W\-A\-P\-I\-::\-Race@{\-B\-W\-A\-P\-I\-::\-Race}!get\-Worker@{get\-Worker}}
\index{get\-Worker@{get\-Worker}!BWAPI::Race@{\-B\-W\-A\-P\-I\-::\-Race}}
\subsubsection[{get\-Worker}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-Unit\-Type} {\bf \-B\-W\-A\-P\-I\-::\-Race\-::get\-Worker} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{classBWAPI_1_1Race_a7c3e90cb9be7df168a50a174bd617a1c}
\-Returns the worker unit type for the given race. \-For example \-Races\-::\-Protoss.\-get\-Worker() will return a pointer to \hyperlink{namespaceBWAPI_1_1UnitTypes_a1b91a3af3720c477c6973548af58a957}{\-Unit\-Types\-::\-Protoss\-\_\-\-Probe}. 

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


\hypertarget{classBWAPI_1_1Race_aa0f8c894537a26e9b8c885d2b4d15a38}{\index{\-B\-W\-A\-P\-I\-::\-Race@{\-B\-W\-A\-P\-I\-::\-Race}!operator int@{operator int}}
\index{operator int@{operator int}!BWAPI::Race@{\-B\-W\-A\-P\-I\-::\-Race}}
\subsubsection[{operator int}]{\setlength{\rightskip}{0pt plus 5cm}\-B\-W\-A\-P\-I\-::\-Race\-::operator int (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{classBWAPI_1_1Race_aa0f8c894537a26e9b8c885d2b4d15a38}
\hypertarget{classBWAPI_1_1Race_a10ddd0a82c77750d59028614f2ed24d3}{\index{\-B\-W\-A\-P\-I\-::\-Race@{\-B\-W\-A\-P\-I\-::\-Race}!operator=@{operator=}}
\index{operator=@{operator=}!BWAPI::Race@{\-B\-W\-A\-P\-I\-::\-Race}}
\subsubsection[{operator=}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-Race}\& \-B\-W\-A\-P\-I\-::\-Race\-::operator= (
\begin{DoxyParamCaption}
\item[{const {\bf \-Race} \&}]{other}
\end{DoxyParamCaption}
)}}\label{classBWAPI_1_1Race_a10ddd0a82c77750d59028614f2ed24d3}


\-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{Race_8h}{\-Race.\-h}\end{DoxyCompactItemize}
