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


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

\subsection*{\-Public \-Member \-Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{classBWAPI_1_1UnitType_aac26d6cf0ec57a26f156bb1cb6d970f5}{\-Unit\-Type} ()
\item 
\hyperlink{classBWAPI_1_1UnitType_ae1f2c5536b01da36a892643fe4eb8dc4}{\-Unit\-Type} (int id)
\item 
\hyperlink{classBWAPI_1_1UnitType_a679366662f6f81ef41de942a1b982623}{\-Unit\-Type} (const \hyperlink{classBWAPI_1_1UnitType}{\-Unit\-Type} \&other)
\item 
\hyperlink{classBWAPI_1_1UnitType}{\-Unit\-Type} \& \hyperlink{classBWAPI_1_1UnitType_a7a71f005745b7ad089b7a7d119b5c1b4}{operator=} (const \hyperlink{classBWAPI_1_1UnitType}{\-Unit\-Type} \&other)
\item 
\hyperlink{classBWAPI_1_1UnitType_af0b7aaf2cffefd7523bc5dfc8771a371}{operator int} () const 
\item 
int \hyperlink{classBWAPI_1_1UnitType_a236c1f5dbb39bcfdfeead46b19bcd353}{get\-I\-D} () const 
\item 
std\-::string \hyperlink{classBWAPI_1_1UnitType_a59c13b6683a7cadc044b188f39e6ad70}{get\-Name} () const 
\item 
\hyperlink{classBWAPI_1_1Race}{\-Race} \hyperlink{classBWAPI_1_1UnitType_afbf0bba596b322006b9e6b71a15a449f}{get\-Race} () const 
\item 
const std\-::pair$<$ \hyperlink{classBWAPI_1_1UnitType}{\-Unit\-Type}, int $>$ \hyperlink{classBWAPI_1_1UnitType_a386acdc33e9b47e455b7ac1ed2a3a0f8}{what\-Builds} () const 
\item 
const std\-::map$<$ \hyperlink{classBWAPI_1_1UnitType}{\-Unit\-Type}, int $>$ \& \hyperlink{classBWAPI_1_1UnitType_aa1912ae57c4201a60c5cae1fd4db1ee8}{required\-Units} () const 
\item 
\hyperlink{classBWAPI_1_1TechType}{\-Tech\-Type} \hyperlink{classBWAPI_1_1UnitType_a4441e75d1234cdce3934b64bb2fcf8aa}{required\-Tech} () const 
\item 
\hyperlink{classBWAPI_1_1TechType}{\-Tech\-Type} \hyperlink{classBWAPI_1_1UnitType_a0cef8b7c2afe54fd0a06b06c188240dc}{cloaking\-Tech} () const 
\item 
const std\-::set$<$ \hyperlink{classBWAPI_1_1TechType}{\-Tech\-Type} $>$ \& \hyperlink{classBWAPI_1_1UnitType_a999105fabbcb5d43f12b08a63a563352}{abilities} () const 
\item 
const std\-::set$<$ \hyperlink{classBWAPI_1_1UpgradeType}{\-Upgrade\-Type} $>$ \& \hyperlink{classBWAPI_1_1UnitType_aeaae6ad0d5f340830c0769678162d0f9}{upgrades} () const 
\item 
\hyperlink{classBWAPI_1_1UpgradeType}{\-Upgrade\-Type} \hyperlink{classBWAPI_1_1UnitType_aefeddca6c5605d45e4aea7a5bc8bc160}{armor\-Upgrade} () const 
\item 
int \hyperlink{classBWAPI_1_1UnitType_a8d445acfdd1a90971b11fc2f870650a6}{max\-Hit\-Points} () const 
\item 
int \hyperlink{classBWAPI_1_1UnitType_a3484ad3facb8f799a47b513b68e13bbd}{max\-Shields} () const 
\item 
int \hyperlink{classBWAPI_1_1UnitType_ad959a20d394f8007c49c3fbe0382cb4b}{max\-Energy} () const 
\item 
int \hyperlink{classBWAPI_1_1UnitType_aa5944f068ca147857393c261ac68a256}{armor} () const 
\item 
int \hyperlink{classBWAPI_1_1UnitType_a2207072b32e65a9037015b47e69aa6da}{mineral\-Price} () const 
\item 
int \hyperlink{classBWAPI_1_1UnitType_a7530996ed8af28bf50024243ea4af39e}{gas\-Price} () const 
\item 
int \hyperlink{classBWAPI_1_1UnitType_a9d78cc45c679725a899a77f35090a51a}{build\-Time} () const 
\item 
int \hyperlink{classBWAPI_1_1UnitType_ac218c742dd54660b333e98ed7c3c07fd}{supply\-Required} () const 
\item 
int \hyperlink{classBWAPI_1_1UnitType_aeadaeab4c78bfc1ab6e3ec0f9bc9e41b}{supply\-Provided} () const 
\item 
int \hyperlink{classBWAPI_1_1UnitType_afd7b962a7edcc57b9192e9f52888cbb9}{space\-Required} () const 
\item 
int \hyperlink{classBWAPI_1_1UnitType_a3a13565983f7b2819440e0fe9882352c}{space\-Provided} () const 
\item 
int \hyperlink{classBWAPI_1_1UnitType_a6907ee78d2796d64db0a7972451ff748}{build\-Score} () const 
\item 
int \hyperlink{classBWAPI_1_1UnitType_a1648e96bdaef9af3f9003e1d0c8f0611}{destroy\-Score} () const 
\item 
\hyperlink{classBWAPI_1_1UnitSizeType}{\-Unit\-Size\-Type} \hyperlink{classBWAPI_1_1UnitType_a88710fdd32ae2d0f38ea4a651a059270}{size} () const 
\item 
int \hyperlink{classBWAPI_1_1UnitType_a8a09082b3f7e13b20dbf647c0013bcd8}{tile\-Width} () const 
\item 
int \hyperlink{classBWAPI_1_1UnitType_a2c1097a9a9236fdaace68d57b32044e7}{tile\-Height} () const 
\item 
int \hyperlink{classBWAPI_1_1UnitType_ad4c7b86a664f24188686055d6e9bb7b4}{dimension\-Left} () const 
\item 
int \hyperlink{classBWAPI_1_1UnitType_a3e2784e86b7f0b962aae0e7158aa7a50}{dimension\-Up} () const 
\item 
int \hyperlink{classBWAPI_1_1UnitType_ab98dd9c892be99dcbf2fcf83ce119b4c}{dimension\-Right} () const 
\item 
int \hyperlink{classBWAPI_1_1UnitType_ac8ac7a80857c074f14b1909aa741fbda}{dimension\-Down} () const 
\item 
int \hyperlink{classBWAPI_1_1UnitType_a8a418ce38c3dd7864d101111924cf4e0}{seek\-Range} () const 
\item 
int \hyperlink{classBWAPI_1_1UnitType_a94160d99f91d02db36d619e9e5a3fcd6}{sight\-Range} () const 
\item 
\hyperlink{classBWAPI_1_1WeaponType}{\-Weapon\-Type} \hyperlink{classBWAPI_1_1UnitType_ace987196bbd4a69aa29fd51a4f25754d}{ground\-Weapon} () const 
\item 
int \hyperlink{classBWAPI_1_1UnitType_a30365e198ed2b8e13d754479767b16e7}{max\-Ground\-Hits} () const 
\item 
\hyperlink{classBWAPI_1_1WeaponType}{\-Weapon\-Type} \hyperlink{classBWAPI_1_1UnitType_a00c2abeea22df8ae96158193136a9eb5}{air\-Weapon} () const 
\item 
int \hyperlink{classBWAPI_1_1UnitType_ad8f314f289937d9bbc3cefc881d34113}{max\-Air\-Hits} () const 
\item 
double \hyperlink{classBWAPI_1_1UnitType_ade2449138ba6915c289f40986e2ed21b}{top\-Speed} () const 
\item 
int \hyperlink{classBWAPI_1_1UnitType_ac0e88c151646f4aea479c99fd40c013e}{acceleration} () const 
\item 
int \hyperlink{classBWAPI_1_1UnitType_aa359715dd540721a1ae087b2a44435b6}{halt\-Distance} () const 
\item 
int \hyperlink{classBWAPI_1_1UnitType_a86bece4e0a3a93dab7b31e016acc65c9}{turn\-Radius} () const 
\item 
bool \hyperlink{classBWAPI_1_1UnitType_ae5cb076124f8ae0dc7ea6465fa6b0710}{can\-Produce} () const 
\item 
bool \hyperlink{classBWAPI_1_1UnitType_af1895e9778ff7cefbf8ab6bce0370573}{can\-Attack} () const 
\item 
bool \hyperlink{classBWAPI_1_1UnitType_a7be0bcbdbea74097e07d45e5af610e82}{can\-Move} () const 
\item 
bool \hyperlink{classBWAPI_1_1UnitType_acc1c5e5adaa31064ee8aea928c41c872}{is\-Flyer} () const 
\item 
bool \hyperlink{classBWAPI_1_1UnitType_a8ef479fe3a3cba22da9554eae9632c3e}{regenerates\-H\-P} () const 
\item 
bool \hyperlink{classBWAPI_1_1UnitType_ab3d5daf870d35fbd9842633fbe9931b6}{is\-Spellcaster} () const 
\item 
bool \hyperlink{classBWAPI_1_1UnitType_a80848add45bc3a5776607c02b217d61b}{has\-Permanent\-Cloak} () const 
\item 
bool \hyperlink{classBWAPI_1_1UnitType_a1871be4094320b2e105eeb01455f3c59}{is\-Invincible} () const 
\item 
bool \hyperlink{classBWAPI_1_1UnitType_a6b7e8eb5165194ed3c266efe73a9cd96}{is\-Organic} () const 
\item 
bool \hyperlink{classBWAPI_1_1UnitType_a2f8db6f5e2d72bbf07e526b06276f792}{is\-Mechanical} () const 
\item 
bool \hyperlink{classBWAPI_1_1UnitType_ae1c2e4b9d4be22c64edfc4f59fd9fb24}{is\-Robotic} () const 
\item 
bool \hyperlink{classBWAPI_1_1UnitType_ab91059517473667fb78180a03a4f3b2d}{is\-Detector} () const 
\item 
bool \hyperlink{classBWAPI_1_1UnitType_ad9d669a185dbd08c02a570514df8cfda}{is\-Resource\-Container} () const 
\item 
bool \hyperlink{classBWAPI_1_1UnitType_a475dd07d517f3a415b44b64bf894fd2e}{is\-Resource\-Depot} () const 
\item 
bool \hyperlink{classBWAPI_1_1UnitType_add764ad3cd35a4d4532919a2ba8e95fe}{is\-Refinery} () const 
\item 
bool \hyperlink{classBWAPI_1_1UnitType_ac6e9d6137cc989df229a386991348ab4}{is\-Worker} () const 
\item 
bool \hyperlink{classBWAPI_1_1UnitType_a97b50b4342acd82f72cdbbe3cdade061}{requires\-Psi} () const 
\item 
bool \hyperlink{classBWAPI_1_1UnitType_a96e12875a03c4036c05b5fdf9270aa58}{requires\-Creep} () const 
\item 
bool \hyperlink{classBWAPI_1_1UnitType_a1e11b4224f578b7cc44ca10ac6a45376}{is\-Two\-Units\-In\-One\-Egg} () const 
\item 
bool \hyperlink{classBWAPI_1_1UnitType_ae66090b404ee85d7add54aeb793898d0}{is\-Burrowable} () const 
\item 
bool \hyperlink{classBWAPI_1_1UnitType_a49e05c185df69e8fd763c3323c7f2b79}{is\-Cloakable} () const 
\item 
bool \hyperlink{classBWAPI_1_1UnitType_a034a7c0603ae88b76fc91c964498dfd8}{is\-Building} () const 
\item 
bool \hyperlink{classBWAPI_1_1UnitType_a825f5c7c1a24d133fc096e3701285f07}{is\-Addon} () const 
\item 
bool \hyperlink{classBWAPI_1_1UnitType_a650fbb1305500ca02ec15b734ad435e7}{is\-Flying\-Building} () const 
\item 
bool \hyperlink{classBWAPI_1_1UnitType_a57581b35022acbdd261ee5efd6cb2bac}{is\-Neutral} () const 
\item 
bool \hyperlink{classBWAPI_1_1UnitType_a8f50bbd8622cf47e2a568207c3320678}{is\-Hero} () const 
\item 
bool \hyperlink{classBWAPI_1_1UnitType_ad8f0f20052ea3ae751daede491f19c7b}{is\-Powerup} () const 
\item 
bool \hyperlink{classBWAPI_1_1UnitType_a169f46b1441dbd2eff59bd79ce85e033}{is\-Beacon} () const 
\item 
bool \hyperlink{classBWAPI_1_1UnitType_a8bdbc36ee4edb33312a1d9b2ba0cf78f}{is\-Flag\-Beacon} () const 
\item 
bool \hyperlink{classBWAPI_1_1UnitType_a97cad53bb4f902ef229c85940ae7f8ab}{is\-Special\-Building} () const 
\item 
bool \hyperlink{classBWAPI_1_1UnitType_a92264f0c6ea7c89f835cb2cc1dd49283}{is\-Spell} () const 
\item 
bool \hyperlink{classBWAPI_1_1UnitType_a67c16dbdfc086a0ac9cc2e0d2015db93}{produces\-Larva} () const 
\item 
bool \hyperlink{classBWAPI_1_1UnitType_a3d298d505bbae073f699837b75e7db78}{is\-Mineral\-Field} () const 
\end{DoxyCompactItemize}


\subsection{\-Detailed \-Description}
\-The \hyperlink{classBWAPI_1_1UnitType}{\-Unit\-Type} class is used to get information about a particular type of unit, such as the build time of a \-Lurker, or the mineral price of an \-Ultralisk. \-T\-O\-D\-O \-Add the unittype table from the wiki 

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


\subsection{\-Member \-Function \-Documentation}
\hypertarget{classBWAPI_1_1UnitType_a999105fabbcb5d43f12b08a63a563352}{\index{\-B\-W\-A\-P\-I\-::\-Unit\-Type@{\-B\-W\-A\-P\-I\-::\-Unit\-Type}!abilities@{abilities}}
\index{abilities@{abilities}!BWAPI::UnitType@{\-B\-W\-A\-P\-I\-::\-Unit\-Type}}
\subsubsection[{abilities}]{\setlength{\rightskip}{0pt plus 5cm}const std\-::set$<$ {\bf \-Tech\-Type} $>$\& {\bf \-B\-W\-A\-P\-I\-::\-Unit\-Type\-::abilities} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{classBWAPI_1_1UnitType_a999105fabbcb5d43f12b08a63a563352}
\-Returns the set of tech types this unit can use, provided the tech types have been researched and the unit has enough energy. \hypertarget{classBWAPI_1_1UnitType_ac0e88c151646f4aea479c99fd40c013e}{\index{\-B\-W\-A\-P\-I\-::\-Unit\-Type@{\-B\-W\-A\-P\-I\-::\-Unit\-Type}!acceleration@{acceleration}}
\index{acceleration@{acceleration}!BWAPI::UnitType@{\-B\-W\-A\-P\-I\-::\-Unit\-Type}}
\subsubsection[{acceleration}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf \-B\-W\-A\-P\-I\-::\-Unit\-Type\-::acceleration} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{classBWAPI_1_1UnitType_ac0e88c151646f4aea479c99fd40c013e}
\-Returns how fast the unit can accelerate to its top speed. \-What units this quantity is measured in is currently unknown. \hypertarget{classBWAPI_1_1UnitType_a00c2abeea22df8ae96158193136a9eb5}{\index{\-B\-W\-A\-P\-I\-::\-Unit\-Type@{\-B\-W\-A\-P\-I\-::\-Unit\-Type}!air\-Weapon@{air\-Weapon}}
\index{air\-Weapon@{air\-Weapon}!BWAPI::UnitType@{\-B\-W\-A\-P\-I\-::\-Unit\-Type}}
\subsubsection[{air\-Weapon}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-Weapon\-Type} {\bf \-B\-W\-A\-P\-I\-::\-Unit\-Type\-::air\-Weapon} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{classBWAPI_1_1UnitType_a00c2abeea22df8ae96158193136a9eb5}
\-Returns the unit's air weapon. \hypertarget{classBWAPI_1_1UnitType_aa5944f068ca147857393c261ac68a256}{\index{\-B\-W\-A\-P\-I\-::\-Unit\-Type@{\-B\-W\-A\-P\-I\-::\-Unit\-Type}!armor@{armor}}
\index{armor@{armor}!BWAPI::UnitType@{\-B\-W\-A\-P\-I\-::\-Unit\-Type}}
\subsubsection[{armor}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf \-B\-W\-A\-P\-I\-::\-Unit\-Type\-::armor} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{classBWAPI_1_1UnitType_aa5944f068ca147857393c261ac68a256}
\-Returns the amount of armor the non-\/upgraded unit type has. \hypertarget{classBWAPI_1_1UnitType_aefeddca6c5605d45e4aea7a5bc8bc160}{\index{\-B\-W\-A\-P\-I\-::\-Unit\-Type@{\-B\-W\-A\-P\-I\-::\-Unit\-Type}!armor\-Upgrade@{armor\-Upgrade}}
\index{armor\-Upgrade@{armor\-Upgrade}!BWAPI::UnitType@{\-B\-W\-A\-P\-I\-::\-Unit\-Type}}
\subsubsection[{armor\-Upgrade}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-Upgrade\-Type} {\bf \-B\-W\-A\-P\-I\-::\-Unit\-Type\-::armor\-Upgrade} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{classBWAPI_1_1UnitType_aefeddca6c5605d45e4aea7a5bc8bc160}
\-Returns the upgrade that increase's the unit's armor, or \hyperlink{namespaceBWAPI_1_1UpgradeTypes_aee29b529dd83d6bb9d7230dcdce1c451}{\-Upgrade\-Types\-::\-None} if no upgrade increase's this unit's armor. \-For example \-Unit\-Types\-::\-Terran\-\_\-\-Marine.\-armor\-Upgrade() will return a pointer to \hyperlink{namespaceBWAPI_1_1UpgradeTypes_ab51117d7122a7564d3568f95d328bd4b}{\-Upgrade\-Types\-::\-Terran\-\_\-\-Infantry\-\_\-\-Armor}. \hypertarget{classBWAPI_1_1UnitType_a6907ee78d2796d64db0a7972451ff748}{\index{\-B\-W\-A\-P\-I\-::\-Unit\-Type@{\-B\-W\-A\-P\-I\-::\-Unit\-Type}!build\-Score@{build\-Score}}
\index{build\-Score@{build\-Score}!BWAPI::UnitType@{\-B\-W\-A\-P\-I\-::\-Unit\-Type}}
\subsubsection[{build\-Score}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf \-B\-W\-A\-P\-I\-::\-Unit\-Type\-::build\-Score} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{classBWAPI_1_1UnitType_a6907ee78d2796d64db0a7972451ff748}
\-Returns the score which is used to determine the total scores in the after-\/game stats screen. \hypertarget{classBWAPI_1_1UnitType_a9d78cc45c679725a899a77f35090a51a}{\index{\-B\-W\-A\-P\-I\-::\-Unit\-Type@{\-B\-W\-A\-P\-I\-::\-Unit\-Type}!build\-Time@{build\-Time}}
\index{build\-Time@{build\-Time}!BWAPI::UnitType@{\-B\-W\-A\-P\-I\-::\-Unit\-Type}}
\subsubsection[{build\-Time}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf \-B\-W\-A\-P\-I\-::\-Unit\-Type\-::build\-Time} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{classBWAPI_1_1UnitType_a9d78cc45c679725a899a77f35090a51a}
\-Returns the number of frames needed to make this unit type. 

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


\hypertarget{classBWAPI_1_1UnitType_af1895e9778ff7cefbf8ab6bce0370573}{\index{\-B\-W\-A\-P\-I\-::\-Unit\-Type@{\-B\-W\-A\-P\-I\-::\-Unit\-Type}!can\-Attack@{can\-Attack}}
\index{can\-Attack@{can\-Attack}!BWAPI::UnitType@{\-B\-W\-A\-P\-I\-::\-Unit\-Type}}
\subsubsection[{can\-Attack}]{\setlength{\rightskip}{0pt plus 5cm}bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-Type\-::can\-Attack} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{classBWAPI_1_1UnitType_af1895e9778ff7cefbf8ab6bce0370573}
\-Returns true if the unit can attack (either ground or air). \-Returns false for units that can only inflict damage via special abilities (such as \-Protoss \-High \-Templar). 

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


\hypertarget{classBWAPI_1_1UnitType_a7be0bcbdbea74097e07d45e5af610e82}{\index{\-B\-W\-A\-P\-I\-::\-Unit\-Type@{\-B\-W\-A\-P\-I\-::\-Unit\-Type}!can\-Move@{can\-Move}}
\index{can\-Move@{can\-Move}!BWAPI::UnitType@{\-B\-W\-A\-P\-I\-::\-Unit\-Type}}
\subsubsection[{can\-Move}]{\setlength{\rightskip}{0pt plus 5cm}bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-Type\-::can\-Move} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{classBWAPI_1_1UnitType_a7be0bcbdbea74097e07d45e5af610e82}
\-Returns true if the unit can move. \-Note that buildings will return false, even \-Terran buildings which can move once lifted. 

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


\hypertarget{classBWAPI_1_1UnitType_ae5cb076124f8ae0dc7ea6465fa6b0710}{\index{\-B\-W\-A\-P\-I\-::\-Unit\-Type@{\-B\-W\-A\-P\-I\-::\-Unit\-Type}!can\-Produce@{can\-Produce}}
\index{can\-Produce@{can\-Produce}!BWAPI::UnitType@{\-B\-W\-A\-P\-I\-::\-Unit\-Type}}
\subsubsection[{can\-Produce}]{\setlength{\rightskip}{0pt plus 5cm}bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-Type\-::can\-Produce} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{classBWAPI_1_1UnitType_ae5cb076124f8ae0dc7ea6465fa6b0710}
\-Returns true if the unit can train other units. \-For example, \-Unit\-Types\-::\-Terran\-\_\-\-Barracks.\-can\-Produce() will return true, while \hyperlink{namespaceBWAPI_1_1UnitTypes_a0ce80c297f69c1ebb5cf7076bda11d4c}{\-Unit\-Types\-::\-Terran\-\_\-\-Marine}?.\hyperlink{classBWAPI_1_1UnitType_ae5cb076124f8ae0dc7ea6465fa6b0710}{can\-Produce()} will return false. \-This is also true for two non-\/building units\-: \-Protoss \-Carrier (can produce interceptors) and \-Protoss \-Reaver (can produce scarabs). 

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


\hypertarget{classBWAPI_1_1UnitType_a0cef8b7c2afe54fd0a06b06c188240dc}{\index{\-B\-W\-A\-P\-I\-::\-Unit\-Type@{\-B\-W\-A\-P\-I\-::\-Unit\-Type}!cloaking\-Tech@{cloaking\-Tech}}
\index{cloaking\-Tech@{cloaking\-Tech}!BWAPI::UnitType@{\-B\-W\-A\-P\-I\-::\-Unit\-Type}}
\subsubsection[{cloaking\-Tech}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-Tech\-Type} {\bf \-B\-W\-A\-P\-I\-::\-Unit\-Type\-::cloaking\-Tech} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{classBWAPI_1_1UnitType_a0cef8b7c2afe54fd0a06b06c188240dc}
\-Returns the tech used to cloak the unit, or \hyperlink{namespaceBWAPI_1_1TechTypes_a888026c44fa65bbcc338fcca795c4d25}{\-Tech\-Types\-::\-None} if the unit cannot cloak or is permanently cloaked \hypertarget{classBWAPI_1_1UnitType_a1648e96bdaef9af3f9003e1d0c8f0611}{\index{\-B\-W\-A\-P\-I\-::\-Unit\-Type@{\-B\-W\-A\-P\-I\-::\-Unit\-Type}!destroy\-Score@{destroy\-Score}}
\index{destroy\-Score@{destroy\-Score}!BWAPI::UnitType@{\-B\-W\-A\-P\-I\-::\-Unit\-Type}}
\subsubsection[{destroy\-Score}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf \-B\-W\-A\-P\-I\-::\-Unit\-Type\-::destroy\-Score} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{classBWAPI_1_1UnitType_a1648e96bdaef9af3f9003e1d0c8f0611}
\-Returns the score which is used to determine the total scores in the after-\/game stats screen. \hypertarget{classBWAPI_1_1UnitType_ac8ac7a80857c074f14b1909aa741fbda}{\index{\-B\-W\-A\-P\-I\-::\-Unit\-Type@{\-B\-W\-A\-P\-I\-::\-Unit\-Type}!dimension\-Down@{dimension\-Down}}
\index{dimension\-Down@{dimension\-Down}!BWAPI::UnitType@{\-B\-W\-A\-P\-I\-::\-Unit\-Type}}
\subsubsection[{dimension\-Down}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf \-B\-W\-A\-P\-I\-::\-Unit\-Type\-::dimension\-Down} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{classBWAPI_1_1UnitType_ac8ac7a80857c074f14b1909aa741fbda}
\-Distance from the center of the unit to the bottom edge of the unit, measured in pixels. \hypertarget{classBWAPI_1_1UnitType_ad4c7b86a664f24188686055d6e9bb7b4}{\index{\-B\-W\-A\-P\-I\-::\-Unit\-Type@{\-B\-W\-A\-P\-I\-::\-Unit\-Type}!dimension\-Left@{dimension\-Left}}
\index{dimension\-Left@{dimension\-Left}!BWAPI::UnitType@{\-B\-W\-A\-P\-I\-::\-Unit\-Type}}
\subsubsection[{dimension\-Left}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf \-B\-W\-A\-P\-I\-::\-Unit\-Type\-::dimension\-Left} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{classBWAPI_1_1UnitType_ad4c7b86a664f24188686055d6e9bb7b4}
\-Distance from the center of the unit to the left edge of the unit, measured in pixels. \hypertarget{classBWAPI_1_1UnitType_ab98dd9c892be99dcbf2fcf83ce119b4c}{\index{\-B\-W\-A\-P\-I\-::\-Unit\-Type@{\-B\-W\-A\-P\-I\-::\-Unit\-Type}!dimension\-Right@{dimension\-Right}}
\index{dimension\-Right@{dimension\-Right}!BWAPI::UnitType@{\-B\-W\-A\-P\-I\-::\-Unit\-Type}}
\subsubsection[{dimension\-Right}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf \-B\-W\-A\-P\-I\-::\-Unit\-Type\-::dimension\-Right} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{classBWAPI_1_1UnitType_ab98dd9c892be99dcbf2fcf83ce119b4c}
\-Distance from the center of the unit to the right edge of the unit, measured in pixels. \hypertarget{classBWAPI_1_1UnitType_a3e2784e86b7f0b962aae0e7158aa7a50}{\index{\-B\-W\-A\-P\-I\-::\-Unit\-Type@{\-B\-W\-A\-P\-I\-::\-Unit\-Type}!dimension\-Up@{dimension\-Up}}
\index{dimension\-Up@{dimension\-Up}!BWAPI::UnitType@{\-B\-W\-A\-P\-I\-::\-Unit\-Type}}
\subsubsection[{dimension\-Up}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf \-B\-W\-A\-P\-I\-::\-Unit\-Type\-::dimension\-Up} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{classBWAPI_1_1UnitType_a3e2784e86b7f0b962aae0e7158aa7a50}
\-Distance from the center of the unit to the top edge of the unit, measured in pixels. \hypertarget{classBWAPI_1_1UnitType_a7530996ed8af28bf50024243ea4af39e}{\index{\-B\-W\-A\-P\-I\-::\-Unit\-Type@{\-B\-W\-A\-P\-I\-::\-Unit\-Type}!gas\-Price@{gas\-Price}}
\index{gas\-Price@{gas\-Price}!BWAPI::UnitType@{\-B\-W\-A\-P\-I\-::\-Unit\-Type}}
\subsubsection[{gas\-Price}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf \-B\-W\-A\-P\-I\-::\-Unit\-Type\-::gas\-Price} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{classBWAPI_1_1UnitType_a7530996ed8af28bf50024243ea4af39e}
\-Unit\-Types\-::\-Siege\-\_\-\-Tank\-\_\-\-Tank\-\_\-\-Mode.\-gas\-Price() returns 100. 

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


\hypertarget{classBWAPI_1_1UnitType_a236c1f5dbb39bcfdfeead46b19bcd353}{\index{\-B\-W\-A\-P\-I\-::\-Unit\-Type@{\-B\-W\-A\-P\-I\-::\-Unit\-Type}!get\-I\-D@{get\-I\-D}}
\index{get\-I\-D@{get\-I\-D}!BWAPI::UnitType@{\-B\-W\-A\-P\-I\-::\-Unit\-Type}}
\subsubsection[{get\-I\-D}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf \-B\-W\-A\-P\-I\-::\-Unit\-Type\-::get\-I\-D} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{classBWAPI_1_1UnitType_a236c1f5dbb39bcfdfeead46b19bcd353}
\-Returns a unique \-I\-D for this unit type. \hypertarget{classBWAPI_1_1UnitType_a59c13b6683a7cadc044b188f39e6ad70}{\index{\-B\-W\-A\-P\-I\-::\-Unit\-Type@{\-B\-W\-A\-P\-I\-::\-Unit\-Type}!get\-Name@{get\-Name}}
\index{get\-Name@{get\-Name}!BWAPI::UnitType@{\-B\-W\-A\-P\-I\-::\-Unit\-Type}}
\subsubsection[{get\-Name}]{\setlength{\rightskip}{0pt plus 5cm}std\-::string {\bf \-B\-W\-A\-P\-I\-::\-Unit\-Type\-::get\-Name} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{classBWAPI_1_1UnitType_a59c13b6683a7cadc044b188f39e6ad70}
\-Returns the name of the unit. 

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


\hypertarget{classBWAPI_1_1UnitType_afbf0bba596b322006b9e6b71a15a449f}{\index{\-B\-W\-A\-P\-I\-::\-Unit\-Type@{\-B\-W\-A\-P\-I\-::\-Unit\-Type}!get\-Race@{get\-Race}}
\index{get\-Race@{get\-Race}!BWAPI::UnitType@{\-B\-W\-A\-P\-I\-::\-Unit\-Type}}
\subsubsection[{get\-Race}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-Race} {\bf \-B\-W\-A\-P\-I\-::\-Unit\-Type\-::get\-Race} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{classBWAPI_1_1UnitType_afbf0bba596b322006b9e6b71a15a449f}
\-Returns the race that the unit belongs to. \-For example \hyperlink{namespaceBWAPI_1_1Races_a24f424d1de515fb63406834965becddc}{\-Unit\-Types\-::\-Terran\-\_\-\-S\-C\-V.\-get\-Race()} will return \hyperlink{namespaceBWAPI_1_1Races_a25ad2ce27e709ec8d8567b297f2d9f27}{\-Races\-::\-Terran}. 

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


\hypertarget{classBWAPI_1_1UnitType_ace987196bbd4a69aa29fd51a4f25754d}{\index{\-B\-W\-A\-P\-I\-::\-Unit\-Type@{\-B\-W\-A\-P\-I\-::\-Unit\-Type}!ground\-Weapon@{ground\-Weapon}}
\index{ground\-Weapon@{ground\-Weapon}!BWAPI::UnitType@{\-B\-W\-A\-P\-I\-::\-Unit\-Type}}
\subsubsection[{ground\-Weapon}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-Weapon\-Type} {\bf \-B\-W\-A\-P\-I\-::\-Unit\-Type\-::ground\-Weapon} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{classBWAPI_1_1UnitType_ace987196bbd4a69aa29fd51a4f25754d}
\-Returns the unit's ground weapon. 

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


\hypertarget{classBWAPI_1_1UnitType_aa359715dd540721a1ae087b2a44435b6}{\index{\-B\-W\-A\-P\-I\-::\-Unit\-Type@{\-B\-W\-A\-P\-I\-::\-Unit\-Type}!halt\-Distance@{halt\-Distance}}
\index{halt\-Distance@{halt\-Distance}!BWAPI::UnitType@{\-B\-W\-A\-P\-I\-::\-Unit\-Type}}
\subsubsection[{halt\-Distance}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf \-B\-W\-A\-P\-I\-::\-Unit\-Type\-::halt\-Distance} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{classBWAPI_1_1UnitType_aa359715dd540721a1ae087b2a44435b6}
\-Related to how fast the unit can halt. \-What units this quantity is measured in is currently unknown. \hypertarget{classBWAPI_1_1UnitType_a80848add45bc3a5776607c02b217d61b}{\index{\-B\-W\-A\-P\-I\-::\-Unit\-Type@{\-B\-W\-A\-P\-I\-::\-Unit\-Type}!has\-Permanent\-Cloak@{has\-Permanent\-Cloak}}
\index{has\-Permanent\-Cloak@{has\-Permanent\-Cloak}!BWAPI::UnitType@{\-B\-W\-A\-P\-I\-::\-Unit\-Type}}
\subsubsection[{has\-Permanent\-Cloak}]{\setlength{\rightskip}{0pt plus 5cm}bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-Type\-::has\-Permanent\-Cloak} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{classBWAPI_1_1UnitType_a80848add45bc3a5776607c02b217d61b}
\-Returns true for the two units that are permanently cloaked -\/ \-Protoss \-Observer and \-Protoss \-Dark \-Templar. 

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


\hypertarget{classBWAPI_1_1UnitType_a825f5c7c1a24d133fc096e3701285f07}{\index{\-B\-W\-A\-P\-I\-::\-Unit\-Type@{\-B\-W\-A\-P\-I\-::\-Unit\-Type}!is\-Addon@{is\-Addon}}
\index{is\-Addon@{is\-Addon}!BWAPI::UnitType@{\-B\-W\-A\-P\-I\-::\-Unit\-Type}}
\subsubsection[{is\-Addon}]{\setlength{\rightskip}{0pt plus 5cm}bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-Type\-::is\-Addon} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{classBWAPI_1_1UnitType_a825f5c7c1a24d133fc096e3701285f07}
\-Returns true if the unit is an add-\/on, such as a \-Terran \-Comsat \-Station. 

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


\hypertarget{classBWAPI_1_1UnitType_a169f46b1441dbd2eff59bd79ce85e033}{\index{\-B\-W\-A\-P\-I\-::\-Unit\-Type@{\-B\-W\-A\-P\-I\-::\-Unit\-Type}!is\-Beacon@{is\-Beacon}}
\index{is\-Beacon@{is\-Beacon}!BWAPI::UnitType@{\-B\-W\-A\-P\-I\-::\-Unit\-Type}}
\subsubsection[{is\-Beacon}]{\setlength{\rightskip}{0pt plus 5cm}bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-Type\-::is\-Beacon} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{classBWAPI_1_1UnitType_a169f46b1441dbd2eff59bd79ce85e033}
\-Returns true if the unit is a regular \-Beacon. 

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


\hypertarget{classBWAPI_1_1UnitType_a034a7c0603ae88b76fc91c964498dfd8}{\index{\-B\-W\-A\-P\-I\-::\-Unit\-Type@{\-B\-W\-A\-P\-I\-::\-Unit\-Type}!is\-Building@{is\-Building}}
\index{is\-Building@{is\-Building}!BWAPI::UnitType@{\-B\-W\-A\-P\-I\-::\-Unit\-Type}}
\subsubsection[{is\-Building}]{\setlength{\rightskip}{0pt plus 5cm}bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-Type\-::is\-Building} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{classBWAPI_1_1UnitType_a034a7c0603ae88b76fc91c964498dfd8}
\-Returns true if the unit is a building (also true for mineral field and vespene geyser). 

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


\hypertarget{classBWAPI_1_1UnitType_ae66090b404ee85d7add54aeb793898d0}{\index{\-B\-W\-A\-P\-I\-::\-Unit\-Type@{\-B\-W\-A\-P\-I\-::\-Unit\-Type}!is\-Burrowable@{is\-Burrowable}}
\index{is\-Burrowable@{is\-Burrowable}!BWAPI::UnitType@{\-B\-W\-A\-P\-I\-::\-Unit\-Type}}
\subsubsection[{is\-Burrowable}]{\setlength{\rightskip}{0pt plus 5cm}bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-Type\-::is\-Burrowable} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{classBWAPI_1_1UnitType_ae66090b404ee85d7add54aeb793898d0}
\-Returns true for \-Zerg \-Lurker and units that can burrow when burrow tech is researched. 

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


\hypertarget{classBWAPI_1_1UnitType_a49e05c185df69e8fd763c3323c7f2b79}{\index{\-B\-W\-A\-P\-I\-::\-Unit\-Type@{\-B\-W\-A\-P\-I\-::\-Unit\-Type}!is\-Cloakable@{is\-Cloakable}}
\index{is\-Cloakable@{is\-Cloakable}!BWAPI::UnitType@{\-B\-W\-A\-P\-I\-::\-Unit\-Type}}
\subsubsection[{is\-Cloakable}]{\setlength{\rightskip}{0pt plus 5cm}bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-Type\-::is\-Cloakable} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{classBWAPI_1_1UnitType_a49e05c185df69e8fd763c3323c7f2b79}
\-Returns true for units that can be cloaked -\/ \-Terran \-Ghost and \-Terran \-Wraith. \-Does not include units which have permanent cloak (\-Protoss \-Observer and \-Protoss \-Dark \-Templar). 

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


\hypertarget{classBWAPI_1_1UnitType_ab91059517473667fb78180a03a4f3b2d}{\index{\-B\-W\-A\-P\-I\-::\-Unit\-Type@{\-B\-W\-A\-P\-I\-::\-Unit\-Type}!is\-Detector@{is\-Detector}}
\index{is\-Detector@{is\-Detector}!BWAPI::UnitType@{\-B\-W\-A\-P\-I\-::\-Unit\-Type}}
\subsubsection[{is\-Detector}]{\setlength{\rightskip}{0pt plus 5cm}bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-Type\-::is\-Detector} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{classBWAPI_1_1UnitType_ab91059517473667fb78180a03a4f3b2d}
\-Returns true for the seven units that can detect cloaked units -\/ \-Terran \-Science \-Vessel, \-Spell \-Scanner \-Sweep, \-Zerg \-Overlord, \-Protoss \-Observer, \-Terran \-Missile \-Turret, \-Zerg \-Spore \-Colony, and \-Protoss \-Photon \-Cannon. 

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


\hypertarget{classBWAPI_1_1UnitType_a8bdbc36ee4edb33312a1d9b2ba0cf78f}{\index{\-B\-W\-A\-P\-I\-::\-Unit\-Type@{\-B\-W\-A\-P\-I\-::\-Unit\-Type}!is\-Flag\-Beacon@{is\-Flag\-Beacon}}
\index{is\-Flag\-Beacon@{is\-Flag\-Beacon}!BWAPI::UnitType@{\-B\-W\-A\-P\-I\-::\-Unit\-Type}}
\subsubsection[{is\-Flag\-Beacon}]{\setlength{\rightskip}{0pt plus 5cm}bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-Type\-::is\-Flag\-Beacon} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{classBWAPI_1_1UnitType_a8bdbc36ee4edb33312a1d9b2ba0cf78f}
\-Returns true if the unit is a flag \-Beacon. 

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


\hypertarget{classBWAPI_1_1UnitType_acc1c5e5adaa31064ee8aea928c41c872}{\index{\-B\-W\-A\-P\-I\-::\-Unit\-Type@{\-B\-W\-A\-P\-I\-::\-Unit\-Type}!is\-Flyer@{is\-Flyer}}
\index{is\-Flyer@{is\-Flyer}!BWAPI::UnitType@{\-B\-W\-A\-P\-I\-::\-Unit\-Type}}
\subsubsection[{is\-Flyer}]{\setlength{\rightskip}{0pt plus 5cm}bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-Type\-::is\-Flyer} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{classBWAPI_1_1UnitType_acc1c5e5adaa31064ee8aea928c41c872}
\-Returns true for flying/air units. 

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


\hypertarget{classBWAPI_1_1UnitType_a650fbb1305500ca02ec15b734ad435e7}{\index{\-B\-W\-A\-P\-I\-::\-Unit\-Type@{\-B\-W\-A\-P\-I\-::\-Unit\-Type}!is\-Flying\-Building@{is\-Flying\-Building}}
\index{is\-Flying\-Building@{is\-Flying\-Building}!BWAPI::UnitType@{\-B\-W\-A\-P\-I\-::\-Unit\-Type}}
\subsubsection[{is\-Flying\-Building}]{\setlength{\rightskip}{0pt plus 5cm}bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-Type\-::is\-Flying\-Building} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{classBWAPI_1_1UnitType_a650fbb1305500ca02ec15b734ad435e7}
\-Returns true for \-Terran buildings that can lift off (i.\-e. \-Barracks). 

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


\hypertarget{classBWAPI_1_1UnitType_a8f50bbd8622cf47e2a568207c3320678}{\index{\-B\-W\-A\-P\-I\-::\-Unit\-Type@{\-B\-W\-A\-P\-I\-::\-Unit\-Type}!is\-Hero@{is\-Hero}}
\index{is\-Hero@{is\-Hero}!BWAPI::UnitType@{\-B\-W\-A\-P\-I\-::\-Unit\-Type}}
\subsubsection[{is\-Hero}]{\setlength{\rightskip}{0pt plus 5cm}bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-Type\-::is\-Hero} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{classBWAPI_1_1UnitType_a8f50bbd8622cf47e2a568207c3320678}
\-Returns true if the unit is a \-Hero unit. 

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


\hypertarget{classBWAPI_1_1UnitType_a1871be4094320b2e105eeb01455f3c59}{\index{\-B\-W\-A\-P\-I\-::\-Unit\-Type@{\-B\-W\-A\-P\-I\-::\-Unit\-Type}!is\-Invincible@{is\-Invincible}}
\index{is\-Invincible@{is\-Invincible}!BWAPI::UnitType@{\-B\-W\-A\-P\-I\-::\-Unit\-Type}}
\subsubsection[{is\-Invincible}]{\setlength{\rightskip}{0pt plus 5cm}bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-Type\-::is\-Invincible} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{classBWAPI_1_1UnitType_a1871be4094320b2e105eeb01455f3c59}
\-Returns true for units that cannot be destroyed (i.\-e. \-Terran \-Nuclear \-Missile, \-Mineral \-Field, \-Vespene \-Geyser, etc) 

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


\hypertarget{classBWAPI_1_1UnitType_a2f8db6f5e2d72bbf07e526b06276f792}{\index{\-B\-W\-A\-P\-I\-::\-Unit\-Type@{\-B\-W\-A\-P\-I\-::\-Unit\-Type}!is\-Mechanical@{is\-Mechanical}}
\index{is\-Mechanical@{is\-Mechanical}!BWAPI::UnitType@{\-B\-W\-A\-P\-I\-::\-Unit\-Type}}
\subsubsection[{is\-Mechanical}]{\setlength{\rightskip}{0pt plus 5cm}bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-Type\-::is\-Mechanical} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{classBWAPI_1_1UnitType_a2f8db6f5e2d72bbf07e526b06276f792}
\-Returns true if the unit is mechanical such as a \-Terran \-Vulture. 

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


\hypertarget{classBWAPI_1_1UnitType_a3d298d505bbae073f699837b75e7db78}{\index{\-B\-W\-A\-P\-I\-::\-Unit\-Type@{\-B\-W\-A\-P\-I\-::\-Unit\-Type}!is\-Mineral\-Field@{is\-Mineral\-Field}}
\index{is\-Mineral\-Field@{is\-Mineral\-Field}!BWAPI::UnitType@{\-B\-W\-A\-P\-I\-::\-Unit\-Type}}
\subsubsection[{is\-Mineral\-Field}]{\setlength{\rightskip}{0pt plus 5cm}bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-Type\-::is\-Mineral\-Field} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{classBWAPI_1_1UnitType_a3d298d505bbae073f699837b75e7db78}
\-Returns true if the unit is one of the three mineral field types. \hypertarget{classBWAPI_1_1UnitType_a57581b35022acbdd261ee5efd6cb2bac}{\index{\-B\-W\-A\-P\-I\-::\-Unit\-Type@{\-B\-W\-A\-P\-I\-::\-Unit\-Type}!is\-Neutral@{is\-Neutral}}
\index{is\-Neutral@{is\-Neutral}!BWAPI::UnitType@{\-B\-W\-A\-P\-I\-::\-Unit\-Type}}
\subsubsection[{is\-Neutral}]{\setlength{\rightskip}{0pt plus 5cm}bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-Type\-::is\-Neutral} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{classBWAPI_1_1UnitType_a57581b35022acbdd261ee5efd6cb2bac}
\-Returns true if the unit is neutral, such as a critter or mineral field. 

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


\hypertarget{classBWAPI_1_1UnitType_a6b7e8eb5165194ed3c266efe73a9cd96}{\index{\-B\-W\-A\-P\-I\-::\-Unit\-Type@{\-B\-W\-A\-P\-I\-::\-Unit\-Type}!is\-Organic@{is\-Organic}}
\index{is\-Organic@{is\-Organic}!BWAPI::UnitType@{\-B\-W\-A\-P\-I\-::\-Unit\-Type}}
\subsubsection[{is\-Organic}]{\setlength{\rightskip}{0pt plus 5cm}bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-Type\-::is\-Organic} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{classBWAPI_1_1UnitType_a6b7e8eb5165194ed3c266efe73a9cd96}
\-Returns true if the unit is organic, such as a \-Terran \-Marine. 

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


\hypertarget{classBWAPI_1_1UnitType_ad8f0f20052ea3ae751daede491f19c7b}{\index{\-B\-W\-A\-P\-I\-::\-Unit\-Type@{\-B\-W\-A\-P\-I\-::\-Unit\-Type}!is\-Powerup@{is\-Powerup}}
\index{is\-Powerup@{is\-Powerup}!BWAPI::UnitType@{\-B\-W\-A\-P\-I\-::\-Unit\-Type}}
\subsubsection[{is\-Powerup}]{\setlength{\rightskip}{0pt plus 5cm}bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-Type\-::is\-Powerup} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{classBWAPI_1_1UnitType_ad8f0f20052ea3ae751daede491f19c7b}
\-Returns true if the unit is a \-Powerup unit. 

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


\hypertarget{classBWAPI_1_1UnitType_add764ad3cd35a4d4532919a2ba8e95fe}{\index{\-B\-W\-A\-P\-I\-::\-Unit\-Type@{\-B\-W\-A\-P\-I\-::\-Unit\-Type}!is\-Refinery@{is\-Refinery}}
\index{is\-Refinery@{is\-Refinery}!BWAPI::UnitType@{\-B\-W\-A\-P\-I\-::\-Unit\-Type}}
\subsubsection[{is\-Refinery}]{\setlength{\rightskip}{0pt plus 5cm}bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-Type\-::is\-Refinery} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{classBWAPI_1_1UnitType_add764ad3cd35a4d4532919a2ba8e95fe}
\-Returns true for \-Terran \-Refinery, \-Zerg \-Extractor, and \-Protoss \-Assimilator. 

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


\hypertarget{classBWAPI_1_1UnitType_ad9d669a185dbd08c02a570514df8cfda}{\index{\-B\-W\-A\-P\-I\-::\-Unit\-Type@{\-B\-W\-A\-P\-I\-::\-Unit\-Type}!is\-Resource\-Container@{is\-Resource\-Container}}
\index{is\-Resource\-Container@{is\-Resource\-Container}!BWAPI::UnitType@{\-B\-W\-A\-P\-I\-::\-Unit\-Type}}
\subsubsection[{is\-Resource\-Container}]{\setlength{\rightskip}{0pt plus 5cm}bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-Type\-::is\-Resource\-Container} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{classBWAPI_1_1UnitType_ad9d669a185dbd08c02a570514df8cfda}
\-Returns true for the five units that hold resources -\/ \-Mineral \-Field, \-Vespene \-Geyser, \-Terran \-Refinery, \-Zerg \-Extractor, and \-Protoss \-Assimilator. 

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


\hypertarget{classBWAPI_1_1UnitType_a475dd07d517f3a415b44b64bf894fd2e}{\index{\-B\-W\-A\-P\-I\-::\-Unit\-Type@{\-B\-W\-A\-P\-I\-::\-Unit\-Type}!is\-Resource\-Depot@{is\-Resource\-Depot}}
\index{is\-Resource\-Depot@{is\-Resource\-Depot}!BWAPI::UnitType@{\-B\-W\-A\-P\-I\-::\-Unit\-Type}}
\subsubsection[{is\-Resource\-Depot}]{\setlength{\rightskip}{0pt plus 5cm}bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-Type\-::is\-Resource\-Depot} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{classBWAPI_1_1UnitType_a475dd07d517f3a415b44b64bf894fd2e}
\-Returns true for the five units that can accept resources -\/ \-Terran \-Command \-Center, \-Protoss \-Nexus, \-Zerg \-Hatchery, \-Zerg \-Lair, and \-Zerg \-Hive. 

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


\hypertarget{classBWAPI_1_1UnitType_ae1c2e4b9d4be22c64edfc4f59fd9fb24}{\index{\-B\-W\-A\-P\-I\-::\-Unit\-Type@{\-B\-W\-A\-P\-I\-::\-Unit\-Type}!is\-Robotic@{is\-Robotic}}
\index{is\-Robotic@{is\-Robotic}!BWAPI::UnitType@{\-B\-W\-A\-P\-I\-::\-Unit\-Type}}
\subsubsection[{is\-Robotic}]{\setlength{\rightskip}{0pt plus 5cm}bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-Type\-::is\-Robotic} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{classBWAPI_1_1UnitType_ae1c2e4b9d4be22c64edfc4f59fd9fb24}
\-Returns true for the four robotic \-Protoss units -\/ \-Probe, \-Shuttle, \-Reaver, and \-Observer. 

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


\hypertarget{classBWAPI_1_1UnitType_a97cad53bb4f902ef229c85940ae7f8ab}{\index{\-B\-W\-A\-P\-I\-::\-Unit\-Type@{\-B\-W\-A\-P\-I\-::\-Unit\-Type}!is\-Special\-Building@{is\-Special\-Building}}
\index{is\-Special\-Building@{is\-Special\-Building}!BWAPI::UnitType@{\-B\-W\-A\-P\-I\-::\-Unit\-Type}}
\subsubsection[{is\-Special\-Building}]{\setlength{\rightskip}{0pt plus 5cm}bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-Type\-::is\-Special\-Building} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{classBWAPI_1_1UnitType_a97cad53bb4f902ef229c85940ae7f8ab}
\-Returns true if the unit is a special building. 

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


\hypertarget{classBWAPI_1_1UnitType_a92264f0c6ea7c89f835cb2cc1dd49283}{\index{\-B\-W\-A\-P\-I\-::\-Unit\-Type@{\-B\-W\-A\-P\-I\-::\-Unit\-Type}!is\-Spell@{is\-Spell}}
\index{is\-Spell@{is\-Spell}!BWAPI::UnitType@{\-B\-W\-A\-P\-I\-::\-Unit\-Type}}
\subsubsection[{is\-Spell}]{\setlength{\rightskip}{0pt plus 5cm}bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-Type\-::is\-Spell} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{classBWAPI_1_1UnitType_a92264f0c6ea7c89f835cb2cc1dd49283}
\-Returns true if the unit is a spell unit. 

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


\hypertarget{classBWAPI_1_1UnitType_ab3d5daf870d35fbd9842633fbe9931b6}{\index{\-B\-W\-A\-P\-I\-::\-Unit\-Type@{\-B\-W\-A\-P\-I\-::\-Unit\-Type}!is\-Spellcaster@{is\-Spellcaster}}
\index{is\-Spellcaster@{is\-Spellcaster}!BWAPI::UnitType@{\-B\-W\-A\-P\-I\-::\-Unit\-Type}}
\subsubsection[{is\-Spellcaster}]{\setlength{\rightskip}{0pt plus 5cm}bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-Type\-::is\-Spellcaster} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{classBWAPI_1_1UnitType_ab3d5daf870d35fbd9842633fbe9931b6}
\-Returns true if the unit type is capable of casting spells / using technology. 

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


\hypertarget{classBWAPI_1_1UnitType_a1e11b4224f578b7cc44ca10ac6a45376}{\index{\-B\-W\-A\-P\-I\-::\-Unit\-Type@{\-B\-W\-A\-P\-I\-::\-Unit\-Type}!is\-Two\-Units\-In\-One\-Egg@{is\-Two\-Units\-In\-One\-Egg}}
\index{is\-Two\-Units\-In\-One\-Egg@{is\-Two\-Units\-In\-One\-Egg}!BWAPI::UnitType@{\-B\-W\-A\-P\-I\-::\-Unit\-Type}}
\subsubsection[{is\-Two\-Units\-In\-One\-Egg}]{\setlength{\rightskip}{0pt plus 5cm}bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-Type\-::is\-Two\-Units\-In\-One\-Egg} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{classBWAPI_1_1UnitType_a1e11b4224f578b7cc44ca10ac6a45376}
\-Returns true for \-Zergling and \-Scourge. 

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


\hypertarget{classBWAPI_1_1UnitType_ac6e9d6137cc989df229a386991348ab4}{\index{\-B\-W\-A\-P\-I\-::\-Unit\-Type@{\-B\-W\-A\-P\-I\-::\-Unit\-Type}!is\-Worker@{is\-Worker}}
\index{is\-Worker@{is\-Worker}!BWAPI::UnitType@{\-B\-W\-A\-P\-I\-::\-Unit\-Type}}
\subsubsection[{is\-Worker}]{\setlength{\rightskip}{0pt plus 5cm}bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-Type\-::is\-Worker} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{classBWAPI_1_1UnitType_ac6e9d6137cc989df229a386991348ab4}
\-Returns true for \-Protoss \-Probe, \-Terran \-S\-C\-V, and \-Zerg \-Drone. 

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


\hypertarget{classBWAPI_1_1UnitType_ad8f314f289937d9bbc3cefc881d34113}{\index{\-B\-W\-A\-P\-I\-::\-Unit\-Type@{\-B\-W\-A\-P\-I\-::\-Unit\-Type}!max\-Air\-Hits@{max\-Air\-Hits}}
\index{max\-Air\-Hits@{max\-Air\-Hits}!BWAPI::UnitType@{\-B\-W\-A\-P\-I\-::\-Unit\-Type}}
\subsubsection[{max\-Air\-Hits}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf \-B\-W\-A\-P\-I\-::\-Unit\-Type\-::max\-Air\-Hits} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{classBWAPI_1_1UnitType_ad8f314f289937d9bbc3cefc881d34113}


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


\hypertarget{classBWAPI_1_1UnitType_ad959a20d394f8007c49c3fbe0382cb4b}{\index{\-B\-W\-A\-P\-I\-::\-Unit\-Type@{\-B\-W\-A\-P\-I\-::\-Unit\-Type}!max\-Energy@{max\-Energy}}
\index{max\-Energy@{max\-Energy}!BWAPI::UnitType@{\-B\-W\-A\-P\-I\-::\-Unit\-Type}}
\subsubsection[{max\-Energy}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf \-B\-W\-A\-P\-I\-::\-Unit\-Type\-::max\-Energy} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{classBWAPI_1_1UnitType_ad959a20d394f8007c49c3fbe0382cb4b}
\-Returns the maximum amount of energy the unit type can have. \hypertarget{classBWAPI_1_1UnitType_a30365e198ed2b8e13d754479767b16e7}{\index{\-B\-W\-A\-P\-I\-::\-Unit\-Type@{\-B\-W\-A\-P\-I\-::\-Unit\-Type}!max\-Ground\-Hits@{max\-Ground\-Hits}}
\index{max\-Ground\-Hits@{max\-Ground\-Hits}!BWAPI::UnitType@{\-B\-W\-A\-P\-I\-::\-Unit\-Type}}
\subsubsection[{max\-Ground\-Hits}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf \-B\-W\-A\-P\-I\-::\-Unit\-Type\-::max\-Ground\-Hits} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{classBWAPI_1_1UnitType_a30365e198ed2b8e13d754479767b16e7}


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


\hypertarget{classBWAPI_1_1UnitType_a8d445acfdd1a90971b11fc2f870650a6}{\index{\-B\-W\-A\-P\-I\-::\-Unit\-Type@{\-B\-W\-A\-P\-I\-::\-Unit\-Type}!max\-Hit\-Points@{max\-Hit\-Points}}
\index{max\-Hit\-Points@{max\-Hit\-Points}!BWAPI::UnitType@{\-B\-W\-A\-P\-I\-::\-Unit\-Type}}
\subsubsection[{max\-Hit\-Points}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf \-B\-W\-A\-P\-I\-::\-Unit\-Type\-::max\-Hit\-Points} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{classBWAPI_1_1UnitType_a8d445acfdd1a90971b11fc2f870650a6}
\-Returns the maximum amount of hit points the unit type can have. \hypertarget{classBWAPI_1_1UnitType_a3484ad3facb8f799a47b513b68e13bbd}{\index{\-B\-W\-A\-P\-I\-::\-Unit\-Type@{\-B\-W\-A\-P\-I\-::\-Unit\-Type}!max\-Shields@{max\-Shields}}
\index{max\-Shields@{max\-Shields}!BWAPI::UnitType@{\-B\-W\-A\-P\-I\-::\-Unit\-Type}}
\subsubsection[{max\-Shields}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf \-B\-W\-A\-P\-I\-::\-Unit\-Type\-::max\-Shields} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{classBWAPI_1_1UnitType_a3484ad3facb8f799a47b513b68e13bbd}
\-Returns the maximum amount of shields the unit type can have. \hypertarget{classBWAPI_1_1UnitType_a2207072b32e65a9037015b47e69aa6da}{\index{\-B\-W\-A\-P\-I\-::\-Unit\-Type@{\-B\-W\-A\-P\-I\-::\-Unit\-Type}!mineral\-Price@{mineral\-Price}}
\index{mineral\-Price@{mineral\-Price}!BWAPI::UnitType@{\-B\-W\-A\-P\-I\-::\-Unit\-Type}}
\subsubsection[{mineral\-Price}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf \-B\-W\-A\-P\-I\-::\-Unit\-Type\-::mineral\-Price} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{classBWAPI_1_1UnitType_a2207072b32e65a9037015b47e69aa6da}
\-Returns the mineral price of the unit.

\-Example\-: \-Unit\-Types\-::\-Siege\-\_\-\-Tank\-\_\-\-Tank\-\_\-\-Mode.\-mineral\-Price() returns 150. 

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


\hypertarget{classBWAPI_1_1UnitType_af0b7aaf2cffefd7523bc5dfc8771a371}{\index{\-B\-W\-A\-P\-I\-::\-Unit\-Type@{\-B\-W\-A\-P\-I\-::\-Unit\-Type}!operator int@{operator int}}
\index{operator int@{operator int}!BWAPI::UnitType@{\-B\-W\-A\-P\-I\-::\-Unit\-Type}}
\subsubsection[{operator int}]{\setlength{\rightskip}{0pt plus 5cm}\-B\-W\-A\-P\-I\-::\-Unit\-Type\-::operator int (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{classBWAPI_1_1UnitType_af0b7aaf2cffefd7523bc5dfc8771a371}
\hypertarget{classBWAPI_1_1UnitType_a7a71f005745b7ad089b7a7d119b5c1b4}{\index{\-B\-W\-A\-P\-I\-::\-Unit\-Type@{\-B\-W\-A\-P\-I\-::\-Unit\-Type}!operator=@{operator=}}
\index{operator=@{operator=}!BWAPI::UnitType@{\-B\-W\-A\-P\-I\-::\-Unit\-Type}}
\subsubsection[{operator=}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-Unit\-Type}\& \-B\-W\-A\-P\-I\-::\-Unit\-Type\-::operator= (
\begin{DoxyParamCaption}
\item[{const {\bf \-Unit\-Type} \&}]{other}
\end{DoxyParamCaption}
)}}\label{classBWAPI_1_1UnitType_a7a71f005745b7ad089b7a7d119b5c1b4}
\hypertarget{classBWAPI_1_1UnitType_a67c16dbdfc086a0ac9cc2e0d2015db93}{\index{\-B\-W\-A\-P\-I\-::\-Unit\-Type@{\-B\-W\-A\-P\-I\-::\-Unit\-Type}!produces\-Larva@{produces\-Larva}}
\index{produces\-Larva@{produces\-Larva}!BWAPI::UnitType@{\-B\-W\-A\-P\-I\-::\-Unit\-Type}}
\subsubsection[{produces\-Larva}]{\setlength{\rightskip}{0pt plus 5cm}bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-Type\-::produces\-Larva} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{classBWAPI_1_1UnitType_a67c16dbdfc086a0ac9cc2e0d2015db93}
\-Returns true if the unit produces larva. \hypertarget{classBWAPI_1_1UnitType_a8ef479fe3a3cba22da9554eae9632c3e}{\index{\-B\-W\-A\-P\-I\-::\-Unit\-Type@{\-B\-W\-A\-P\-I\-::\-Unit\-Type}!regenerates\-H\-P@{regenerates\-H\-P}}
\index{regenerates\-H\-P@{regenerates\-H\-P}!BWAPI::UnitType@{\-B\-W\-A\-P\-I\-::\-Unit\-Type}}
\subsubsection[{regenerates\-H\-P}]{\setlength{\rightskip}{0pt plus 5cm}bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-Type\-::regenerates\-H\-P} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{classBWAPI_1_1UnitType_a8ef479fe3a3cba22da9554eae9632c3e}
\-Returns true for units that regenerate health (i.\-e. zerg units). 

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


\hypertarget{classBWAPI_1_1UnitType_a4441e75d1234cdce3934b64bb2fcf8aa}{\index{\-B\-W\-A\-P\-I\-::\-Unit\-Type@{\-B\-W\-A\-P\-I\-::\-Unit\-Type}!required\-Tech@{required\-Tech}}
\index{required\-Tech@{required\-Tech}!BWAPI::UnitType@{\-B\-W\-A\-P\-I\-::\-Unit\-Type}}
\subsubsection[{required\-Tech}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-Tech\-Type} {\bf \-B\-W\-A\-P\-I\-::\-Unit\-Type\-::required\-Tech} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{classBWAPI_1_1UnitType_a4441e75d1234cdce3934b64bb2fcf8aa}
\-Included in the \-A\-P\-I for completeness, since the only units that actually needs tech to be trained are the \-Zerg\-\_\-\-Lurker and \-Zerg\-\_\-\-Lurker\-\_\-\-Egg. \-The tech type needed is \hyperlink{namespaceBWAPI_1_1TechTypes_a14d3673219ad4f973a30dee6e7eb02a5}{\-Tech\-Types\-::\-Lurker\-\_\-\-Aspect}. \hypertarget{classBWAPI_1_1UnitType_aa1912ae57c4201a60c5cae1fd4db1ee8}{\index{\-B\-W\-A\-P\-I\-::\-Unit\-Type@{\-B\-W\-A\-P\-I\-::\-Unit\-Type}!required\-Units@{required\-Units}}
\index{required\-Units@{required\-Units}!BWAPI::UnitType@{\-B\-W\-A\-P\-I\-::\-Unit\-Type}}
\subsubsection[{required\-Units}]{\setlength{\rightskip}{0pt plus 5cm}const std\-::map$<$ {\bf \-Unit\-Type}, int $>$\& {\bf \-B\-W\-A\-P\-I\-::\-Unit\-Type\-::required\-Units} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{classBWAPI_1_1UnitType_aa1912ae57c4201a60c5cae1fd4db1ee8}
\-Returns the units the player is required to have before it can train or build the given unit type.

\-Example\-: \-Unit\-Types\-::\-Terran\-\_\-\-Battlecruiser.\-required\-Units() will return a map of three keys\-: \hyperlink{namespaceBWAPI_1_1UnitTypes_a198fedfa8fe72de5650d847f25a6e267}{\-Unit\-Types\-::\-Terran\-\_\-\-Starport}, \hyperlink{namespaceBWAPI_1_1UnitTypes_a1ee1421766e3f0461f611e11f6f1e8e4}{\-Unit\-Types\-::\-Terran\-\_\-\-Control\-\_\-\-Tower}, and \hyperlink{namespaceBWAPI_1_1UnitTypes_a13c655ac50e18178123474ebb5c4a063}{\-Unit\-Types\-::\-Terran\-\_\-\-Physics\-\_\-\-Lab}. 

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


\hypertarget{classBWAPI_1_1UnitType_a96e12875a03c4036c05b5fdf9270aa58}{\index{\-B\-W\-A\-P\-I\-::\-Unit\-Type@{\-B\-W\-A\-P\-I\-::\-Unit\-Type}!requires\-Creep@{requires\-Creep}}
\index{requires\-Creep@{requires\-Creep}!BWAPI::UnitType@{\-B\-W\-A\-P\-I\-::\-Unit\-Type}}
\subsubsection[{requires\-Creep}]{\setlength{\rightskip}{0pt plus 5cm}bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-Type\-::requires\-Creep} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{classBWAPI_1_1UnitType_a96e12875a03c4036c05b5fdf9270aa58}
\-Returns true for buildings that can only be built on zerg creep. 

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


\hypertarget{classBWAPI_1_1UnitType_a97b50b4342acd82f72cdbbe3cdade061}{\index{\-B\-W\-A\-P\-I\-::\-Unit\-Type@{\-B\-W\-A\-P\-I\-::\-Unit\-Type}!requires\-Psi@{requires\-Psi}}
\index{requires\-Psi@{requires\-Psi}!BWAPI::UnitType@{\-B\-W\-A\-P\-I\-::\-Unit\-Type}}
\subsubsection[{requires\-Psi}]{\setlength{\rightskip}{0pt plus 5cm}bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-Type\-::requires\-Psi} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{classBWAPI_1_1UnitType_a97b50b4342acd82f72cdbbe3cdade061}
\-Returns true for buildings that must be near a pylon to be constructed. 

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


\hypertarget{classBWAPI_1_1UnitType_a8a418ce38c3dd7864d101111924cf4e0}{\index{\-B\-W\-A\-P\-I\-::\-Unit\-Type@{\-B\-W\-A\-P\-I\-::\-Unit\-Type}!seek\-Range@{seek\-Range}}
\index{seek\-Range@{seek\-Range}!BWAPI::UnitType@{\-B\-W\-A\-P\-I\-::\-Unit\-Type}}
\subsubsection[{seek\-Range}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf \-B\-W\-A\-P\-I\-::\-Unit\-Type\-::seek\-Range} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{classBWAPI_1_1UnitType_a8a418ce38c3dd7864d101111924cf4e0}
\-Returns the range at which the unit will start targeting enemy units, measured in pixels. 

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


\hypertarget{classBWAPI_1_1UnitType_a94160d99f91d02db36d619e9e5a3fcd6}{\index{\-B\-W\-A\-P\-I\-::\-Unit\-Type@{\-B\-W\-A\-P\-I\-::\-Unit\-Type}!sight\-Range@{sight\-Range}}
\index{sight\-Range@{sight\-Range}!BWAPI::UnitType@{\-B\-W\-A\-P\-I\-::\-Unit\-Type}}
\subsubsection[{sight\-Range}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf \-B\-W\-A\-P\-I\-::\-Unit\-Type\-::sight\-Range} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{classBWAPI_1_1UnitType_a94160d99f91d02db36d619e9e5a3fcd6}
\-Returns how far the un-\/upgraded unit type can see into the fog of war, measured in pixels. 

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


\hypertarget{classBWAPI_1_1UnitType_a88710fdd32ae2d0f38ea4a651a059270}{\index{\-B\-W\-A\-P\-I\-::\-Unit\-Type@{\-B\-W\-A\-P\-I\-::\-Unit\-Type}!size@{size}}
\index{size@{size}!BWAPI::UnitType@{\-B\-W\-A\-P\-I\-::\-Unit\-Type}}
\subsubsection[{size}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-Unit\-Size\-Type} {\bf \-B\-W\-A\-P\-I\-::\-Unit\-Type\-::size} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{classBWAPI_1_1UnitType_a88710fdd32ae2d0f38ea4a651a059270}
\-Returns the size of the unit -\/ either \-Small, \-Medium, \-Large, or \-Independent. \hypertarget{classBWAPI_1_1UnitType_a3a13565983f7b2819440e0fe9882352c}{\index{\-B\-W\-A\-P\-I\-::\-Unit\-Type@{\-B\-W\-A\-P\-I\-::\-Unit\-Type}!space\-Provided@{space\-Provided}}
\index{space\-Provided@{space\-Provided}!BWAPI::UnitType@{\-B\-W\-A\-P\-I\-::\-Unit\-Type}}
\subsubsection[{space\-Provided}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf \-B\-W\-A\-P\-I\-::\-Unit\-Type\-::space\-Provided} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{classBWAPI_1_1UnitType_a3a13565983f7b2819440e0fe9882352c}
\-Returns the amount of space this unit type provides. \hypertarget{classBWAPI_1_1UnitType_afd7b962a7edcc57b9192e9f52888cbb9}{\index{\-B\-W\-A\-P\-I\-::\-Unit\-Type@{\-B\-W\-A\-P\-I\-::\-Unit\-Type}!space\-Required@{space\-Required}}
\index{space\-Required@{space\-Required}!BWAPI::UnitType@{\-B\-W\-A\-P\-I\-::\-Unit\-Type}}
\subsubsection[{space\-Required}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf \-B\-W\-A\-P\-I\-::\-Unit\-Type\-::space\-Required} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{classBWAPI_1_1UnitType_afd7b962a7edcc57b9192e9f52888cbb9}
\-Returns the amount of space this unit type takes up inside a bunker or transport unit. \hypertarget{classBWAPI_1_1UnitType_aeadaeab4c78bfc1ab6e3ec0f9bc9e41b}{\index{\-B\-W\-A\-P\-I\-::\-Unit\-Type@{\-B\-W\-A\-P\-I\-::\-Unit\-Type}!supply\-Provided@{supply\-Provided}}
\index{supply\-Provided@{supply\-Provided}!BWAPI::UnitType@{\-B\-W\-A\-P\-I\-::\-Unit\-Type}}
\subsubsection[{supply\-Provided}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf \-B\-W\-A\-P\-I\-::\-Unit\-Type\-::supply\-Provided} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{classBWAPI_1_1UnitType_aeadaeab4c78bfc1ab6e3ec0f9bc9e41b}
\-Returns the amount of supply produced by this unit (i.\-e. for a \-Protoss\-\_\-\-Pylon). \-Supply counts returned by \hyperlink{namespaceBWAPI}{\-B\-W\-A\-P\-I} are double what you would expect to see from playing the game. \-This is because zerglings take up 0.\-5 in-\/game supply. 

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


\hypertarget{classBWAPI_1_1UnitType_ac218c742dd54660b333e98ed7c3c07fd}{\index{\-B\-W\-A\-P\-I\-::\-Unit\-Type@{\-B\-W\-A\-P\-I\-::\-Unit\-Type}!supply\-Required@{supply\-Required}}
\index{supply\-Required@{supply\-Required}!BWAPI::UnitType@{\-B\-W\-A\-P\-I\-::\-Unit\-Type}}
\subsubsection[{supply\-Required}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf \-B\-W\-A\-P\-I\-::\-Unit\-Type\-::supply\-Required} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{classBWAPI_1_1UnitType_ac218c742dd54660b333e98ed7c3c07fd}
\-Returns the amount of supply used by this unit. \-Supply counts returned by \hyperlink{namespaceBWAPI}{\-B\-W\-A\-P\-I} are double what you would expect to see from playing the game. \-This is because zerglings take up 0.\-5 in-\/game supply. 

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


\hypertarget{classBWAPI_1_1UnitType_a2c1097a9a9236fdaace68d57b32044e7}{\index{\-B\-W\-A\-P\-I\-::\-Unit\-Type@{\-B\-W\-A\-P\-I\-::\-Unit\-Type}!tile\-Height@{tile\-Height}}
\index{tile\-Height@{tile\-Height}!BWAPI::UnitType@{\-B\-W\-A\-P\-I\-::\-Unit\-Type}}
\subsubsection[{tile\-Height}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf \-B\-W\-A\-P\-I\-::\-Unit\-Type\-::tile\-Height} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{classBWAPI_1_1UnitType_a2c1097a9a9236fdaace68d57b32044e7}
\-Returns the tile height of the unit. \-Useful for determining the size of buildings. \-For example \-Unit\-Types\-::\-Terran\-\_\-\-Supply\-\_\-\-Depot.\-tile\-Height() will return 2. 

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


\hypertarget{classBWAPI_1_1UnitType_a8a09082b3f7e13b20dbf647c0013bcd8}{\index{\-B\-W\-A\-P\-I\-::\-Unit\-Type@{\-B\-W\-A\-P\-I\-::\-Unit\-Type}!tile\-Width@{tile\-Width}}
\index{tile\-Width@{tile\-Width}!BWAPI::UnitType@{\-B\-W\-A\-P\-I\-::\-Unit\-Type}}
\subsubsection[{tile\-Width}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf \-B\-W\-A\-P\-I\-::\-Unit\-Type\-::tile\-Width} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{classBWAPI_1_1UnitType_a8a09082b3f7e13b20dbf647c0013bcd8}
\-Returns the tile width of the unit. \-Useful for determining the size of buildings. \-For example \-Unit\-Types\-::\-Terran\-\_\-\-Supply\-\_\-\-Depot.\-tile\-Width() will return 3. 

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


\hypertarget{classBWAPI_1_1UnitType_ade2449138ba6915c289f40986e2ed21b}{\index{\-B\-W\-A\-P\-I\-::\-Unit\-Type@{\-B\-W\-A\-P\-I\-::\-Unit\-Type}!top\-Speed@{top\-Speed}}
\index{top\-Speed@{top\-Speed}!BWAPI::UnitType@{\-B\-W\-A\-P\-I\-::\-Unit\-Type}}
\subsubsection[{top\-Speed}]{\setlength{\rightskip}{0pt plus 5cm}double {\bf \-B\-W\-A\-P\-I\-::\-Unit\-Type\-::top\-Speed} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{classBWAPI_1_1UnitType_ade2449138ba6915c289f40986e2ed21b}
\-Returns the unit's non-\/upgraded top speed in pixels per frame. \-For \-Terran buildings that can lift off and the \-Zerg \-Infested \-Command \-Center, this returns how fast the building moves when it is lifted. \hypertarget{classBWAPI_1_1UnitType_a86bece4e0a3a93dab7b31e016acc65c9}{\index{\-B\-W\-A\-P\-I\-::\-Unit\-Type@{\-B\-W\-A\-P\-I\-::\-Unit\-Type}!turn\-Radius@{turn\-Radius}}
\index{turn\-Radius@{turn\-Radius}!BWAPI::UnitType@{\-B\-W\-A\-P\-I\-::\-Unit\-Type}}
\subsubsection[{turn\-Radius}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf \-B\-W\-A\-P\-I\-::\-Unit\-Type\-::turn\-Radius} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{classBWAPI_1_1UnitType_a86bece4e0a3a93dab7b31e016acc65c9}
\-Related to how fast the unit can turn. \-What units this quantity is measured in is currently unknown. \hypertarget{classBWAPI_1_1UnitType_aeaae6ad0d5f340830c0769678162d0f9}{\index{\-B\-W\-A\-P\-I\-::\-Unit\-Type@{\-B\-W\-A\-P\-I\-::\-Unit\-Type}!upgrades@{upgrades}}
\index{upgrades@{upgrades}!BWAPI::UnitType@{\-B\-W\-A\-P\-I\-::\-Unit\-Type}}
\subsubsection[{upgrades}]{\setlength{\rightskip}{0pt plus 5cm}const std\-::set$<$ {\bf \-Upgrade\-Type} $>$\& {\bf \-B\-W\-A\-P\-I\-::\-Unit\-Type\-::upgrades} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{classBWAPI_1_1UnitType_aeaae6ad0d5f340830c0769678162d0f9}
\-Returns the set of upgrade types that can affect this unit. \hypertarget{classBWAPI_1_1UnitType_a386acdc33e9b47e455b7ac1ed2a3a0f8}{\index{\-B\-W\-A\-P\-I\-::\-Unit\-Type@{\-B\-W\-A\-P\-I\-::\-Unit\-Type}!what\-Builds@{what\-Builds}}
\index{what\-Builds@{what\-Builds}!BWAPI::UnitType@{\-B\-W\-A\-P\-I\-::\-Unit\-Type}}
\subsubsection[{what\-Builds}]{\setlength{\rightskip}{0pt plus 5cm}const std\-::pair$<$ {\bf \-Unit\-Type}, int $>$ {\bf \-B\-W\-A\-P\-I\-::\-Unit\-Type\-::what\-Builds} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{classBWAPI_1_1UnitType_a386acdc33e9b47e455b7ac1ed2a3a0f8}
\-Returns what builds this unit type. \-The second number will usually be 1 unless the unit type is \-Protoss\-\_\-\-Archon or \-Protoss\-\_\-\-Dark\-\_\-\-Archon. \-Units that cannot be created, such as critters and mineral fields, will return a pair where the unit type is \hyperlink{namespaceBWAPI_1_1UnitTypes_a8131aa8e787af82a2abe291c2e9a7486}{\-Unit\-Types\-::\-None}, and the second component is 0.

\-Example\-: \-Unit\-Types\-::\-Terran\-\_\-\-Marine.\-what\-Builds() will return an std\-::pair, where the first component is \hyperlink{namespaceBWAPI_1_1UnitTypes_a931971021ac146ff646c8d5f457c2a0a}{\-Unit\-Types\-::\-Terran\-\_\-\-Barracks}. 

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




\-The documentation for this class was generated from the following file\-:\begin{DoxyCompactItemize}
\item 
\-Aiur/include/\-B\-W\-A\-P\-I/\hyperlink{UnitType_8h}{\-Unit\-Type.\-h}\end{DoxyCompactItemize}
