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


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



\-Inheritance diagram for \-B\-W\-A\-P\-I\-:\-:\-Unit\-:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=550pt]{classBWAPI_1_1Unit__inherit__graph}
\end{center}
\end{figure}
\subsection*{\-Public \-Member \-Functions}
\begin{DoxyCompactItemize}
\item 
virtual \hyperlink{Detours_8h_ab5a791e918b09a41addbf5b813175633}{int} \hyperlink{classBWAPI_1_1Unit_adffa706cce7eb05c50573642cc80a5e2}{get\-I\-D} () const =0
\item 
virtual \hyperlink{Detours_8h_ab5a791e918b09a41addbf5b813175633}{int} \hyperlink{classBWAPI_1_1Unit_ad5330e2f7dc5356555eb12992f599f7c}{get\-Replay\-I\-D} () const =0
\item 
virtual \hyperlink{classBWAPI_1_1Player}{\-Player} $\ast$ \hyperlink{classBWAPI_1_1Unit_a8b1d6759c55aa2c96ad69b481a5793f4}{get\-Player} () const =0
\item 
virtual \hyperlink{classBWAPI_1_1UnitType}{\-Unit\-Type} \hyperlink{classBWAPI_1_1Unit_a29a8e8fae93eac8615e82911f11445d9}{get\-Type} () const =0
\item 
virtual \hyperlink{classBWAPI_1_1Position}{\-Position} \hyperlink{classBWAPI_1_1Unit_a22fb4f0b326eaf616801bd74903eae2d}{get\-Position} () const =0
\item 
virtual \hyperlink{classBWAPI_1_1TilePosition}{\-Tile\-Position} \hyperlink{classBWAPI_1_1Unit_a1893de005e5d3df771baf7cd157fbe2f}{get\-Tile\-Position} () const =0
\item 
virtual double \hyperlink{classBWAPI_1_1Unit_a2410a3c1ec90b4ab4c5ab945c6535f4d}{get\-Angle} () const =0
\item 
virtual double \hyperlink{classBWAPI_1_1Unit_a2948fe7c712bbcb376665a13726b80a6}{get\-Velocity\-X} () const =0
\item 
virtual double \hyperlink{classBWAPI_1_1Unit_ab1a13771d1122b6cd81a41a9575d9cde}{get\-Velocity\-Y} () const =0
\item 
virtual \hyperlink{classBWAPI_1_1Region}{\-B\-W\-A\-P\-I\-::\-Region} $\ast$ \hyperlink{classBWAPI_1_1Unit_a1de4e9cef55c905765807da5c1b3ba3c}{get\-Region} () const =0
\item 
virtual \hyperlink{Detours_8h_ab5a791e918b09a41addbf5b813175633}{int} \hyperlink{classBWAPI_1_1Unit_a36ca3a4c4a2c64357a55a5b00de068af}{get\-Left} () const =0
\item 
virtual \hyperlink{Detours_8h_ab5a791e918b09a41addbf5b813175633}{int} \hyperlink{classBWAPI_1_1Unit_ad6f0ced644a1a2bf72c08c59549a83a4}{get\-Top} () const =0
\item 
virtual \hyperlink{Detours_8h_ab5a791e918b09a41addbf5b813175633}{int} \hyperlink{classBWAPI_1_1Unit_a004bffadb257ca179a836d018b80def9}{get\-Right} () const =0
\item 
virtual \hyperlink{Detours_8h_ab5a791e918b09a41addbf5b813175633}{int} \hyperlink{classBWAPI_1_1Unit_a67ceb59b34d17666fccd113235927e67}{get\-Bottom} () const =0
\item 
virtual \hyperlink{Detours_8h_ab5a791e918b09a41addbf5b813175633}{int} \hyperlink{classBWAPI_1_1Unit_a5413db332f2fc743fdca1e68bf8e6546}{get\-Hit\-Points} () const =0
\item 
virtual \hyperlink{Detours_8h_ab5a791e918b09a41addbf5b813175633}{int} \hyperlink{classBWAPI_1_1Unit_ad4f0d36c28951710bb8134290d78bdb1}{get\-Shields} () const =0
\item 
virtual \hyperlink{Detours_8h_ab5a791e918b09a41addbf5b813175633}{int} \hyperlink{classBWAPI_1_1Unit_a580a57b6e328406fb3fea690b50cec68}{get\-Energy} () const =0
\item 
virtual \hyperlink{Detours_8h_ab5a791e918b09a41addbf5b813175633}{int} \hyperlink{classBWAPI_1_1Unit_a3b12c07b5b2e27c2f26f7cecbcdef2e9}{get\-Resources} () const =0
\item 
virtual \hyperlink{Detours_8h_ab5a791e918b09a41addbf5b813175633}{int} \hyperlink{classBWAPI_1_1Unit_ac579b5d13bf29062accea74cfc324d28}{get\-Resource\-Group} () const =0
\item 
virtual \hyperlink{Detours_8h_ab5a791e918b09a41addbf5b813175633}{int} \hyperlink{classBWAPI_1_1Unit_ab0e99345a86ebd314b13da0a0fe97553}{get\-Distance} (\hyperlink{classBWAPI_1_1Unit}{\-Unit} $\ast$target) const =0
\item 
virtual \hyperlink{Detours_8h_ab5a791e918b09a41addbf5b813175633}{int} \hyperlink{classBWAPI_1_1Unit_a3ba8b97769ad9e7619d413726d6aa58c}{get\-Distance} (\hyperlink{classBWAPI_1_1Position}{\-Position} target) const =0
\item 
virtual bool \hyperlink{classBWAPI_1_1Unit_a0db92748938a9d802520fbab06da4339}{has\-Path} (\hyperlink{classBWAPI_1_1Unit}{\-Unit} $\ast$target) const =0
\item 
virtual bool \hyperlink{classBWAPI_1_1Unit_ae4a20dc2438fe3f80987287b1939b318}{has\-Path} (\hyperlink{classBWAPI_1_1Position}{\-Position} target) const =0
\item 
virtual \hyperlink{Detours_8h_ab5a791e918b09a41addbf5b813175633}{int} \hyperlink{classBWAPI_1_1Unit_aeb64064c396d38ee141410dfb7901041}{get\-Last\-Command\-Frame} () const =0
\item 
virtual \hyperlink{classBWAPI_1_1UnitCommand}{\-Unit\-Command} \hyperlink{classBWAPI_1_1Unit_a9dbba44b367fa3ee74d9bb35fb66facd}{get\-Last\-Command} () const =0
\item 
virtual \hyperlink{classBWAPI_1_1Player}{\-B\-W\-A\-P\-I\-::\-Player} $\ast$ \hyperlink{classBWAPI_1_1Unit_a9ddb7a68c6beed29d774b2effc8088dd}{get\-Last\-Attacking\-Player} () const =0
\item 
virtual \hyperlink{Detours_8h_ab5a791e918b09a41addbf5b813175633}{int} \hyperlink{classBWAPI_1_1Unit_a2dd67c165b43427fb60d5fd4e9852981}{get\-Upgrade\-Level} (\hyperlink{classBWAPI_1_1UpgradeType}{\-Upgrade\-Type} \hyperlink{classBWAPI_1_1Unit_a9423c81efd5c269b955a723b664bddd9}{upgrade}) const =0
\item 
virtual \hyperlink{classBWAPI_1_1UnitType}{\-Unit\-Type} \hyperlink{classBWAPI_1_1Unit_a71b3baed8c04b17d7192d2c9d4dfb84f}{get\-Initial\-Type} () const =0
\item 
virtual \hyperlink{classBWAPI_1_1Position}{\-Position} \hyperlink{classBWAPI_1_1Unit_a72becf005a5cb3b98729d697c21b36eb}{get\-Initial\-Position} () const =0
\item 
virtual \hyperlink{classBWAPI_1_1TilePosition}{\-Tile\-Position} \hyperlink{classBWAPI_1_1Unit_a00692c8624ce7b91508a51a9a2f65bd2}{get\-Initial\-Tile\-Position} () const =0
\item 
virtual \hyperlink{Detours_8h_ab5a791e918b09a41addbf5b813175633}{int} \hyperlink{classBWAPI_1_1Unit_a258670943dffb68571e81d37ba226980}{get\-Initial\-Hit\-Points} () const =0
\item 
virtual \hyperlink{Detours_8h_ab5a791e918b09a41addbf5b813175633}{int} \hyperlink{classBWAPI_1_1Unit_aac1b1728d592c15b80442196683eb0ab}{get\-Initial\-Resources} () const =0
\item 
virtual \hyperlink{Detours_8h_ab5a791e918b09a41addbf5b813175633}{int} \hyperlink{classBWAPI_1_1Unit_a6aa00eab8d9fbce8badb393b5a8257d1}{get\-Kill\-Count} () const =0
\item 
virtual \hyperlink{Detours_8h_ab5a791e918b09a41addbf5b813175633}{int} \hyperlink{classBWAPI_1_1Unit_ad7ba91eece7fa01d7739e2eebe297250}{get\-Acid\-Spore\-Count} () const =0
\item 
virtual \hyperlink{Detours_8h_ab5a791e918b09a41addbf5b813175633}{int} \hyperlink{classBWAPI_1_1Unit_ae22ae37bc5535e6dfa318621052e7124}{get\-Interceptor\-Count} () const =0
\item 
virtual \hyperlink{Detours_8h_ab5a791e918b09a41addbf5b813175633}{int} \hyperlink{classBWAPI_1_1Unit_a9764beeb5c4bbbf9157c0fdd30cdfd9e}{get\-Scarab\-Count} () const =0
\item 
virtual \hyperlink{Detours_8h_ab5a791e918b09a41addbf5b813175633}{int} \hyperlink{classBWAPI_1_1Unit_a75c61cb95640f3a6021c05609172b036}{get\-Spider\-Mine\-Count} () const =0
\item 
virtual \hyperlink{Detours_8h_ab5a791e918b09a41addbf5b813175633}{int} \hyperlink{classBWAPI_1_1Unit_a2854649fe52ef18b9f303145de6c1ac7}{get\-Ground\-Weapon\-Cooldown} () const =0
\item 
virtual \hyperlink{Detours_8h_ab5a791e918b09a41addbf5b813175633}{int} \hyperlink{classBWAPI_1_1Unit_a493012f34983859cbd8746c7ffd2793e}{get\-Air\-Weapon\-Cooldown} () const =0
\item 
virtual \hyperlink{Detours_8h_ab5a791e918b09a41addbf5b813175633}{int} \hyperlink{classBWAPI_1_1Unit_ad3cbedbad797cc0e75e985d1c5faa460}{get\-Spell\-Cooldown} () const =0
\item 
virtual \hyperlink{Detours_8h_ab5a791e918b09a41addbf5b813175633}{int} \hyperlink{classBWAPI_1_1Unit_a3981bd29b6add09fb447e8eee1a9bd45}{get\-Defense\-Matrix\-Points} () const =0
\item 
virtual \hyperlink{Detours_8h_ab5a791e918b09a41addbf5b813175633}{int} \hyperlink{classBWAPI_1_1Unit_a67031f8c07d27ec582ff76a5dafa4d43}{get\-Defense\-Matrix\-Timer} () const =0
\item 
virtual \hyperlink{Detours_8h_ab5a791e918b09a41addbf5b813175633}{int} \hyperlink{classBWAPI_1_1Unit_a2de6af502a1ae1e7e65397282da708fb}{get\-Ensnare\-Timer} () const =0
\item 
virtual \hyperlink{Detours_8h_ab5a791e918b09a41addbf5b813175633}{int} \hyperlink{classBWAPI_1_1Unit_a36f9aade1317691c35abc40d33cdf4bf}{get\-Irradiate\-Timer} () const =0
\item 
virtual \hyperlink{Detours_8h_ab5a791e918b09a41addbf5b813175633}{int} \hyperlink{classBWAPI_1_1Unit_ae43eabef9e08e695b884c2384ddaee2a}{get\-Lockdown\-Timer} () const =0
\item 
virtual \hyperlink{Detours_8h_ab5a791e918b09a41addbf5b813175633}{int} \hyperlink{classBWAPI_1_1Unit_ad72f29f6e5f813d911337ea73b81a799}{get\-Maelstrom\-Timer} () const =0
\item 
virtual \hyperlink{Detours_8h_ab5a791e918b09a41addbf5b813175633}{int} \hyperlink{classBWAPI_1_1Unit_a43ccc223fac9367695b91577455db446}{get\-Order\-Timer} () const =0
\item 
virtual \hyperlink{Detours_8h_ab5a791e918b09a41addbf5b813175633}{int} \hyperlink{classBWAPI_1_1Unit_a4703abc761d72f1d1fa92268f600a765}{get\-Plague\-Timer} () const =0
\item 
virtual \hyperlink{Detours_8h_ab5a791e918b09a41addbf5b813175633}{int} \hyperlink{classBWAPI_1_1Unit_aef7e604358685fd73960d3aecb5ec5a3}{get\-Remove\-Timer} () const =0
\item 
virtual \hyperlink{Detours_8h_ab5a791e918b09a41addbf5b813175633}{int} \hyperlink{classBWAPI_1_1Unit_a231eae31282146aa023f51c5048627a6}{get\-Stasis\-Timer} () const =0
\item 
virtual \hyperlink{Detours_8h_ab5a791e918b09a41addbf5b813175633}{int} \hyperlink{classBWAPI_1_1Unit_a4a72d2f6cd7b37a38bb2f5ba2d6b08ad}{get\-Stim\-Timer} () const =0
\item 
virtual \hyperlink{classBWAPI_1_1UnitType}{\-Unit\-Type} \hyperlink{classBWAPI_1_1Unit_a5ee7269d0f6c4ff892aec046dfe28d30}{get\-Build\-Type} () const =0
\item 
virtual std\-::list$<$ \hyperlink{classBWAPI_1_1UnitType}{\-Unit\-Type} $>$ \hyperlink{classBWAPI_1_1Unit_af81ad84273036f2c093df418ae3f5224}{get\-Training\-Queue} () const =0
\item 
virtual \hyperlink{classBWAPI_1_1TechType}{\-Tech\-Type} \hyperlink{classBWAPI_1_1Unit_a11331855e5119240177a08b1382563e6}{get\-Tech} () const =0
\item 
virtual \hyperlink{classBWAPI_1_1UpgradeType}{\-Upgrade\-Type} \hyperlink{classBWAPI_1_1Unit_a628a6901e954b6a2708f9d1d16acedf4}{get\-Upgrade} () const =0
\item 
virtual \hyperlink{Detours_8h_ab5a791e918b09a41addbf5b813175633}{int} \hyperlink{classBWAPI_1_1Unit_afbf6ffcf859aece1f02d7539eecb1a31}{get\-Remaining\-Build\-Time} () const =0
\item 
virtual \hyperlink{Detours_8h_ab5a791e918b09a41addbf5b813175633}{int} \hyperlink{classBWAPI_1_1Unit_affd47d2908b669c3fd3972ec06f08164}{get\-Remaining\-Train\-Time} () const =0
\item 
virtual \hyperlink{Detours_8h_ab5a791e918b09a41addbf5b813175633}{int} \hyperlink{classBWAPI_1_1Unit_ae04e5e00f01f08fbaaf970369f01a2cb}{get\-Remaining\-Research\-Time} () const =0
\item 
virtual \hyperlink{Detours_8h_ab5a791e918b09a41addbf5b813175633}{int} \hyperlink{classBWAPI_1_1Unit_a0173d7266e891fb61e66386b9696f696}{get\-Remaining\-Upgrade\-Time} () const =0
\item 
virtual \hyperlink{classBWAPI_1_1Unit}{\-Unit} $\ast$ \hyperlink{classBWAPI_1_1Unit_a6f02b6717895a725003c96273f0c723c}{get\-Build\-Unit} () const =0
\item 
virtual \hyperlink{classBWAPI_1_1Unit}{\-Unit} $\ast$ \hyperlink{classBWAPI_1_1Unit_ab78468beae4a20dba9f0a4ff3d7277e9}{get\-Target} () const =0
\item 
virtual \hyperlink{classBWAPI_1_1Position}{\-Position} \hyperlink{classBWAPI_1_1Unit_a19efc735ffc2238b26c90eca33788010}{get\-Target\-Position} () const =0
\item 
virtual \hyperlink{classBWAPI_1_1Order}{\-Order} \hyperlink{classBWAPI_1_1Unit_a31b5096167e31ee85af6c6686956b8c1}{get\-Order} () const =0
\item 
virtual \hyperlink{classBWAPI_1_1Order}{\-Order} \hyperlink{classBWAPI_1_1Unit_ae13b78b1852c94398547bf43659d4df4}{get\-Secondary\-Order} () const =0
\item 
virtual \hyperlink{classBWAPI_1_1Unit}{\-Unit} $\ast$ \hyperlink{classBWAPI_1_1Unit_ab1748b09ea9c92fde53d459eb58276cd}{get\-Order\-Target} () const =0
\item 
virtual \hyperlink{classBWAPI_1_1Position}{\-Position} \hyperlink{classBWAPI_1_1Unit_a4bc269c8428775b0cd8f6e4ecc29f817}{get\-Order\-Target\-Position} () const =0
\item 
virtual \hyperlink{classBWAPI_1_1Position}{\-Position} \hyperlink{classBWAPI_1_1Unit_a20841c377bd9741c191db0fc98ad4f98}{get\-Rally\-Position} () const =0
\item 
virtual \hyperlink{classBWAPI_1_1Unit}{\-Unit} $\ast$ \hyperlink{classBWAPI_1_1Unit_a68f089b52185206ee3e949ea19d1c274}{get\-Rally\-Unit} () const =0
\item 
virtual \hyperlink{classBWAPI_1_1Unit}{\-Unit} $\ast$ \hyperlink{classBWAPI_1_1Unit_a8524443ba71be8181e2181ef37785517}{get\-Addon} () const =0
\item 
virtual \hyperlink{classBWAPI_1_1Unit}{\-Unit} $\ast$ \hyperlink{classBWAPI_1_1Unit_a7d799b2cd6e7a44b43aa47d82b1829de}{get\-Nydus\-Exit} () const =0
\item 
virtual \hyperlink{classBWAPI_1_1Unit}{\-Unit} $\ast$ \hyperlink{classBWAPI_1_1Unit_a690da81bc27427b52b915c7e604448bd}{get\-Power\-Up} () const =0
\item 
virtual \hyperlink{classBWAPI_1_1Unit}{\-Unit} $\ast$ \hyperlink{classBWAPI_1_1Unit_a3a336f06d42d2b9d8285795810714ea9}{get\-Transport} () const =0
\item 
virtual std\-::set$<$ \hyperlink{classBWAPI_1_1Unit}{\-Unit} $\ast$ $>$ \hyperlink{classBWAPI_1_1Unit_a466e67482801bc8c6c2faac092e5f4cd}{get\-Loaded\-Units} () const =0
\item 
virtual \hyperlink{classBWAPI_1_1Unit}{\-Unit} $\ast$ \hyperlink{classBWAPI_1_1Unit_af1f1c6b757f18267abec3f9b1497c106}{get\-Carrier} () const =0
\item 
virtual std\-::set$<$ \hyperlink{classBWAPI_1_1Unit}{\-Unit} $\ast$ $>$ \hyperlink{classBWAPI_1_1Unit_a821a01e58bc8ecd46fdb3dfdfd81a0fe}{get\-Interceptors} () const =0
\item 
virtual \hyperlink{classBWAPI_1_1Unit}{\-Unit} $\ast$ \hyperlink{classBWAPI_1_1Unit_a42baa6c49ef8e687fefc9bf40eb6aaaf}{get\-Hatchery} () const =0
\item 
virtual std\-::set$<$ \hyperlink{classBWAPI_1_1Unit}{\-Unit} $\ast$ $>$ \hyperlink{classBWAPI_1_1Unit_a7c78da21f076c91d3a55467a14d684c4}{get\-Larva} () const =0
\item 
virtual std\-::set$<$ \hyperlink{classBWAPI_1_1Unit}{\-Unit} $\ast$ $>$ \& \hyperlink{classBWAPI_1_1Unit_a9db22055c652e60243ad900a74331cbf}{get\-Units\-In\-Radius} (\hyperlink{Detours_8h_ab5a791e918b09a41addbf5b813175633}{int} radius) const =0
\item 
virtual std\-::set$<$ \hyperlink{classBWAPI_1_1Unit}{\-Unit} $\ast$ $>$ \& \hyperlink{classBWAPI_1_1Unit_ac0dd082dbc58cf54caa71a6ab729c5a8}{get\-Units\-In\-Weapon\-Range} (\hyperlink{classBWAPI_1_1WeaponType}{\-Weapon\-Type} weapon) const =0
\item 
virtual void $\ast$ \hyperlink{classBWAPI_1_1Unit_ae9aa8bc49aad819dc45137509573735a}{get\-Client\-Info} () const =0
\item 
virtual void \hyperlink{classBWAPI_1_1Unit_a1005139a09fd0fd5de310913ac990d60}{set\-Client\-Info} (void $\ast$clientinfo)=0
\item 
virtual bool \hyperlink{classBWAPI_1_1Unit_a504c79688ceeba71c6fcb2bd441b91f1}{exists} () const =0
\item 
virtual bool \hyperlink{classBWAPI_1_1Unit_aeb5c9d5e0e77ede32ade74fa23a95990}{has\-Nuke} () const =0
\item 
virtual bool \hyperlink{classBWAPI_1_1Unit_a9c1c2242343e24c1bd3eadc63c2129e0}{is\-Accelerating} () const =0
\item 
virtual bool \hyperlink{classBWAPI_1_1Unit_a025adc0cec859af70f80e3575a4117ef}{is\-Attacking} () const =0
\item 
virtual bool \hyperlink{classBWAPI_1_1Unit_a78548308898e4fb76fd62835fefb41bf}{is\-Attack\-Frame} () const =0
\item 
virtual bool \hyperlink{classBWAPI_1_1Unit_a37612d58659e6efdae1620d62ddd4046}{is\-Being\-Constructed} () const =0
\item 
virtual bool \hyperlink{classBWAPI_1_1Unit_a7d00e38c73d4aa014d2dfceb4471c135}{is\-Being\-Gathered} () const =0
\item 
virtual bool \hyperlink{classBWAPI_1_1Unit_a6bf788249c6865696e6f39485a959b2e}{is\-Being\-Healed} () const =0
\item 
virtual bool \hyperlink{classBWAPI_1_1Unit_a6bf5552cf9ad3bcd8867ac54950fa2a5}{is\-Blind} () const =0
\item 
virtual bool \hyperlink{classBWAPI_1_1Unit_aa60e331b93718b523a971b8de81375ce}{is\-Braking} () const =0
\item 
virtual bool \hyperlink{classBWAPI_1_1Unit_a1117bce4ca4edd95cdf84280e0b00fdd}{is\-Burrowed} () const =0
\item 
virtual bool \hyperlink{classBWAPI_1_1Unit_a84d6614da57d7385be11f58ed1457f4c}{is\-Carrying\-Gas} () const =0
\item 
virtual bool \hyperlink{classBWAPI_1_1Unit_a09aa92e8eb287f75e654b0642819b0b9}{is\-Carrying\-Minerals} () const =0
\item 
virtual bool \hyperlink{classBWAPI_1_1Unit_a36733f38d84d313ee1fda4aba8288156}{is\-Cloaked} () const =0
\item 
virtual bool \hyperlink{classBWAPI_1_1Unit_aaf457f2809efcc1af1e2ba5f68378764}{is\-Completed} () const =0
\item 
virtual bool \hyperlink{classBWAPI_1_1Unit_ac5be71081aa7eb1a2c7fbbc39220ba13}{is\-Constructing} () const =0
\item 
virtual bool \hyperlink{classBWAPI_1_1Unit_a3fd07acb8cfbd9a49fd77f391af9368b}{is\-Defense\-Matrixed} () const =0
\item 
virtual bool \hyperlink{classBWAPI_1_1Unit_aeea08cdfae41fdc570c92f4bba917bb8}{is\-Detected} () const =0
\item 
virtual bool \hyperlink{classBWAPI_1_1Unit_a59c0128e16533f8e0fe75881d98e2811}{is\-Ensnared} () const =0
\item 
virtual bool \hyperlink{classBWAPI_1_1Unit_a157320cd9e0becb4f91e917cfbc86b70}{is\-Following} () const =0
\item 
virtual bool \hyperlink{classBWAPI_1_1Unit_ade805fbc2814eede4a88c1160e91be55}{is\-Gathering\-Gas} () const =0
\item 
virtual bool \hyperlink{classBWAPI_1_1Unit_a4e462889f20394c482db6b8e7113c27f}{is\-Gathering\-Minerals} () const =0
\item 
virtual bool \hyperlink{classBWAPI_1_1Unit_a669d03b9e93009fa9955e645522db0be}{is\-Hallucination} () const =0
\item 
virtual bool \hyperlink{classBWAPI_1_1Unit_a877f4b86f5e41dc87d9740d2aaa6c62a}{is\-Holding\-Position} () const =0
\item 
virtual bool \hyperlink{classBWAPI_1_1Unit_aac037e66a738520c13ecbf3d83151d97}{is\-Idle} () const =0
\item 
virtual bool \hyperlink{classBWAPI_1_1Unit_ae7714897682ecf58d25dd7ab05b7eff9}{is\-Interruptible} () const =0
\item 
virtual bool \hyperlink{classBWAPI_1_1Unit_ab601cded08e572eb7eec17d8a3d80344}{is\-Invincible} () const =0
\item 
virtual bool \hyperlink{classBWAPI_1_1Unit_a10b77ef9e2ac04a36108f0a9d7a92661}{is\-In\-Weapon\-Range} (\hyperlink{classBWAPI_1_1Unit}{\-Unit} $\ast$target) const =0
\item 
virtual bool \hyperlink{classBWAPI_1_1Unit_af538411657b1219b45a35dca6dd75733}{is\-Irradiated} () const =0
\item 
virtual bool \hyperlink{classBWAPI_1_1Unit_a594243c972c919472c31de494e33be1a}{is\-Lifted} () const =0
\item 
virtual bool \hyperlink{classBWAPI_1_1Unit_aea692c03778837fe3a4b7e45024c728a}{is\-Loaded} () const =0
\item 
virtual bool \hyperlink{classBWAPI_1_1Unit_a2506c7f8c6f8536122fbe7547b618ea9}{is\-Locked\-Down} () const =0
\item 
virtual bool \hyperlink{classBWAPI_1_1Unit_a1716bac4cf402b689c9b2a3f6274633c}{is\-Maelstrommed} () const =0
\item 
virtual bool \hyperlink{classBWAPI_1_1Unit_a4e662fdd2d99caa654e9ed8dd25d6872}{is\-Morphing} () const =0
\item 
virtual bool \hyperlink{classBWAPI_1_1Unit_a4e06d257144dcbe41b2c850308a55d4f}{is\-Moving} () const =0
\item 
virtual bool \hyperlink{classBWAPI_1_1Unit_a547fc2dec7133b2edb97236e190bb09c}{is\-Parasited} () const =0
\item 
virtual bool \hyperlink{classBWAPI_1_1Unit_a11ade36634a3635b55de1071b4deda0e}{is\-Patrolling} () const =0
\item 
virtual bool \hyperlink{classBWAPI_1_1Unit_add5194d73a2a433bc081208914d66b5e}{is\-Plagued} () const =0
\item 
virtual bool \hyperlink{classBWAPI_1_1Unit_a78f3646b700a811d8a3fe5f53ee42a68}{is\-Repairing} () const =0
\item 
virtual bool \hyperlink{classBWAPI_1_1Unit_adb6b194a351402b958dd9df9d3ca5109}{is\-Researching} () const =0
\item 
virtual bool \hyperlink{classBWAPI_1_1Unit_adb622183a8ab01c6908d1c3b8db9f9ab}{is\-Selected} () const =0
\item 
virtual bool \hyperlink{classBWAPI_1_1Unit_ad77270a241d6d91cb9b1aa8500321282}{is\-Sieged} () const =0
\item 
virtual bool \hyperlink{classBWAPI_1_1Unit_a47d1ea7e07cb0fc6f4579e699129c90b}{is\-Starting\-Attack} () const =0
\item 
virtual bool \hyperlink{classBWAPI_1_1Unit_afbf87083c9be9f4a3a9f979944ab8285}{is\-Stasised} () const =0
\item 
virtual bool \hyperlink{classBWAPI_1_1Unit_a4dc922bd5d06c48d8434635be5642d52}{is\-Stimmed} () const =0
\item 
virtual bool \hyperlink{classBWAPI_1_1Unit_ac1e4d5089001253b638378afc72c921a}{is\-Stuck} () const =0
\item 
virtual bool \hyperlink{classBWAPI_1_1Unit_a18683985e87770b2695a0662ef340ab1}{is\-Training} () const =0
\item 
virtual bool \hyperlink{classBWAPI_1_1Unit_ae1b36036c54e05b9dac26e2dc3295752}{is\-Under\-Attack} () const =0
\item 
virtual bool \hyperlink{classBWAPI_1_1Unit_af9debab6e509c10547ea5a5408b5a72c}{is\-Under\-Dark\-Swarm} () const =0
\item 
virtual bool \hyperlink{classBWAPI_1_1Unit_a22b9a4ef1ead68e176d6aabfd904128a}{is\-Under\-Disruption\-Web} () const =0
\item 
virtual bool \hyperlink{classBWAPI_1_1Unit_afcf416f91e37f20b8380dca2a1d43eae}{is\-Under\-Storm} () const =0
\item 
virtual bool \hyperlink{classBWAPI_1_1Unit_a8370fe1d617a7dbc349f29150b674aed}{is\-Unpowered} () const =0
\item 
virtual bool \hyperlink{classBWAPI_1_1Unit_ac0535f3af62cfdb352c982371421d48b}{is\-Upgrading} () const =0
\item 
virtual bool \hyperlink{classBWAPI_1_1Unit_a89f80dff4a1f766c1c82957404451949}{is\-Visible} () const =0
\item 
virtual bool \hyperlink{classBWAPI_1_1Unit_a7aa7dfa2664ef2a82a5791bb79b1d9ac}{is\-Visible} (\hyperlink{classBWAPI_1_1Player}{\-Player} $\ast$player) const =0
\item 
virtual bool \hyperlink{classBWAPI_1_1Unit_a1a0b5ba80c16a4732f8ac5e4451d1fdf}{can\-Issue\-Command} (\hyperlink{classBWAPI_1_1UnitCommand}{\-Unit\-Command} command) const =0
\item 
virtual bool \hyperlink{classBWAPI_1_1Unit_a2eef36e10eaacd8c99eead9b9025e093}{issue\-Command} (\hyperlink{classBWAPI_1_1UnitCommand}{\-Unit\-Command} command)=0
\item 
virtual bool \hyperlink{classBWAPI_1_1Unit_a9cd107c8d8b083f61eb4def6f4bb091a}{attack} (\hyperlink{classBWAPI_1_1Position}{\-Position} target, bool shift\-Queue\-Command=false)=0
\item 
virtual bool \hyperlink{classBWAPI_1_1Unit_a6186ab15fd22589a0382ffb9b1caea99}{attack} (\hyperlink{classBWAPI_1_1Unit}{\-Unit} $\ast$target, bool shift\-Queue\-Command=false)=0
\item 
virtual bool \hyperlink{classBWAPI_1_1Unit_a87ec26dd2b3366a12efdb700565de084}{build} (\hyperlink{classBWAPI_1_1TilePosition}{\-Tile\-Position} target, \hyperlink{classBWAPI_1_1UnitType}{\-Unit\-Type} type)=0
\item 
virtual bool \hyperlink{classBWAPI_1_1Unit_a809ada8bd7630668b8b404f68ed3ed19}{build\-Addon} (\hyperlink{classBWAPI_1_1UnitType}{\-Unit\-Type} type)=0
\item 
virtual bool \hyperlink{classBWAPI_1_1Unit_a188a1a1b49ad5bc44531d63e93ce9825}{train} (\hyperlink{classBWAPI_1_1UnitType}{\-Unit\-Type} type)=0
\item 
virtual bool \hyperlink{classBWAPI_1_1Unit_a31531f0f10ecd132cc400d2d8b2d7435}{morph} (\hyperlink{classBWAPI_1_1UnitType}{\-Unit\-Type} type)=0
\item 
virtual bool \hyperlink{classBWAPI_1_1Unit_a6d7ad38052b28cb8f359168d64a862b5}{research} (\hyperlink{classBWAPI_1_1TechType}{\-Tech\-Type} tech)=0
\item 
virtual bool \hyperlink{classBWAPI_1_1Unit_a9423c81efd5c269b955a723b664bddd9}{upgrade} (\hyperlink{classBWAPI_1_1UpgradeType}{\-Upgrade\-Type} \hyperlink{classBWAPI_1_1Unit_a9423c81efd5c269b955a723b664bddd9}{upgrade})=0
\item 
virtual bool \hyperlink{classBWAPI_1_1Unit_a8c1c5ce8aa91c3804794b6fc057df6df}{set\-Rally\-Point} (\hyperlink{classBWAPI_1_1Position}{\-Position} target)=0
\item 
virtual bool \hyperlink{classBWAPI_1_1Unit_acb5d3053dbbdca06dbe1ecb011305dad}{set\-Rally\-Point} (\hyperlink{classBWAPI_1_1Unit}{\-Unit} $\ast$target)=0
\item 
virtual bool \hyperlink{classBWAPI_1_1Unit_aed7a525a69da25440c7f7b727da65a2d}{move} (\hyperlink{classBWAPI_1_1Position}{\-Position} target, bool shift\-Queue\-Command=false)=0
\item 
virtual bool \hyperlink{classBWAPI_1_1Unit_acdb362719f41255f9566f798f1c61892}{patrol} (\hyperlink{classBWAPI_1_1Position}{\-Position} target, bool shift\-Queue\-Command=false)=0
\item 
virtual bool \hyperlink{classBWAPI_1_1Unit_a57e5146674f44a551eeb34e82598a01a}{hold\-Position} (bool shift\-Queue\-Command=false)=0
\item 
virtual bool \hyperlink{classBWAPI_1_1Unit_aa030ad69397b659d74dd1186fd2b4cc1}{stop} (bool shift\-Queue\-Command=false)=0
\item 
virtual bool \hyperlink{classBWAPI_1_1Unit_a14e9015ffb05bdcadf7e103b9d28e8c5}{follow} (\hyperlink{classBWAPI_1_1Unit}{\-Unit} $\ast$target, bool shift\-Queue\-Command=false)=0
\item 
virtual bool \hyperlink{classBWAPI_1_1Unit_ada285d5e398295fefec503c4fc0f7182}{gather} (\hyperlink{classBWAPI_1_1Unit}{\-Unit} $\ast$target, bool shift\-Queue\-Command=false)=0
\item 
virtual bool \hyperlink{classBWAPI_1_1Unit_a4746cbb14a79728da63bdae7711e9cb6}{return\-Cargo} (bool shift\-Queue\-Command=false)=0
\item 
virtual bool \hyperlink{classBWAPI_1_1Unit_a602fe7e2c44a17c7ec31728eebd9acf9}{repair} (\hyperlink{classBWAPI_1_1Unit}{\-Unit} $\ast$target, bool shift\-Queue\-Command=false)=0
\item 
virtual bool \hyperlink{classBWAPI_1_1Unit_a66f0e66b4017a0b8bbc74de60804ab4b}{burrow} ()=0
\item 
virtual bool \hyperlink{classBWAPI_1_1Unit_a48d98e8ff3c1e70ad904d0ac7f65b6de}{unburrow} ()=0
\item 
virtual bool \hyperlink{classBWAPI_1_1Unit_ae59ed0a9880b3e1f4a8786768c08bca8}{cloak} ()=0
\item 
virtual bool \hyperlink{classBWAPI_1_1Unit_ad162117fae3ef34f3325395cb1ed7ef5}{decloak} ()=0
\item 
virtual bool \hyperlink{classBWAPI_1_1Unit_ae13d3a70ebf54c6ddba218bbd197a1eb}{siege} ()=0
\item 
virtual bool \hyperlink{classBWAPI_1_1Unit_a3d17e0872793cacdcbf63222e8c984ca}{unsiege} ()=0
\item 
virtual bool \hyperlink{classBWAPI_1_1Unit_ae20b6434bbd4fdcff8ad3970898f3db0}{lift} ()=0
\item 
virtual bool \hyperlink{classBWAPI_1_1Unit_affda870d56dd74d695412f6e4702e2c8}{land} (\hyperlink{classBWAPI_1_1TilePosition}{\-Tile\-Position} target)=0
\item 
virtual bool \hyperlink{classBWAPI_1_1Unit_a46fc8801abc507e40ab65423ef2299bf}{load} (\hyperlink{classBWAPI_1_1Unit}{\-Unit} $\ast$target, bool shift\-Queue\-Command=false)=0
\item 
virtual bool \hyperlink{classBWAPI_1_1Unit_a75a85047926184c0f59fa4eec0844fe1}{unload} (\hyperlink{classBWAPI_1_1Unit}{\-Unit} $\ast$target)=0
\item 
virtual bool \hyperlink{classBWAPI_1_1Unit_a7be1d1f2b6673c4022476364a70fdc52}{unload\-All} (bool shift\-Queue\-Command=false)=0
\item 
virtual bool \hyperlink{classBWAPI_1_1Unit_a6928065e4064b580641607ed747b578f}{unload\-All} (\hyperlink{classBWAPI_1_1Position}{\-Position} target, bool shift\-Queue\-Command=false)=0
\item 
virtual bool \hyperlink{classBWAPI_1_1Unit_a8f3e60dc932fa3608526d52a2eaf30a2}{right\-Click} (\hyperlink{classBWAPI_1_1Position}{\-Position} target, bool shift\-Queue\-Command=false)=0
\item 
virtual bool \hyperlink{classBWAPI_1_1Unit_ad33d76392fac74dd2b3905aa0a899b54}{right\-Click} (\hyperlink{classBWAPI_1_1Unit}{\-Unit} $\ast$target, bool shift\-Queue\-Command=false)=0
\item 
virtual bool \hyperlink{classBWAPI_1_1Unit_a20d564b9f828e6fb0ec04494bdc383e4}{halt\-Construction} ()=0
\item 
virtual bool \hyperlink{classBWAPI_1_1Unit_a3af4d88a90c231372a92f2e15de14964}{cancel\-Construction} ()=0
\item 
virtual bool \hyperlink{classBWAPI_1_1Unit_a28cf227476567e19aa600611563e2888}{cancel\-Addon} ()=0
\item 
virtual bool \hyperlink{classBWAPI_1_1Unit_a87b8ca4640117d02d4c86d3512fe6e09}{cancel\-Train} (\hyperlink{Detours_8h_ab5a791e918b09a41addbf5b813175633}{int} slot=-\/2)=0
\item 
virtual bool \hyperlink{classBWAPI_1_1Unit_a4931c3a42ec9faf82cd4071b65378734}{cancel\-Morph} ()=0
\item 
virtual bool \hyperlink{classBWAPI_1_1Unit_a4048993d8f18ccd359838a50d570086b}{cancel\-Research} ()=0
\item 
virtual bool \hyperlink{classBWAPI_1_1Unit_a5350bd798bc2c0702d567ef07042d182}{cancel\-Upgrade} ()=0
\item 
virtual bool \hyperlink{classBWAPI_1_1Unit_ab2c7e5f5be9ddb12a3a0b77c198d3dc0}{use\-Tech} (\hyperlink{classBWAPI_1_1TechType}{\-Tech\-Type} tech)=0
\item 
virtual bool \hyperlink{classBWAPI_1_1Unit_aa5357cd728a9457ca6750b58122fa6a9}{use\-Tech} (\hyperlink{classBWAPI_1_1TechType}{\-Tech\-Type} tech, \hyperlink{classBWAPI_1_1Position}{\-Position} target)=0
\item 
virtual bool \hyperlink{classBWAPI_1_1Unit_ab7f5bf1a35584dca94c1c0f456d2523d}{use\-Tech} (\hyperlink{classBWAPI_1_1TechType}{\-Tech\-Type} tech, \hyperlink{classBWAPI_1_1Unit}{\-Unit} $\ast$target)=0
\item 
virtual bool \hyperlink{classBWAPI_1_1Unit_ab425a1e7280e9931a32d13dac00fcd22}{place\-C\-O\-P} (\hyperlink{classBWAPI_1_1TilePosition}{\-Tile\-Position} target)=0
\end{DoxyCompactItemize}
\subsection*{\-Protected \-Member \-Functions}
\begin{DoxyCompactItemize}
\item 
virtual \hyperlink{classBWAPI_1_1Unit_a72ab185781b2f3b43ff95234192248b3}{$\sim$\-Unit} ()
\end{DoxyCompactItemize}


\subsection{\-Detailed \-Description}
\-The \hyperlink{classBWAPI_1_1Unit}{\-Unit} class is used to get information about individual units as well as issue orders to units. \-Each unit in the game has a unique \hyperlink{classBWAPI_1_1Unit}{\-Unit} object, and \hyperlink{classBWAPI_1_1Unit}{\-Unit} objects are not deleted until the end of the match (so you don't need to worry about unit pointers becoming invalid).

\-Every \hyperlink{classBWAPI_1_1Unit}{\-Unit} in the game is either accessible or inaccessible. \-To determine if an \-A\-I can access a particular unit, \hyperlink{namespaceBWAPI}{\-B\-W\-A\-P\-I} checks to see if \hyperlink{namespaceBWAPI_1_1Flag_a394478b7ea50a1fea08f7a73bbad04aeaf6d5058525d1ce926407b5644594d790}{\-Flag\-::\-Complete\-Map\-Information}? is enabled. \-So there are two cases to consider -\/ either the flag is enabled, or it is disabled\-:

\-If \hyperlink{namespaceBWAPI_1_1Flag_a394478b7ea50a1fea08f7a73bbad04aeaf6d5058525d1ce926407b5644594d790}{\-Flag\-::\-Complete\-Map\-Information}? is disabled, then a unit is accessible if and only if it is visible. \-Note also that some properties of visible enemy units will not be made available to the \-A\-I (such as the contents of visible enemy dropships). \-If a unit is not visible, \hyperlink{classBWAPI_1_1Unit_a504c79688ceeba71c6fcb2bd441b91f1}{\-Unit\-::exists} will return false, regardless of whether or not the unit exists. \-This is because absolutely no state information on invisible enemy units is made available to the \-A\-I. \-To determine if an enemy unit has been destroyed, the \-A\-I must watch for \hyperlink{classBWAPI_1_1AIModule_a32637d3e091a5fe7ee53e2de6caccfb6}{\-A\-I\-Module\-::on\-Unit\-Destroy} messages from \hyperlink{namespaceBWAPI}{\-B\-W\-A\-P\-I}, which is only called for visible units which get destroyed.

\-If \hyperlink{namespaceBWAPI_1_1Flag_a394478b7ea50a1fea08f7a73bbad04aeaf6d5058525d1ce926407b5644594d790}{\-Flag\-::\-Complete\-Map\-Information}? is enabled, then all units that exist in the game are accessible, and \hyperlink{classBWAPI_1_1Unit_a504c79688ceeba71c6fcb2bd441b91f1}{\-Unit\-::exists} is accurate for all units. \-Similarly \hyperlink{classBWAPI_1_1AIModule_a32637d3e091a5fe7ee53e2de6caccfb6}{\-A\-I\-Module\-::on\-Unit\-Destroy} messages are generated for all units that get destroyed, not just visible ones.

\-If a \hyperlink{classBWAPI_1_1Unit}{\-Unit} is not accessible, in general the only the get\-Initial\-\_\-\-\_\- functions will be available to the \-A\-I. \-However for units that were owned by the player, get\-Player and get\-Type will continue to work for units that have been destroyed. 

\subsection{\-Constructor \& \-Destructor \-Documentation}
\hypertarget{classBWAPI_1_1Unit_a72ab185781b2f3b43ff95234192248b3}{\index{\-B\-W\-A\-P\-I\-::\-Unit@{\-B\-W\-A\-P\-I\-::\-Unit}!$\sim$\-Unit@{$\sim$\-Unit}}
\index{$\sim$\-Unit@{$\sim$\-Unit}!BWAPI::Unit@{\-B\-W\-A\-P\-I\-::\-Unit}}
\subsubsection[{$\sim$\-Unit}]{\setlength{\rightskip}{0pt plus 5cm}virtual {\bf \-B\-W\-A\-P\-I\-::\-Unit\-::$\sim$\-Unit} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline, protected, virtual\mbox{]}}}}\label{classBWAPI_1_1Unit_a72ab185781b2f3b43ff95234192248b3}


\subsection{\-Member \-Function \-Documentation}
\hypertarget{classBWAPI_1_1Unit_a9cd107c8d8b083f61eb4def6f4bb091a}{\index{\-B\-W\-A\-P\-I\-::\-Unit@{\-B\-W\-A\-P\-I\-::\-Unit}!attack@{attack}}
\index{attack@{attack}!BWAPI::Unit@{\-B\-W\-A\-P\-I\-::\-Unit}}
\subsubsection[{attack}]{\setlength{\rightskip}{0pt plus 5cm}virtual bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-::attack} (
\begin{DoxyParamCaption}
\item[{{\bf \-Position}}]{target, }
\item[{bool}]{shift\-Queue\-Command = {\ttfamily false}}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}\label{classBWAPI_1_1Unit_a9cd107c8d8b083f61eb4def6f4bb091a}
\hyperlink{namespaceBWAPI_1_1Orders}{\-Orders} the unit to attack move to the specified location. 

\-Implemented in \hyperlink{classBWAPI_1_1UnitImpl_a83b50128144353ce9e318cc9eb14df1a}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}, and \hyperlink{classBWAPI_1_1UnitImpl_a2024685cbb5e7da4fdbc56a24452a425}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}.



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


\hypertarget{classBWAPI_1_1Unit_a6186ab15fd22589a0382ffb9b1caea99}{\index{\-B\-W\-A\-P\-I\-::\-Unit@{\-B\-W\-A\-P\-I\-::\-Unit}!attack@{attack}}
\index{attack@{attack}!BWAPI::Unit@{\-B\-W\-A\-P\-I\-::\-Unit}}
\subsubsection[{attack}]{\setlength{\rightskip}{0pt plus 5cm}virtual bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-::attack} (
\begin{DoxyParamCaption}
\item[{{\bf \-Unit} $\ast$}]{target, }
\item[{bool}]{shift\-Queue\-Command = {\ttfamily false}}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}\label{classBWAPI_1_1Unit_a6186ab15fd22589a0382ffb9b1caea99}
\hyperlink{namespaceBWAPI_1_1Orders}{\-Orders} the unit to attack the specified unit. 

\-Implemented in \hyperlink{classBWAPI_1_1UnitImpl_a1737ab8aa27acc704d24bd7eee893342}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}, and \hyperlink{classBWAPI_1_1UnitImpl_a710d84fa80297d374d6ae3583601b746}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}.

\hypertarget{classBWAPI_1_1Unit_a87ec26dd2b3366a12efdb700565de084}{\index{\-B\-W\-A\-P\-I\-::\-Unit@{\-B\-W\-A\-P\-I\-::\-Unit}!build@{build}}
\index{build@{build}!BWAPI::Unit@{\-B\-W\-A\-P\-I\-::\-Unit}}
\subsubsection[{build}]{\setlength{\rightskip}{0pt plus 5cm}virtual bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-::build} (
\begin{DoxyParamCaption}
\item[{{\bf \-Tile\-Position}}]{target, }
\item[{{\bf \-Unit\-Type}}]{type}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}\label{classBWAPI_1_1Unit_a87ec26dd2b3366a12efdb700565de084}
\hyperlink{namespaceBWAPI_1_1Orders}{\-Orders} the unit to build the given unit type at the given position. \-Note that if the player does not have enough resources when the unit attempts to place the building down, the order will fail. \-The tile position specifies where the top left corner of the building will be placed. 

\-Implemented in \hyperlink{classBWAPI_1_1UnitImpl_aa9d36563022c68330ac13ebe729e4a11}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}, and \hyperlink{classBWAPI_1_1UnitImpl_a9a8195f24e2c67e89405d7d9146eef71}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}.



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


\hypertarget{classBWAPI_1_1Unit_a809ada8bd7630668b8b404f68ed3ed19}{\index{\-B\-W\-A\-P\-I\-::\-Unit@{\-B\-W\-A\-P\-I\-::\-Unit}!build\-Addon@{build\-Addon}}
\index{build\-Addon@{build\-Addon}!BWAPI::Unit@{\-B\-W\-A\-P\-I\-::\-Unit}}
\subsubsection[{build\-Addon}]{\setlength{\rightskip}{0pt plus 5cm}virtual bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-::build\-Addon} (
\begin{DoxyParamCaption}
\item[{{\bf \-Unit\-Type}}]{type}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}\label{classBWAPI_1_1Unit_a809ada8bd7630668b8b404f68ed3ed19}
\hyperlink{namespaceBWAPI_1_1Orders}{\-Orders} the unit to build the given addon. \-The unit must be a \-Terran building that can have an addon and the specified unit type must be an addon unit type. 

\-Implemented in \hyperlink{classBWAPI_1_1UnitImpl_a4ed845491cafb62a17faf620645a656e}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}, and \hyperlink{classBWAPI_1_1UnitImpl_ad9637b3a15a19f4a546a7110c619dc1e}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}.



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


\hypertarget{classBWAPI_1_1Unit_a66f0e66b4017a0b8bbc74de60804ab4b}{\index{\-B\-W\-A\-P\-I\-::\-Unit@{\-B\-W\-A\-P\-I\-::\-Unit}!burrow@{burrow}}
\index{burrow@{burrow}!BWAPI::Unit@{\-B\-W\-A\-P\-I\-::\-Unit}}
\subsubsection[{burrow}]{\setlength{\rightskip}{0pt plus 5cm}virtual bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-::burrow} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}\label{classBWAPI_1_1Unit_a66f0e66b4017a0b8bbc74de60804ab4b}
\hyperlink{namespaceBWAPI_1_1Orders}{\-Orders} the unit to burrow. \-Either the unit must be a \-Zerg \-Lurker, or the unit must be a \-Zerg ground unit and burrow tech must be researched. \begin{DoxySeeAlso}{\-See also}
\-: \hyperlink{classBWAPI_1_1Unit_a48d98e8ff3c1e70ad904d0ac7f65b6de}{\-Unit\-::unburrow}, \hyperlink{classBWAPI_1_1Unit_a1117bce4ca4edd95cdf84280e0b00fdd}{\-Unit\-::is\-Burrowed}. 
\end{DoxySeeAlso}


\-Implemented in \hyperlink{classBWAPI_1_1UnitImpl_ad9ac3ff5e9dee97737d4074404535589}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}, and \hyperlink{classBWAPI_1_1UnitImpl_ac1d115d10c6701745106ae8bc8dc78bf}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}.



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


\hypertarget{classBWAPI_1_1Unit_a28cf227476567e19aa600611563e2888}{\index{\-B\-W\-A\-P\-I\-::\-Unit@{\-B\-W\-A\-P\-I\-::\-Unit}!cancel\-Addon@{cancel\-Addon}}
\index{cancel\-Addon@{cancel\-Addon}!BWAPI::Unit@{\-B\-W\-A\-P\-I\-::\-Unit}}
\subsubsection[{cancel\-Addon}]{\setlength{\rightskip}{0pt plus 5cm}virtual bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-::cancel\-Addon} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}\label{classBWAPI_1_1Unit_a28cf227476567e19aa600611563e2888}
\hyperlink{namespaceBWAPI_1_1Orders}{\-Orders} the unit to stop making the addon. 

\-Implemented in \hyperlink{classBWAPI_1_1UnitImpl_a4d91c86564b43ccab037018278ac7f83}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}, and \hyperlink{classBWAPI_1_1UnitImpl_ae8ef4f2af3128a2a75768a83a8a02258}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}.



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


\hypertarget{classBWAPI_1_1Unit_a3af4d88a90c231372a92f2e15de14964}{\index{\-B\-W\-A\-P\-I\-::\-Unit@{\-B\-W\-A\-P\-I\-::\-Unit}!cancel\-Construction@{cancel\-Construction}}
\index{cancel\-Construction@{cancel\-Construction}!BWAPI::Unit@{\-B\-W\-A\-P\-I\-::\-Unit}}
\subsubsection[{cancel\-Construction}]{\setlength{\rightskip}{0pt plus 5cm}virtual bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-::cancel\-Construction} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}\label{classBWAPI_1_1Unit_a3af4d88a90c231372a92f2e15de14964}
\hyperlink{namespaceBWAPI_1_1Orders}{\-Orders} the building to stop being constructed. \begin{DoxySeeAlso}{\-See also}
\-Unit\-::being\-Constructed. 
\end{DoxySeeAlso}


\-Implemented in \hyperlink{classBWAPI_1_1UnitImpl_a7d404efa7a3fdbe8d6a54a4f1998fc72}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}, and \hyperlink{classBWAPI_1_1UnitImpl_ad44d339a63793a0413483bfd288fdcfa}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}.



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


\hypertarget{classBWAPI_1_1Unit_a4931c3a42ec9faf82cd4071b65378734}{\index{\-B\-W\-A\-P\-I\-::\-Unit@{\-B\-W\-A\-P\-I\-::\-Unit}!cancel\-Morph@{cancel\-Morph}}
\index{cancel\-Morph@{cancel\-Morph}!BWAPI::Unit@{\-B\-W\-A\-P\-I\-::\-Unit}}
\subsubsection[{cancel\-Morph}]{\setlength{\rightskip}{0pt plus 5cm}virtual bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-::cancel\-Morph} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}\label{classBWAPI_1_1Unit_a4931c3a42ec9faf82cd4071b65378734}
\hyperlink{namespaceBWAPI_1_1Orders}{\-Orders} the unit to stop morphing. \begin{DoxySeeAlso}{\-See also}
\hyperlink{classBWAPI_1_1Unit_a31531f0f10ecd132cc400d2d8b2d7435}{\-Unit\-::morph}, \hyperlink{classBWAPI_1_1Unit_a4e662fdd2d99caa654e9ed8dd25d6872}{\-Unit\-::is\-Morphing}. 
\end{DoxySeeAlso}


\-Implemented in \hyperlink{classBWAPI_1_1UnitImpl_a1f48039c7468185b424a09563a3a6e08}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}, and \hyperlink{classBWAPI_1_1UnitImpl_a155c16ae7fb847b2723202346d7ebe4d}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}.



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


\hypertarget{classBWAPI_1_1Unit_a4048993d8f18ccd359838a50d570086b}{\index{\-B\-W\-A\-P\-I\-::\-Unit@{\-B\-W\-A\-P\-I\-::\-Unit}!cancel\-Research@{cancel\-Research}}
\index{cancel\-Research@{cancel\-Research}!BWAPI::Unit@{\-B\-W\-A\-P\-I\-::\-Unit}}
\subsubsection[{cancel\-Research}]{\setlength{\rightskip}{0pt plus 5cm}virtual bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-::cancel\-Research} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}\label{classBWAPI_1_1Unit_a4048993d8f18ccd359838a50d570086b}
\hyperlink{namespaceBWAPI_1_1Orders}{\-Orders} the unit to cancel a research in progress. \begin{DoxySeeAlso}{\-See also}
\hyperlink{classBWAPI_1_1Unit_a6d7ad38052b28cb8f359168d64a862b5}{\-Unit\-::research}, \hyperlink{classBWAPI_1_1Unit_adb6b194a351402b958dd9df9d3ca5109}{\-Unit\-::is\-Researching}, \hyperlink{classBWAPI_1_1Unit_a11331855e5119240177a08b1382563e6}{\-Unit\-::get\-Tech}. 
\end{DoxySeeAlso}


\-Implemented in \hyperlink{classBWAPI_1_1UnitImpl_a7160d1e10201ca8d284ff93ba5b93336}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}, and \hyperlink{classBWAPI_1_1UnitImpl_a52f152e119d9470e0563c4b5daa64a27}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}.



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


\hypertarget{classBWAPI_1_1Unit_a87b8ca4640117d02d4c86d3512fe6e09}{\index{\-B\-W\-A\-P\-I\-::\-Unit@{\-B\-W\-A\-P\-I\-::\-Unit}!cancel\-Train@{cancel\-Train}}
\index{cancel\-Train@{cancel\-Train}!BWAPI::Unit@{\-B\-W\-A\-P\-I\-::\-Unit}}
\subsubsection[{cancel\-Train}]{\setlength{\rightskip}{0pt plus 5cm}virtual bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-::cancel\-Train} (
\begin{DoxyParamCaption}
\item[{{\bf int}}]{slot = {\ttfamily -\/2}}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}\label{classBWAPI_1_1Unit_a87b8ca4640117d02d4c86d3512fe6e09}
\hyperlink{namespaceBWAPI_1_1Orders}{\-Orders} the unit to remove the specified unit from its training queue. \begin{DoxySeeAlso}{\-See also}
\hyperlink{classBWAPI_1_1Unit_a188a1a1b49ad5bc44531d63e93ce9825}{\-Unit\-::train}, \hyperlink{classBWAPI_1_1Unit_a87b8ca4640117d02d4c86d3512fe6e09}{\-Unit\-::cancel\-Train}, \hyperlink{classBWAPI_1_1Unit_a18683985e87770b2695a0662ef340ab1}{\-Unit\-::is\-Training}, \hyperlink{classBWAPI_1_1Unit_af81ad84273036f2c093df418ae3f5224}{\-Unit\-::get\-Training\-Queue}. 
\end{DoxySeeAlso}


\-Implemented in \hyperlink{classBWAPI_1_1UnitImpl_a32bb7d97c30ddaa1e3c95ab6de2882ea}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}, and \hyperlink{classBWAPI_1_1UnitImpl_abbffda4e3f1f7e467102f37458cd349b}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}.



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


\hypertarget{classBWAPI_1_1Unit_a5350bd798bc2c0702d567ef07042d182}{\index{\-B\-W\-A\-P\-I\-::\-Unit@{\-B\-W\-A\-P\-I\-::\-Unit}!cancel\-Upgrade@{cancel\-Upgrade}}
\index{cancel\-Upgrade@{cancel\-Upgrade}!BWAPI::Unit@{\-B\-W\-A\-P\-I\-::\-Unit}}
\subsubsection[{cancel\-Upgrade}]{\setlength{\rightskip}{0pt plus 5cm}virtual bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-::cancel\-Upgrade} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}\label{classBWAPI_1_1Unit_a5350bd798bc2c0702d567ef07042d182}
\hyperlink{namespaceBWAPI_1_1Orders}{\-Orders} the unit to cancel an upgrade in progress. \begin{DoxySeeAlso}{\-See also}
\hyperlink{classBWAPI_1_1Unit_a9423c81efd5c269b955a723b664bddd9}{\-Unit\-::upgrade}, \hyperlink{classBWAPI_1_1Unit_ac0535f3af62cfdb352c982371421d48b}{\-Unit\-::is\-Upgrading}, \hyperlink{classBWAPI_1_1Unit_a628a6901e954b6a2708f9d1d16acedf4}{\-Unit\-::get\-Upgrade}. 
\end{DoxySeeAlso}


\-Implemented in \hyperlink{classBWAPI_1_1UnitImpl_a09993080ab1884b2b522fad640e70288}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}, and \hyperlink{classBWAPI_1_1UnitImpl_a0eaf6fb98734e3f683dc8d1b84e8b3ee}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}.



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


\hypertarget{classBWAPI_1_1Unit_a1a0b5ba80c16a4732f8ac5e4451d1fdf}{\index{\-B\-W\-A\-P\-I\-::\-Unit@{\-B\-W\-A\-P\-I\-::\-Unit}!can\-Issue\-Command@{can\-Issue\-Command}}
\index{can\-Issue\-Command@{can\-Issue\-Command}!BWAPI::Unit@{\-B\-W\-A\-P\-I\-::\-Unit}}
\subsubsection[{can\-Issue\-Command}]{\setlength{\rightskip}{0pt plus 5cm}virtual bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-::can\-Issue\-Command} (
\begin{DoxyParamCaption}
\item[{{\bf \-Unit\-Command}}]{command}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}\label{classBWAPI_1_1Unit_a1a0b5ba80c16a4732f8ac5e4451d1fdf}
\-Returns true if the unit is able to execute the given command, or false if there is an error 

\-Implemented in \hyperlink{classBWAPI_1_1UnitImpl_a366e79f6b324820abe4090e4d0e5cb43}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}, and \hyperlink{classBWAPI_1_1UnitImpl_a7a005532a4e7673212d35292f00fac02}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}.



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


\hypertarget{classBWAPI_1_1Unit_ae59ed0a9880b3e1f4a8786768c08bca8}{\index{\-B\-W\-A\-P\-I\-::\-Unit@{\-B\-W\-A\-P\-I\-::\-Unit}!cloak@{cloak}}
\index{cloak@{cloak}!BWAPI::Unit@{\-B\-W\-A\-P\-I\-::\-Unit}}
\subsubsection[{cloak}]{\setlength{\rightskip}{0pt plus 5cm}virtual bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-::cloak} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}\label{classBWAPI_1_1Unit_ae59ed0a9880b3e1f4a8786768c08bca8}
\hyperlink{namespaceBWAPI_1_1Orders}{\-Orders} the unit to cloak. \begin{DoxySeeAlso}{\-See also}
\-: \hyperlink{classBWAPI_1_1Unit_ad162117fae3ef34f3325395cb1ed7ef5}{\-Unit\-::decloak}, \hyperlink{classBWAPI_1_1Unit_a36733f38d84d313ee1fda4aba8288156}{\-Unit\-::is\-Cloaked}. 
\end{DoxySeeAlso}


\-Implemented in \hyperlink{classBWAPI_1_1UnitImpl_a03356449eb85676c5f2ca5afb109a00e}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}, and \hyperlink{classBWAPI_1_1UnitImpl_a46da3b172a899af1a9fb199158751e4a}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}.



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


\hypertarget{classBWAPI_1_1Unit_ad162117fae3ef34f3325395cb1ed7ef5}{\index{\-B\-W\-A\-P\-I\-::\-Unit@{\-B\-W\-A\-P\-I\-::\-Unit}!decloak@{decloak}}
\index{decloak@{decloak}!BWAPI::Unit@{\-B\-W\-A\-P\-I\-::\-Unit}}
\subsubsection[{decloak}]{\setlength{\rightskip}{0pt plus 5cm}virtual bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-::decloak} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}\label{classBWAPI_1_1Unit_ad162117fae3ef34f3325395cb1ed7ef5}
\hyperlink{namespaceBWAPI_1_1Orders}{\-Orders} the unit to decloak. \begin{DoxySeeAlso}{\-See also}
\-: \hyperlink{classBWAPI_1_1Unit_ae59ed0a9880b3e1f4a8786768c08bca8}{\-Unit\-::cloak}, \hyperlink{classBWAPI_1_1Unit_a36733f38d84d313ee1fda4aba8288156}{\-Unit\-::is\-Cloaked}. 
\end{DoxySeeAlso}


\-Implemented in \hyperlink{classBWAPI_1_1UnitImpl_ac553c8233ff6951175775c3710c9095b}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}, and \hyperlink{classBWAPI_1_1UnitImpl_a5c88c122c0c53dc8eab0e4ada2d7edd6}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}.



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


\hypertarget{classBWAPI_1_1Unit_a504c79688ceeba71c6fcb2bd441b91f1}{\index{\-B\-W\-A\-P\-I\-::\-Unit@{\-B\-W\-A\-P\-I\-::\-Unit}!exists@{exists}}
\index{exists@{exists}!BWAPI::Unit@{\-B\-W\-A\-P\-I\-::\-Unit}}
\subsubsection[{exists}]{\setlength{\rightskip}{0pt plus 5cm}virtual bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-::exists} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}\label{classBWAPI_1_1Unit_a504c79688ceeba71c6fcb2bd441b91f1}
3 cases to consider\-:


\begin{DoxyItemize}
\item \-If \hyperlink{classBWAPI_1_1Unit_a504c79688ceeba71c6fcb2bd441b91f1}{exists()} returns true, the unit exists.
\item \-If \hyperlink{classBWAPI_1_1Unit_a504c79688ceeba71c6fcb2bd441b91f1}{exists()} returns false and the unit is owned by \hyperlink{BWScriptEmulator_8cpp_a4919817fba0f21f5cc702b84751193b0}{self()}, then the unit does not exist.
\item \-If \hyperlink{classBWAPI_1_1Unit_a504c79688ceeba71c6fcb2bd441b91f1}{exists()} returns false and the unit is not owned by \hyperlink{BWScriptEmulator_8cpp_a4919817fba0f21f5cc702b84751193b0}{self()}, then the unit may or may not exist.
\end{DoxyItemize}

\begin{DoxySeeAlso}{\-See also}
\hyperlink{classBWAPI_1_1Unit_a89f80dff4a1f766c1c82957404451949}{\-Unit\-::is\-Visible}. 
\end{DoxySeeAlso}


\-Implemented in \hyperlink{classBWAPI_1_1UnitImpl_a3c1336ee86185c903f9d105076ccebe9}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}, and \hyperlink{classBWAPI_1_1UnitImpl_a2bcbc0d72a484dbbf29bca2d2628867a}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}.



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


\hypertarget{classBWAPI_1_1Unit_a14e9015ffb05bdcadf7e103b9d28e8c5}{\index{\-B\-W\-A\-P\-I\-::\-Unit@{\-B\-W\-A\-P\-I\-::\-Unit}!follow@{follow}}
\index{follow@{follow}!BWAPI::Unit@{\-B\-W\-A\-P\-I\-::\-Unit}}
\subsubsection[{follow}]{\setlength{\rightskip}{0pt plus 5cm}virtual bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-::follow} (
\begin{DoxyParamCaption}
\item[{{\bf \-Unit} $\ast$}]{target, }
\item[{bool}]{shift\-Queue\-Command = {\ttfamily false}}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}\label{classBWAPI_1_1Unit_a14e9015ffb05bdcadf7e103b9d28e8c5}
\hyperlink{namespaceBWAPI_1_1Orders}{\-Orders} the unit to follow the specified unit. \begin{DoxySeeAlso}{\-See also}
\hyperlink{classBWAPI_1_1Unit_a157320cd9e0becb4f91e917cfbc86b70}{\-Unit\-::is\-Following}. 
\end{DoxySeeAlso}


\-Implemented in \hyperlink{classBWAPI_1_1UnitImpl_a96e3b998c0e9c081515ec58de0b36419}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}, and \hyperlink{classBWAPI_1_1UnitImpl_acdf71552c86213c58e8bcfcf22311412}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}.



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


\hypertarget{classBWAPI_1_1Unit_ada285d5e398295fefec503c4fc0f7182}{\index{\-B\-W\-A\-P\-I\-::\-Unit@{\-B\-W\-A\-P\-I\-::\-Unit}!gather@{gather}}
\index{gather@{gather}!BWAPI::Unit@{\-B\-W\-A\-P\-I\-::\-Unit}}
\subsubsection[{gather}]{\setlength{\rightskip}{0pt plus 5cm}virtual bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-::gather} (
\begin{DoxyParamCaption}
\item[{{\bf \-Unit} $\ast$}]{target, }
\item[{bool}]{shift\-Queue\-Command = {\ttfamily false}}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}\label{classBWAPI_1_1Unit_ada285d5e398295fefec503c4fc0f7182}
\hyperlink{namespaceBWAPI_1_1Orders}{\-Orders} the unit to gather the specified unit (must be mineral or refinery type). \begin{DoxySeeAlso}{\-See also}
\hyperlink{classBWAPI_1_1Unit_ade805fbc2814eede4a88c1160e91be55}{\-Unit\-::is\-Gathering\-Gas}, \hyperlink{classBWAPI_1_1Unit_a4e462889f20394c482db6b8e7113c27f}{\-Unit\-::is\-Gathering\-Minerals}. 
\end{DoxySeeAlso}


\-Implemented in \hyperlink{classBWAPI_1_1UnitImpl_a63a4ae709994bcc9ec8a42293253fe70}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}, and \hyperlink{classBWAPI_1_1UnitImpl_a1e14be0dc12eb2c77edfc63daf7f07b8}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}.



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


\hypertarget{classBWAPI_1_1Unit_ad7ba91eece7fa01d7739e2eebe297250}{\index{\-B\-W\-A\-P\-I\-::\-Unit@{\-B\-W\-A\-P\-I\-::\-Unit}!get\-Acid\-Spore\-Count@{get\-Acid\-Spore\-Count}}
\index{get\-Acid\-Spore\-Count@{get\-Acid\-Spore\-Count}!BWAPI::Unit@{\-B\-W\-A\-P\-I\-::\-Unit}}
\subsubsection[{get\-Acid\-Spore\-Count}]{\setlength{\rightskip}{0pt plus 5cm}virtual {\bf int} {\bf \-B\-W\-A\-P\-I\-::\-Unit\-::get\-Acid\-Spore\-Count} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}\label{classBWAPI_1_1Unit_ad7ba91eece7fa01d7739e2eebe297250}
\-Returns the unit's acid spore count. 

\-Implemented in \hyperlink{classBWAPI_1_1UnitImpl_a6f4e90f098d8a4505ef9d08c4006ca6b}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}, and \hyperlink{classBWAPI_1_1UnitImpl_a56bbf8cd380e5d6b8b3f65766d6c4007}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}.

\hypertarget{classBWAPI_1_1Unit_a8524443ba71be8181e2181ef37785517}{\index{\-B\-W\-A\-P\-I\-::\-Unit@{\-B\-W\-A\-P\-I\-::\-Unit}!get\-Addon@{get\-Addon}}
\index{get\-Addon@{get\-Addon}!BWAPI::Unit@{\-B\-W\-A\-P\-I\-::\-Unit}}
\subsubsection[{get\-Addon}]{\setlength{\rightskip}{0pt plus 5cm}virtual {\bf \-Unit}$\ast$ {\bf \-B\-W\-A\-P\-I\-::\-Unit\-::get\-Addon} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}\label{classBWAPI_1_1Unit_a8524443ba71be8181e2181ef37785517}
\-Returns the add-\/on of this unit, or \-N\-U\-L\-L if the unit doesn't have an add-\/on. 

\-Implemented in \hyperlink{classBWAPI_1_1UnitImpl_a78fb36acfd941eb6c64c557f451d880a}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}, and \hyperlink{classBWAPI_1_1UnitImpl_aee873261743fbc0cc01df89d131d45e2}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}.



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


\hypertarget{classBWAPI_1_1Unit_a493012f34983859cbd8746c7ffd2793e}{\index{\-B\-W\-A\-P\-I\-::\-Unit@{\-B\-W\-A\-P\-I\-::\-Unit}!get\-Air\-Weapon\-Cooldown@{get\-Air\-Weapon\-Cooldown}}
\index{get\-Air\-Weapon\-Cooldown@{get\-Air\-Weapon\-Cooldown}!BWAPI::Unit@{\-B\-W\-A\-P\-I\-::\-Unit}}
\subsubsection[{get\-Air\-Weapon\-Cooldown}]{\setlength{\rightskip}{0pt plus 5cm}virtual {\bf int} {\bf \-B\-W\-A\-P\-I\-::\-Unit\-::get\-Air\-Weapon\-Cooldown} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}\label{classBWAPI_1_1Unit_a493012f34983859cbd8746c7ffd2793e}
\-Returns unit's air weapon cooldown. \-It is 0 if the unit is ready to attack. 

\-Implemented in \hyperlink{classBWAPI_1_1UnitImpl_a4e22181c130de2d3686f64d534747ef7}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}, and \hyperlink{classBWAPI_1_1UnitImpl_a315597cd9590331a4b908ce82cd2fef8}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}.

\hypertarget{classBWAPI_1_1Unit_a2410a3c1ec90b4ab4c5ab945c6535f4d}{\index{\-B\-W\-A\-P\-I\-::\-Unit@{\-B\-W\-A\-P\-I\-::\-Unit}!get\-Angle@{get\-Angle}}
\index{get\-Angle@{get\-Angle}!BWAPI::Unit@{\-B\-W\-A\-P\-I\-::\-Unit}}
\subsubsection[{get\-Angle}]{\setlength{\rightskip}{0pt plus 5cm}virtual double {\bf \-B\-W\-A\-P\-I\-::\-Unit\-::get\-Angle} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}\label{classBWAPI_1_1Unit_a2410a3c1ec90b4ab4c5ab945c6535f4d}
\-Returns the direction the unit is facing, measured in radians. \-An angle of 0 means the unit is facing east. 

\-Implemented in \hyperlink{classBWAPI_1_1UnitImpl_aafe212696e082d258517f52bcc1c80b1}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}, and \hyperlink{classBWAPI_1_1UnitImpl_a0bad759d1153857baa641288fd7d4727}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}.

\hypertarget{classBWAPI_1_1Unit_a67ceb59b34d17666fccd113235927e67}{\index{\-B\-W\-A\-P\-I\-::\-Unit@{\-B\-W\-A\-P\-I\-::\-Unit}!get\-Bottom@{get\-Bottom}}
\index{get\-Bottom@{get\-Bottom}!BWAPI::Unit@{\-B\-W\-A\-P\-I\-::\-Unit}}
\subsubsection[{get\-Bottom}]{\setlength{\rightskip}{0pt plus 5cm}virtual {\bf int} {\bf \-B\-W\-A\-P\-I\-::\-Unit\-::get\-Bottom} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}\label{classBWAPI_1_1Unit_a67ceb59b34d17666fccd113235927e67}
\-Returns the \-Y coordinate of the bottom side of the unit. 

\-Implemented in \hyperlink{classBWAPI_1_1UnitImpl_ae8460c006570897b13120ddb3975523a}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}, and \hyperlink{classBWAPI_1_1UnitImpl_aa12f827ee966ce61ecd1690126a67fad}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}.

\hypertarget{classBWAPI_1_1Unit_a5ee7269d0f6c4ff892aec046dfe28d30}{\index{\-B\-W\-A\-P\-I\-::\-Unit@{\-B\-W\-A\-P\-I\-::\-Unit}!get\-Build\-Type@{get\-Build\-Type}}
\index{get\-Build\-Type@{get\-Build\-Type}!BWAPI::Unit@{\-B\-W\-A\-P\-I\-::\-Unit}}
\subsubsection[{get\-Build\-Type}]{\setlength{\rightskip}{0pt plus 5cm}virtual {\bf \-Unit\-Type} {\bf \-B\-W\-A\-P\-I\-::\-Unit\-::get\-Build\-Type} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}\label{classBWAPI_1_1Unit_a5ee7269d0f6c4ff892aec046dfe28d30}
\-Returns the building type a worker is about to construct. \-If the unit is a morphing \-Zerg unit or an incomplete building, this returns the \hyperlink{classBWAPI_1_1UnitType}{\-Unit\-Type} the unit is about to become upon completion. 

\-Implemented in \hyperlink{classBWAPI_1_1UnitImpl_a0f6ead9d415e06f6573332b491c0b03b}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}, and \hyperlink{classBWAPI_1_1UnitImpl_a401228703cdc9652356d6141b2a9d197}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}.



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


\hypertarget{classBWAPI_1_1Unit_a6f02b6717895a725003c96273f0c723c}{\index{\-B\-W\-A\-P\-I\-::\-Unit@{\-B\-W\-A\-P\-I\-::\-Unit}!get\-Build\-Unit@{get\-Build\-Unit}}
\index{get\-Build\-Unit@{get\-Build\-Unit}!BWAPI::Unit@{\-B\-W\-A\-P\-I\-::\-Unit}}
\subsubsection[{get\-Build\-Unit}]{\setlength{\rightskip}{0pt plus 5cm}virtual {\bf \-Unit}$\ast$ {\bf \-B\-W\-A\-P\-I\-::\-Unit\-::get\-Build\-Unit} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}\label{classBWAPI_1_1Unit_a6f02b6717895a725003c96273f0c723c}
\-If the unit is an \-S\-C\-V that is constructing a building, this will return the building it is constructing. \-If the unit is a \-Terran building that is being constructed, this will return the \-S\-C\-V that is constructing it. 

\-Implemented in \hyperlink{classBWAPI_1_1UnitImpl_a5660c426576fbfb3cb7b8beb85fbc890}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}, and \hyperlink{classBWAPI_1_1UnitImpl_a365670b844e72d6155667033530d0d44}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}.



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


\hypertarget{classBWAPI_1_1Unit_af1f1c6b757f18267abec3f9b1497c106}{\index{\-B\-W\-A\-P\-I\-::\-Unit@{\-B\-W\-A\-P\-I\-::\-Unit}!get\-Carrier@{get\-Carrier}}
\index{get\-Carrier@{get\-Carrier}!BWAPI::Unit@{\-B\-W\-A\-P\-I\-::\-Unit}}
\subsubsection[{get\-Carrier}]{\setlength{\rightskip}{0pt plus 5cm}virtual {\bf \-Unit}$\ast$ {\bf \-B\-W\-A\-P\-I\-::\-Unit\-::get\-Carrier} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}\label{classBWAPI_1_1Unit_af1f1c6b757f18267abec3f9b1497c106}
\-For \-Protoss \-Interceptors, this returns the \-Carrier unit this \-Interceptor is controlled by. \-For all other unit types this function returns \-N\-U\-L\-L. 

\-Implemented in \hyperlink{classBWAPI_1_1UnitImpl_ad086f4ea5348e90d17fbf7b5502947da}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}, and \hyperlink{classBWAPI_1_1UnitImpl_a53c8d7d250c48ea400f00eb320f8b09b}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}.



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


\hypertarget{classBWAPI_1_1Unit_ae9aa8bc49aad819dc45137509573735a}{\index{\-B\-W\-A\-P\-I\-::\-Unit@{\-B\-W\-A\-P\-I\-::\-Unit}!get\-Client\-Info@{get\-Client\-Info}}
\index{get\-Client\-Info@{get\-Client\-Info}!BWAPI::Unit@{\-B\-W\-A\-P\-I\-::\-Unit}}
\subsubsection[{get\-Client\-Info}]{\setlength{\rightskip}{0pt plus 5cm}virtual void$\ast$ {\bf \-B\-W\-A\-P\-I\-::\-Unit\-::get\-Client\-Info} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}\label{classBWAPI_1_1Unit_ae9aa8bc49aad819dc45137509573735a}
\-Returns the unit's custom client info. \-The client is responsible for deallocation. 

\-Implemented in \hyperlink{classBWAPI_1_1UnitImpl_a02fa77df593607367a33b8a54660c55c}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}, and \hyperlink{classBWAPI_1_1UnitImpl_ae0c8c1ef199c04b092bf1812af757188}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}.



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


\hypertarget{classBWAPI_1_1Unit_a3981bd29b6add09fb447e8eee1a9bd45}{\index{\-B\-W\-A\-P\-I\-::\-Unit@{\-B\-W\-A\-P\-I\-::\-Unit}!get\-Defense\-Matrix\-Points@{get\-Defense\-Matrix\-Points}}
\index{get\-Defense\-Matrix\-Points@{get\-Defense\-Matrix\-Points}!BWAPI::Unit@{\-B\-W\-A\-P\-I\-::\-Unit}}
\subsubsection[{get\-Defense\-Matrix\-Points}]{\setlength{\rightskip}{0pt plus 5cm}virtual {\bf int} {\bf \-B\-W\-A\-P\-I\-::\-Unit\-::get\-Defense\-Matrix\-Points} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}\label{classBWAPI_1_1Unit_a3981bd29b6add09fb447e8eee1a9bd45}
\-Returns the remaining hit points of the defense matrix. \-Initially a defense \-Matrix has 250 points. \begin{DoxySeeAlso}{\-See also}
\hyperlink{classBWAPI_1_1Unit_a67031f8c07d27ec582ff76a5dafa4d43}{\-Unit\-::get\-Defense\-Matrix\-Timer}, \hyperlink{classBWAPI_1_1Unit_a3fd07acb8cfbd9a49fd77f391af9368b}{\-Unit\-::is\-Defense\-Matrixed}. 
\end{DoxySeeAlso}


\-Implemented in \hyperlink{classBWAPI_1_1UnitImpl_a89811d25df2039aacc16aa305874e94b}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}, and \hyperlink{classBWAPI_1_1UnitImpl_afc07a71503b3dc2d2d4b73ceefa70655}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}.

\hypertarget{classBWAPI_1_1Unit_a67031f8c07d27ec582ff76a5dafa4d43}{\index{\-B\-W\-A\-P\-I\-::\-Unit@{\-B\-W\-A\-P\-I\-::\-Unit}!get\-Defense\-Matrix\-Timer@{get\-Defense\-Matrix\-Timer}}
\index{get\-Defense\-Matrix\-Timer@{get\-Defense\-Matrix\-Timer}!BWAPI::Unit@{\-B\-W\-A\-P\-I\-::\-Unit}}
\subsubsection[{get\-Defense\-Matrix\-Timer}]{\setlength{\rightskip}{0pt plus 5cm}virtual {\bf int} {\bf \-B\-W\-A\-P\-I\-::\-Unit\-::get\-Defense\-Matrix\-Timer} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}\label{classBWAPI_1_1Unit_a67031f8c07d27ec582ff76a5dafa4d43}
\-Returns the time until the defense matrix wears off. 0 -\/$>$ \-No defense \-Matrix present. 

\-Implemented in \hyperlink{classBWAPI_1_1UnitImpl_a093cd65091b066e9a4ca6d77fa52dcf1}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}, and \hyperlink{classBWAPI_1_1UnitImpl_a79baf6c81555c693116f90fb64c69328}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}.



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


\hypertarget{classBWAPI_1_1Unit_ab0e99345a86ebd314b13da0a0fe97553}{\index{\-B\-W\-A\-P\-I\-::\-Unit@{\-B\-W\-A\-P\-I\-::\-Unit}!get\-Distance@{get\-Distance}}
\index{get\-Distance@{get\-Distance}!BWAPI::Unit@{\-B\-W\-A\-P\-I\-::\-Unit}}
\subsubsection[{get\-Distance}]{\setlength{\rightskip}{0pt plus 5cm}virtual {\bf int} {\bf \-B\-W\-A\-P\-I\-::\-Unit\-::get\-Distance} (
\begin{DoxyParamCaption}
\item[{{\bf \-Unit} $\ast$}]{target}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}\label{classBWAPI_1_1Unit_ab0e99345a86ebd314b13da0a0fe97553}
\-Returns the edge-\/to-\/edge distance between the current unit and the target unit. 

\-Implemented in \hyperlink{classBWAPI_1_1UnitImpl_a4c2ce7e365f2a474a7a5487997d35d7b}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}, and \hyperlink{classBWAPI_1_1UnitImpl_af88ff2c7aebbfb1f1e190dfd0dd5b58d}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}.



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


\hypertarget{classBWAPI_1_1Unit_a3ba8b97769ad9e7619d413726d6aa58c}{\index{\-B\-W\-A\-P\-I\-::\-Unit@{\-B\-W\-A\-P\-I\-::\-Unit}!get\-Distance@{get\-Distance}}
\index{get\-Distance@{get\-Distance}!BWAPI::Unit@{\-B\-W\-A\-P\-I\-::\-Unit}}
\subsubsection[{get\-Distance}]{\setlength{\rightskip}{0pt plus 5cm}virtual {\bf int} {\bf \-B\-W\-A\-P\-I\-::\-Unit\-::get\-Distance} (
\begin{DoxyParamCaption}
\item[{{\bf \-Position}}]{target}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}\label{classBWAPI_1_1Unit_a3ba8b97769ad9e7619d413726d6aa58c}
\-Returns the distance from the edge of the current unit to the target position. 

\-Implemented in \hyperlink{classBWAPI_1_1UnitImpl_ad2f738915dd4cd85f602ec05749e88a4}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}, and \hyperlink{classBWAPI_1_1UnitImpl_a0c2ef3e0fd8b7ad9a041868c2013b15a}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}.

\hypertarget{classBWAPI_1_1Unit_a580a57b6e328406fb3fea690b50cec68}{\index{\-B\-W\-A\-P\-I\-::\-Unit@{\-B\-W\-A\-P\-I\-::\-Unit}!get\-Energy@{get\-Energy}}
\index{get\-Energy@{get\-Energy}!BWAPI::Unit@{\-B\-W\-A\-P\-I\-::\-Unit}}
\subsubsection[{get\-Energy}]{\setlength{\rightskip}{0pt plus 5cm}virtual {\bf int} {\bf \-B\-W\-A\-P\-I\-::\-Unit\-::get\-Energy} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}\label{classBWAPI_1_1Unit_a580a57b6e328406fb3fea690b50cec68}
\-Returns the unit's current amount of energy. 

\-Implemented in \hyperlink{classBWAPI_1_1UnitImpl_a7df35c79014705862475dd05ce08176f}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}, and \hyperlink{classBWAPI_1_1UnitImpl_a1e785cec5a42ddc848cf501a4ec1fdc0}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}.



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


\hypertarget{classBWAPI_1_1Unit_a2de6af502a1ae1e7e65397282da708fb}{\index{\-B\-W\-A\-P\-I\-::\-Unit@{\-B\-W\-A\-P\-I\-::\-Unit}!get\-Ensnare\-Timer@{get\-Ensnare\-Timer}}
\index{get\-Ensnare\-Timer@{get\-Ensnare\-Timer}!BWAPI::Unit@{\-B\-W\-A\-P\-I\-::\-Unit}}
\subsubsection[{get\-Ensnare\-Timer}]{\setlength{\rightskip}{0pt plus 5cm}virtual {\bf int} {\bf \-B\-W\-A\-P\-I\-::\-Unit\-::get\-Ensnare\-Timer} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}\label{classBWAPI_1_1Unit_a2de6af502a1ae1e7e65397282da708fb}
\-Returns the time until the ensnare effect wears off. 0 -\/$>$ \-No ensnare effect present. 

\-Implemented in \hyperlink{classBWAPI_1_1UnitImpl_a2410890cba65a1c968270dbc9fcfbeb4}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}, and \hyperlink{classBWAPI_1_1UnitImpl_a70dfb286df9d76bde3199d8145884ff1}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}.



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


\hypertarget{classBWAPI_1_1Unit_a2854649fe52ef18b9f303145de6c1ac7}{\index{\-B\-W\-A\-P\-I\-::\-Unit@{\-B\-W\-A\-P\-I\-::\-Unit}!get\-Ground\-Weapon\-Cooldown@{get\-Ground\-Weapon\-Cooldown}}
\index{get\-Ground\-Weapon\-Cooldown@{get\-Ground\-Weapon\-Cooldown}!BWAPI::Unit@{\-B\-W\-A\-P\-I\-::\-Unit}}
\subsubsection[{get\-Ground\-Weapon\-Cooldown}]{\setlength{\rightskip}{0pt plus 5cm}virtual {\bf int} {\bf \-B\-W\-A\-P\-I\-::\-Unit\-::get\-Ground\-Weapon\-Cooldown} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}\label{classBWAPI_1_1Unit_a2854649fe52ef18b9f303145de6c1ac7}
\-Returns unit's ground weapon cooldown. \-It is 0 if the unit is ready to attack. 

\-Implemented in \hyperlink{classBWAPI_1_1UnitImpl_a70352d2a91cffea2551cadc8a5d54d54}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}, and \hyperlink{classBWAPI_1_1UnitImpl_a21d6c017b4284b05fe67c38035d4ba6c}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}.



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


\hypertarget{classBWAPI_1_1Unit_a42baa6c49ef8e687fefc9bf40eb6aaaf}{\index{\-B\-W\-A\-P\-I\-::\-Unit@{\-B\-W\-A\-P\-I\-::\-Unit}!get\-Hatchery@{get\-Hatchery}}
\index{get\-Hatchery@{get\-Hatchery}!BWAPI::Unit@{\-B\-W\-A\-P\-I\-::\-Unit}}
\subsubsection[{get\-Hatchery}]{\setlength{\rightskip}{0pt plus 5cm}virtual {\bf \-Unit}$\ast$ {\bf \-B\-W\-A\-P\-I\-::\-Unit\-::get\-Hatchery} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}\label{classBWAPI_1_1Unit_a42baa6c49ef8e687fefc9bf40eb6aaaf}
\-For \-Zerg \-Larva, this returns the \-Hatchery, \-Lair, or \-Hive unit this \-Larva was spawned from. \-For all other unit types this function returns \-N\-U\-L\-L. 

\-Implemented in \hyperlink{classBWAPI_1_1UnitImpl_abb910c4da9b0081ecaf548c35bfe3002}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}, and \hyperlink{classBWAPI_1_1UnitImpl_ae51f4d6a1b0d9ccdfe0601899b393f1c}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}.

\hypertarget{classBWAPI_1_1Unit_a5413db332f2fc743fdca1e68bf8e6546}{\index{\-B\-W\-A\-P\-I\-::\-Unit@{\-B\-W\-A\-P\-I\-::\-Unit}!get\-Hit\-Points@{get\-Hit\-Points}}
\index{get\-Hit\-Points@{get\-Hit\-Points}!BWAPI::Unit@{\-B\-W\-A\-P\-I\-::\-Unit}}
\subsubsection[{get\-Hit\-Points}]{\setlength{\rightskip}{0pt plus 5cm}virtual {\bf int} {\bf \-B\-W\-A\-P\-I\-::\-Unit\-::get\-Hit\-Points} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}\label{classBWAPI_1_1Unit_a5413db332f2fc743fdca1e68bf8e6546}
\-Returns the unit's current amount of hit points. 

\-Implemented in \hyperlink{classBWAPI_1_1UnitImpl_a880ce2753289626b4300b818380cf122}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}, and \hyperlink{classBWAPI_1_1UnitImpl_accd259d627dd988440bd13c820294ff3}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}.



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


\hypertarget{classBWAPI_1_1Unit_adffa706cce7eb05c50573642cc80a5e2}{\index{\-B\-W\-A\-P\-I\-::\-Unit@{\-B\-W\-A\-P\-I\-::\-Unit}!get\-I\-D@{get\-I\-D}}
\index{get\-I\-D@{get\-I\-D}!BWAPI::Unit@{\-B\-W\-A\-P\-I\-::\-Unit}}
\subsubsection[{get\-I\-D}]{\setlength{\rightskip}{0pt plus 5cm}virtual {\bf int} {\bf \-B\-W\-A\-P\-I\-::\-Unit\-::get\-I\-D} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}\label{classBWAPI_1_1Unit_adffa706cce7eb05c50573642cc80a5e2}
\-Returns a unique \-I\-D for this unit. \-It simply casts the unit's address as an integer, since each unit has a unique address. 

\-Implemented in \hyperlink{classBWAPI_1_1UnitImpl_af2db2f9ddadf8b68c42f43bfbd6d80a8}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}, and \hyperlink{classBWAPI_1_1UnitImpl_a67e644a9dbb4f3b978e6f2838a86bf2c}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}.



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


\hypertarget{classBWAPI_1_1Unit_a258670943dffb68571e81d37ba226980}{\index{\-B\-W\-A\-P\-I\-::\-Unit@{\-B\-W\-A\-P\-I\-::\-Unit}!get\-Initial\-Hit\-Points@{get\-Initial\-Hit\-Points}}
\index{get\-Initial\-Hit\-Points@{get\-Initial\-Hit\-Points}!BWAPI::Unit@{\-B\-W\-A\-P\-I\-::\-Unit}}
\subsubsection[{get\-Initial\-Hit\-Points}]{\setlength{\rightskip}{0pt plus 5cm}virtual {\bf int} {\bf \-B\-W\-A\-P\-I\-::\-Unit\-::get\-Initial\-Hit\-Points} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}\label{classBWAPI_1_1Unit_a258670943dffb68571e81d37ba226980}
\-Returns the unit's initial amount of hit points, or 0 if it wasn't a neutral unit at the beginning of the game. 

\-Implemented in \hyperlink{classBWAPI_1_1UnitImpl_a9c53cc4cb75e7225945ba63d95284634}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}, and \hyperlink{classBWAPI_1_1UnitImpl_aca4e3f0ea127b49d97e26513b655ef9e}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}.

\hypertarget{classBWAPI_1_1Unit_a72becf005a5cb3b98729d697c21b36eb}{\index{\-B\-W\-A\-P\-I\-::\-Unit@{\-B\-W\-A\-P\-I\-::\-Unit}!get\-Initial\-Position@{get\-Initial\-Position}}
\index{get\-Initial\-Position@{get\-Initial\-Position}!BWAPI::Unit@{\-B\-W\-A\-P\-I\-::\-Unit}}
\subsubsection[{get\-Initial\-Position}]{\setlength{\rightskip}{0pt plus 5cm}virtual {\bf \-Position} {\bf \-B\-W\-A\-P\-I\-::\-Unit\-::get\-Initial\-Position} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}\label{classBWAPI_1_1Unit_a72becf005a5cb3b98729d697c21b36eb}
\-Returns the initial position of the unit on the map, or \hyperlink{namespaceBWAPI_1_1Positions_ab00d3ce229246fd09e2a04c25b8b8822}{\-Positions\-::\-Unknown} if the unit wasn't a neutral unit at the beginning of the game. 

\-Implemented in \hyperlink{classBWAPI_1_1UnitImpl_a46beb0a1acb233d051f806660aa0f4dc}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}, and \hyperlink{classBWAPI_1_1UnitImpl_a47c571327ee4f73092d69d944141a7b3}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}.

\hypertarget{classBWAPI_1_1Unit_aac1b1728d592c15b80442196683eb0ab}{\index{\-B\-W\-A\-P\-I\-::\-Unit@{\-B\-W\-A\-P\-I\-::\-Unit}!get\-Initial\-Resources@{get\-Initial\-Resources}}
\index{get\-Initial\-Resources@{get\-Initial\-Resources}!BWAPI::Unit@{\-B\-W\-A\-P\-I\-::\-Unit}}
\subsubsection[{get\-Initial\-Resources}]{\setlength{\rightskip}{0pt plus 5cm}virtual {\bf int} {\bf \-B\-W\-A\-P\-I\-::\-Unit\-::get\-Initial\-Resources} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}\label{classBWAPI_1_1Unit_aac1b1728d592c15b80442196683eb0ab}
\-Returns the unit's initial amount of containing resources, or 0 if the unit wasn't a neutral unit at the beginning of the game. 

\-Implemented in \hyperlink{classBWAPI_1_1UnitImpl_acaa2da354feed2aa95bdb636d2585fe3}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}, and \hyperlink{classBWAPI_1_1UnitImpl_a9467a24179e0521bb7d549d6c5dd70fe}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}.

\hypertarget{classBWAPI_1_1Unit_a00692c8624ce7b91508a51a9a2f65bd2}{\index{\-B\-W\-A\-P\-I\-::\-Unit@{\-B\-W\-A\-P\-I\-::\-Unit}!get\-Initial\-Tile\-Position@{get\-Initial\-Tile\-Position}}
\index{get\-Initial\-Tile\-Position@{get\-Initial\-Tile\-Position}!BWAPI::Unit@{\-B\-W\-A\-P\-I\-::\-Unit}}
\subsubsection[{get\-Initial\-Tile\-Position}]{\setlength{\rightskip}{0pt plus 5cm}virtual {\bf \-Tile\-Position} {\bf \-B\-W\-A\-P\-I\-::\-Unit\-::get\-Initial\-Tile\-Position} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}\label{classBWAPI_1_1Unit_a00692c8624ce7b91508a51a9a2f65bd2}
\-Returns the initial build tile position of the unit on the map, or \hyperlink{namespaceBWAPI_1_1TilePositions_abb37ef711da0b9e6b6cc643cff89f9a2}{\-Tile\-Positions\-::\-Unknown} if the unit wasn't a neutral unit at the beginning of the game. \-The tile position is of the top left corner of the building. 

\-Implemented in \hyperlink{classBWAPI_1_1UnitImpl_af4b7078a8eb2287ad2d0d4509cf19739}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}, and \hyperlink{classBWAPI_1_1UnitImpl_ac227778458b099a1621623516310b03e}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}.

\hypertarget{classBWAPI_1_1Unit_a71b3baed8c04b17d7192d2c9d4dfb84f}{\index{\-B\-W\-A\-P\-I\-::\-Unit@{\-B\-W\-A\-P\-I\-::\-Unit}!get\-Initial\-Type@{get\-Initial\-Type}}
\index{get\-Initial\-Type@{get\-Initial\-Type}!BWAPI::Unit@{\-B\-W\-A\-P\-I\-::\-Unit}}
\subsubsection[{get\-Initial\-Type}]{\setlength{\rightskip}{0pt plus 5cm}virtual {\bf \-Unit\-Type} {\bf \-B\-W\-A\-P\-I\-::\-Unit\-::get\-Initial\-Type} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}\label{classBWAPI_1_1Unit_a71b3baed8c04b17d7192d2c9d4dfb84f}
\-Returns the initial type of the unit or \-Unknown if it wasn't a neutral unit at the beginning of the game. 

\-Implemented in \hyperlink{classBWAPI_1_1UnitImpl_a57c669aa1cae6abee07b056cb18df5b2}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}, and \hyperlink{classBWAPI_1_1UnitImpl_aa2a443fe793fe0830d8188ade19923d8}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}.

\hypertarget{classBWAPI_1_1Unit_ae22ae37bc5535e6dfa318621052e7124}{\index{\-B\-W\-A\-P\-I\-::\-Unit@{\-B\-W\-A\-P\-I\-::\-Unit}!get\-Interceptor\-Count@{get\-Interceptor\-Count}}
\index{get\-Interceptor\-Count@{get\-Interceptor\-Count}!BWAPI::Unit@{\-B\-W\-A\-P\-I\-::\-Unit}}
\subsubsection[{get\-Interceptor\-Count}]{\setlength{\rightskip}{0pt plus 5cm}virtual {\bf int} {\bf \-B\-W\-A\-P\-I\-::\-Unit\-::get\-Interceptor\-Count} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}\label{classBWAPI_1_1Unit_ae22ae37bc5535e6dfa318621052e7124}
\-Returns the number of interceptors the \-Protoss \-Carrier has. 

\-Implemented in \hyperlink{classBWAPI_1_1UnitImpl_ab1ce1edcb2c86d5e6a9f6309703bd91e}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}, and \hyperlink{classBWAPI_1_1UnitImpl_a13a00507eacb70528a476c6314e4b361}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}.



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


\hypertarget{classBWAPI_1_1Unit_a821a01e58bc8ecd46fdb3dfdfd81a0fe}{\index{\-B\-W\-A\-P\-I\-::\-Unit@{\-B\-W\-A\-P\-I\-::\-Unit}!get\-Interceptors@{get\-Interceptors}}
\index{get\-Interceptors@{get\-Interceptors}!BWAPI::Unit@{\-B\-W\-A\-P\-I\-::\-Unit}}
\subsubsection[{get\-Interceptors}]{\setlength{\rightskip}{0pt plus 5cm}virtual std\-::set$<${\bf \-Unit}$\ast$$>$ {\bf \-B\-W\-A\-P\-I\-::\-Unit\-::get\-Interceptors} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}\label{classBWAPI_1_1Unit_a821a01e58bc8ecd46fdb3dfdfd81a0fe}
\-Returns the set of interceptors controlled by this unit. \-If the unit has no interceptors, or is not a \-Carrier, this function returns an empty set. 

\-Implemented in \hyperlink{classBWAPI_1_1UnitImpl_a6c0641dd4209f1b64c178a74612d7884}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}, and \hyperlink{classBWAPI_1_1UnitImpl_ac37af9b5e7fbe685bd5845e0ee4c9bce}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}.



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


\hypertarget{classBWAPI_1_1Unit_a36f9aade1317691c35abc40d33cdf4bf}{\index{\-B\-W\-A\-P\-I\-::\-Unit@{\-B\-W\-A\-P\-I\-::\-Unit}!get\-Irradiate\-Timer@{get\-Irradiate\-Timer}}
\index{get\-Irradiate\-Timer@{get\-Irradiate\-Timer}!BWAPI::Unit@{\-B\-W\-A\-P\-I\-::\-Unit}}
\subsubsection[{get\-Irradiate\-Timer}]{\setlength{\rightskip}{0pt plus 5cm}virtual {\bf int} {\bf \-B\-W\-A\-P\-I\-::\-Unit\-::get\-Irradiate\-Timer} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}\label{classBWAPI_1_1Unit_a36f9aade1317691c35abc40d33cdf4bf}
\-Returns the time until the radiation wears off. 0 -\/$>$ \-No radiation present. 

\-Implemented in \hyperlink{classBWAPI_1_1UnitImpl_aab19f8e71230cbc4e2f7e69d3d72d105}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}, and \hyperlink{classBWAPI_1_1UnitImpl_abccec8f96374167fa5a7e3f875ccdc93}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}.



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


\hypertarget{classBWAPI_1_1Unit_a6aa00eab8d9fbce8badb393b5a8257d1}{\index{\-B\-W\-A\-P\-I\-::\-Unit@{\-B\-W\-A\-P\-I\-::\-Unit}!get\-Kill\-Count@{get\-Kill\-Count}}
\index{get\-Kill\-Count@{get\-Kill\-Count}!BWAPI::Unit@{\-B\-W\-A\-P\-I\-::\-Unit}}
\subsubsection[{get\-Kill\-Count}]{\setlength{\rightskip}{0pt plus 5cm}virtual {\bf int} {\bf \-B\-W\-A\-P\-I\-::\-Unit\-::get\-Kill\-Count} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}\label{classBWAPI_1_1Unit_a6aa00eab8d9fbce8badb393b5a8257d1}
\-Returns the unit's current kill count. 

\-Implemented in \hyperlink{classBWAPI_1_1UnitImpl_aec28b27f0061c40132d31e391717171e}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}, and \hyperlink{classBWAPI_1_1UnitImpl_a764d4da630d1ae889bbb16341e37f652}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}.

\hypertarget{classBWAPI_1_1Unit_a7c78da21f076c91d3a55467a14d684c4}{\index{\-B\-W\-A\-P\-I\-::\-Unit@{\-B\-W\-A\-P\-I\-::\-Unit}!get\-Larva@{get\-Larva}}
\index{get\-Larva@{get\-Larva}!BWAPI::Unit@{\-B\-W\-A\-P\-I\-::\-Unit}}
\subsubsection[{get\-Larva}]{\setlength{\rightskip}{0pt plus 5cm}virtual std\-::set$<${\bf \-Unit}$\ast$$>$ {\bf \-B\-W\-A\-P\-I\-::\-Unit\-::get\-Larva} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}\label{classBWAPI_1_1Unit_a7c78da21f076c91d3a55467a14d684c4}
\-Returns the set of larva spawned by this unit. \-If the unit has no larva, or is not a \-Hatchery, \-Lair, or \-Hive, this function returns an empty set. \-Equivalent to clicking \char`\"{}\-Select Larva\char`\"{} from the \-Starcraft \-G\-U\-I. 

\-Implemented in \hyperlink{classBWAPI_1_1UnitImpl_a0839fa48855dea19be0c9be45b2c2ed7}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}, and \hyperlink{classBWAPI_1_1UnitImpl_a28f6746c075fed54ff914d517456bfd3}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}.



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


\hypertarget{classBWAPI_1_1Unit_a9ddb7a68c6beed29d774b2effc8088dd}{\index{\-B\-W\-A\-P\-I\-::\-Unit@{\-B\-W\-A\-P\-I\-::\-Unit}!get\-Last\-Attacking\-Player@{get\-Last\-Attacking\-Player}}
\index{get\-Last\-Attacking\-Player@{get\-Last\-Attacking\-Player}!BWAPI::Unit@{\-B\-W\-A\-P\-I\-::\-Unit}}
\subsubsection[{get\-Last\-Attacking\-Player}]{\setlength{\rightskip}{0pt plus 5cm}virtual {\bf \-B\-W\-A\-P\-I\-::\-Player}$\ast$ {\bf \-B\-W\-A\-P\-I\-::\-Unit\-::get\-Last\-Attacking\-Player} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}\label{classBWAPI_1_1Unit_a9ddb7a68c6beed29d774b2effc8088dd}
\-Returns the player that last attacked this unit. 

\-Implemented in \hyperlink{classBWAPI_1_1UnitImpl_afc60f53c04225edb606c34ebfa2045f3}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}, and \hyperlink{classBWAPI_1_1UnitImpl_a3b905c2c354a9706746bfafada5121a0}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}.

\hypertarget{classBWAPI_1_1Unit_a9dbba44b367fa3ee74d9bb35fb66facd}{\index{\-B\-W\-A\-P\-I\-::\-Unit@{\-B\-W\-A\-P\-I\-::\-Unit}!get\-Last\-Command@{get\-Last\-Command}}
\index{get\-Last\-Command@{get\-Last\-Command}!BWAPI::Unit@{\-B\-W\-A\-P\-I\-::\-Unit}}
\subsubsection[{get\-Last\-Command}]{\setlength{\rightskip}{0pt plus 5cm}virtual {\bf \-Unit\-Command} {\bf \-B\-W\-A\-P\-I\-::\-Unit\-::get\-Last\-Command} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}\label{classBWAPI_1_1Unit_a9dbba44b367fa3ee74d9bb35fb66facd}
\-Returns the last successful command. 

\-Implemented in \hyperlink{classBWAPI_1_1UnitImpl_a77463c07e8ed618bdda23c8571ede5ca}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}, and \hyperlink{classBWAPI_1_1UnitImpl_a2dc3f85ce790832653fee1dd8ef7dee3}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}.



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


\hypertarget{classBWAPI_1_1Unit_aeb64064c396d38ee141410dfb7901041}{\index{\-B\-W\-A\-P\-I\-::\-Unit@{\-B\-W\-A\-P\-I\-::\-Unit}!get\-Last\-Command\-Frame@{get\-Last\-Command\-Frame}}
\index{get\-Last\-Command\-Frame@{get\-Last\-Command\-Frame}!BWAPI::Unit@{\-B\-W\-A\-P\-I\-::\-Unit}}
\subsubsection[{get\-Last\-Command\-Frame}]{\setlength{\rightskip}{0pt plus 5cm}virtual {\bf int} {\bf \-B\-W\-A\-P\-I\-::\-Unit\-::get\-Last\-Command\-Frame} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}\label{classBWAPI_1_1Unit_aeb64064c396d38ee141410dfb7901041}
\-Returns the frame of the last successful command. \-Frame is comparable to \hyperlink{classBWAPI_1_1Game_ab70a89b2a06866d8dee8875c9691f636}{\-Game\-::get\-Frame\-Count()}. 

\-Implemented in \hyperlink{classBWAPI_1_1UnitImpl_a46c4953c80a7c5fd9d35fa38cb80dd2a}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}, and \hyperlink{classBWAPI_1_1UnitImpl_adac237a15b81088409d71e6590fd161c}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}.



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


\hypertarget{classBWAPI_1_1Unit_a36ca3a4c4a2c64357a55a5b00de068af}{\index{\-B\-W\-A\-P\-I\-::\-Unit@{\-B\-W\-A\-P\-I\-::\-Unit}!get\-Left@{get\-Left}}
\index{get\-Left@{get\-Left}!BWAPI::Unit@{\-B\-W\-A\-P\-I\-::\-Unit}}
\subsubsection[{get\-Left}]{\setlength{\rightskip}{0pt plus 5cm}virtual {\bf int} {\bf \-B\-W\-A\-P\-I\-::\-Unit\-::get\-Left} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}\label{classBWAPI_1_1Unit_a36ca3a4c4a2c64357a55a5b00de068af}
\-Returns the \-X coordinate of the left side of the unit. 

\-Implemented in \hyperlink{classBWAPI_1_1UnitImpl_a4ef44cb2c811f4c55c6227bc05f165fb}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}, and \hyperlink{classBWAPI_1_1UnitImpl_a95b18bac9d2a84568178de8d7e20fc8d}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}.



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


\hypertarget{classBWAPI_1_1Unit_a466e67482801bc8c6c2faac092e5f4cd}{\index{\-B\-W\-A\-P\-I\-::\-Unit@{\-B\-W\-A\-P\-I\-::\-Unit}!get\-Loaded\-Units@{get\-Loaded\-Units}}
\index{get\-Loaded\-Units@{get\-Loaded\-Units}!BWAPI::Unit@{\-B\-W\-A\-P\-I\-::\-Unit}}
\subsubsection[{get\-Loaded\-Units}]{\setlength{\rightskip}{0pt plus 5cm}virtual std\-::set$<${\bf \-Unit}$\ast$$>$ {\bf \-B\-W\-A\-P\-I\-::\-Unit\-::get\-Loaded\-Units} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}\label{classBWAPI_1_1Unit_a466e67482801bc8c6c2faac092e5f4cd}
\-Returns a list of the units loaded into a \-Terran \-Bunker, \-Terran \-Dropship, \-Protoss \-Shuttle, or \-Zerg \-Overlord. 

\-Implemented in \hyperlink{classBWAPI_1_1UnitImpl_ae0a644c652cc9262f73af0257d1a40b7}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}, and \hyperlink{classBWAPI_1_1UnitImpl_aca683f2e69cd2f00deb6d9fc97531ac2}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}.



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


\hypertarget{classBWAPI_1_1Unit_ae43eabef9e08e695b884c2384ddaee2a}{\index{\-B\-W\-A\-P\-I\-::\-Unit@{\-B\-W\-A\-P\-I\-::\-Unit}!get\-Lockdown\-Timer@{get\-Lockdown\-Timer}}
\index{get\-Lockdown\-Timer@{get\-Lockdown\-Timer}!BWAPI::Unit@{\-B\-W\-A\-P\-I\-::\-Unit}}
\subsubsection[{get\-Lockdown\-Timer}]{\setlength{\rightskip}{0pt plus 5cm}virtual {\bf int} {\bf \-B\-W\-A\-P\-I\-::\-Unit\-::get\-Lockdown\-Timer} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}\label{classBWAPI_1_1Unit_ae43eabef9e08e695b884c2384ddaee2a}
\-Returns the time until the lockdown wears off. 0 -\/$>$ \-No lockdown present. 

\-Implemented in \hyperlink{classBWAPI_1_1UnitImpl_acd3ce85fee49af317eb90589953efed6}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}, and \hyperlink{classBWAPI_1_1UnitImpl_a3190e1977fde31f3f633066887971ff5}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}.



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


\hypertarget{classBWAPI_1_1Unit_ad72f29f6e5f813d911337ea73b81a799}{\index{\-B\-W\-A\-P\-I\-::\-Unit@{\-B\-W\-A\-P\-I\-::\-Unit}!get\-Maelstrom\-Timer@{get\-Maelstrom\-Timer}}
\index{get\-Maelstrom\-Timer@{get\-Maelstrom\-Timer}!BWAPI::Unit@{\-B\-W\-A\-P\-I\-::\-Unit}}
\subsubsection[{get\-Maelstrom\-Timer}]{\setlength{\rightskip}{0pt plus 5cm}virtual {\bf int} {\bf \-B\-W\-A\-P\-I\-::\-Unit\-::get\-Maelstrom\-Timer} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}\label{classBWAPI_1_1Unit_ad72f29f6e5f813d911337ea73b81a799}
\-Returns the time until the maelstrom wears off. 0 -\/$>$ \-No maelstrom present. 

\-Implemented in \hyperlink{classBWAPI_1_1UnitImpl_a222a4822d332648c4082683ed0b49ef8}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}, and \hyperlink{classBWAPI_1_1UnitImpl_acf993f5296ea7e90f1947f47750a30e5}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}.



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


\hypertarget{classBWAPI_1_1Unit_a7d799b2cd6e7a44b43aa47d82b1829de}{\index{\-B\-W\-A\-P\-I\-::\-Unit@{\-B\-W\-A\-P\-I\-::\-Unit}!get\-Nydus\-Exit@{get\-Nydus\-Exit}}
\index{get\-Nydus\-Exit@{get\-Nydus\-Exit}!BWAPI::Unit@{\-B\-W\-A\-P\-I\-::\-Unit}}
\subsubsection[{get\-Nydus\-Exit}]{\setlength{\rightskip}{0pt plus 5cm}virtual {\bf \-Unit}$\ast$ {\bf \-B\-W\-A\-P\-I\-::\-Unit\-::get\-Nydus\-Exit} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}\label{classBWAPI_1_1Unit_a7d799b2cd6e7a44b43aa47d82b1829de}
\-Returns the corresponding connected nydus canal of this unit, or \-N\-U\-L\-L if the unit does not have a connected nydus canal. 

\-Implemented in \hyperlink{classBWAPI_1_1UnitImpl_a77d34f3ed1f21c3dd433eddd48634a98}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}, and \hyperlink{classBWAPI_1_1UnitImpl_ab24f328258e66c72d930a8775627849e}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}.

\hypertarget{classBWAPI_1_1Unit_a31b5096167e31ee85af6c6686956b8c1}{\index{\-B\-W\-A\-P\-I\-::\-Unit@{\-B\-W\-A\-P\-I\-::\-Unit}!get\-Order@{get\-Order}}
\index{get\-Order@{get\-Order}!BWAPI::Unit@{\-B\-W\-A\-P\-I\-::\-Unit}}
\subsubsection[{get\-Order}]{\setlength{\rightskip}{0pt plus 5cm}virtual {\bf \-Order} {\bf \-B\-W\-A\-P\-I\-::\-Unit\-::get\-Order} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}\label{classBWAPI_1_1Unit_a31b5096167e31ee85af6c6686956b8c1}


\-Implemented in \hyperlink{classBWAPI_1_1UnitImpl_a708788a4ad31ba5d62e877937289c95b}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}, and \hyperlink{classBWAPI_1_1UnitImpl_ae621d4cfdc0347e3d36c007d19d14616}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}.



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


\hypertarget{classBWAPI_1_1Unit_ab1748b09ea9c92fde53d459eb58276cd}{\index{\-B\-W\-A\-P\-I\-::\-Unit@{\-B\-W\-A\-P\-I\-::\-Unit}!get\-Order\-Target@{get\-Order\-Target}}
\index{get\-Order\-Target@{get\-Order\-Target}!BWAPI::Unit@{\-B\-W\-A\-P\-I\-::\-Unit}}
\subsubsection[{get\-Order\-Target}]{\setlength{\rightskip}{0pt plus 5cm}virtual {\bf \-Unit}$\ast$ {\bf \-B\-W\-A\-P\-I\-::\-Unit\-::get\-Order\-Target} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}\label{classBWAPI_1_1Unit_ab1748b09ea9c92fde53d459eb58276cd}
\-This is usually set when the low level unit \-A\-I acquires a new target automatically. \-For example if an enemy probe comes in range of your marine, the marine will start attacking it, and get\-Order\-Target will be set in this case, but not get\-Target. 

\-Implemented in \hyperlink{classBWAPI_1_1UnitImpl_a7af2f06608d0edd040e0db2b3ba02d80}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}, and \hyperlink{classBWAPI_1_1UnitImpl_a098d658c1d60c960cc8570a206605863}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}.



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


\hypertarget{classBWAPI_1_1Unit_a4bc269c8428775b0cd8f6e4ecc29f817}{\index{\-B\-W\-A\-P\-I\-::\-Unit@{\-B\-W\-A\-P\-I\-::\-Unit}!get\-Order\-Target\-Position@{get\-Order\-Target\-Position}}
\index{get\-Order\-Target\-Position@{get\-Order\-Target\-Position}!BWAPI::Unit@{\-B\-W\-A\-P\-I\-::\-Unit}}
\subsubsection[{get\-Order\-Target\-Position}]{\setlength{\rightskip}{0pt plus 5cm}virtual {\bf \-Position} {\bf \-B\-W\-A\-P\-I\-::\-Unit\-::get\-Order\-Target\-Position} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}\label{classBWAPI_1_1Unit_a4bc269c8428775b0cd8f6e4ecc29f817}
\-Returns the target position for the units order. \-For example for the move order get\-Target\-Position returns the end of the units path but this returns the location the unit is trying to move to. 

\-Implemented in \hyperlink{classBWAPI_1_1UnitImpl_a0cb7204ae399d0ba250e9bc678d38350}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}, and \hyperlink{classBWAPI_1_1UnitImpl_a410e4d4c1c508633d496d8d77bf39897}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}.



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


\hypertarget{classBWAPI_1_1Unit_a43ccc223fac9367695b91577455db446}{\index{\-B\-W\-A\-P\-I\-::\-Unit@{\-B\-W\-A\-P\-I\-::\-Unit}!get\-Order\-Timer@{get\-Order\-Timer}}
\index{get\-Order\-Timer@{get\-Order\-Timer}!BWAPI::Unit@{\-B\-W\-A\-P\-I\-::\-Unit}}
\subsubsection[{get\-Order\-Timer}]{\setlength{\rightskip}{0pt plus 5cm}virtual {\bf int} {\bf \-B\-W\-A\-P\-I\-::\-Unit\-::get\-Order\-Timer} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}\label{classBWAPI_1_1Unit_a43ccc223fac9367695b91577455db446}


\-Implemented in \hyperlink{classBWAPI_1_1UnitImpl_ab0a628b711a2d494cacd75d860ea3e0b}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}, and \hyperlink{classBWAPI_1_1UnitImpl_a663503d51f144dcee401b4067c92d762}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}.

\hypertarget{classBWAPI_1_1Unit_a4703abc761d72f1d1fa92268f600a765}{\index{\-B\-W\-A\-P\-I\-::\-Unit@{\-B\-W\-A\-P\-I\-::\-Unit}!get\-Plague\-Timer@{get\-Plague\-Timer}}
\index{get\-Plague\-Timer@{get\-Plague\-Timer}!BWAPI::Unit@{\-B\-W\-A\-P\-I\-::\-Unit}}
\subsubsection[{get\-Plague\-Timer}]{\setlength{\rightskip}{0pt plus 5cm}virtual {\bf int} {\bf \-B\-W\-A\-P\-I\-::\-Unit\-::get\-Plague\-Timer} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}\label{classBWAPI_1_1Unit_a4703abc761d72f1d1fa92268f600a765}
\-Returns the time until the plague wears off. 0 -\/$>$ \-No plague present. 

\-Implemented in \hyperlink{classBWAPI_1_1UnitImpl_a8636858d1a6e79062f25850c2ad786ff}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}, and \hyperlink{classBWAPI_1_1UnitImpl_aa3022d058cb70379785b9cbb5bfb99c0}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}.



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


\hypertarget{classBWAPI_1_1Unit_a8b1d6759c55aa2c96ad69b481a5793f4}{\index{\-B\-W\-A\-P\-I\-::\-Unit@{\-B\-W\-A\-P\-I\-::\-Unit}!get\-Player@{get\-Player}}
\index{get\-Player@{get\-Player}!BWAPI::Unit@{\-B\-W\-A\-P\-I\-::\-Unit}}
\subsubsection[{get\-Player}]{\setlength{\rightskip}{0pt plus 5cm}virtual {\bf \-Player}$\ast$ {\bf \-B\-W\-A\-P\-I\-::\-Unit\-::get\-Player} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}\label{classBWAPI_1_1Unit_a8b1d6759c55aa2c96ad69b481a5793f4}
\-Returns a pointer to the player that owns this unit. 

\-Implemented in \hyperlink{classBWAPI_1_1UnitImpl_ac2c03781e13df5a52e0fcfcca23ed35b}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}, and \hyperlink{classBWAPI_1_1UnitImpl_a41b36994620bb7b4c9359bdb10d5c39b}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}.



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


\hypertarget{classBWAPI_1_1Unit_a22fb4f0b326eaf616801bd74903eae2d}{\index{\-B\-W\-A\-P\-I\-::\-Unit@{\-B\-W\-A\-P\-I\-::\-Unit}!get\-Position@{get\-Position}}
\index{get\-Position@{get\-Position}!BWAPI::Unit@{\-B\-W\-A\-P\-I\-::\-Unit}}
\subsubsection[{get\-Position}]{\setlength{\rightskip}{0pt plus 5cm}virtual {\bf \-Position} {\bf \-B\-W\-A\-P\-I\-::\-Unit\-::get\-Position} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}\label{classBWAPI_1_1Unit_a22fb4f0b326eaf616801bd74903eae2d}
\-Returns the position of the unit on the map. 

\-Implemented in \hyperlink{classBWAPI_1_1UnitImpl_a1862c55621d3c07c5ca6f0795522bf76}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}, and \hyperlink{classBWAPI_1_1UnitImpl_a594cfeee6c3cbcd83c835b56cf309c8e}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}.



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


\hypertarget{classBWAPI_1_1Unit_a690da81bc27427b52b915c7e604448bd}{\index{\-B\-W\-A\-P\-I\-::\-Unit@{\-B\-W\-A\-P\-I\-::\-Unit}!get\-Power\-Up@{get\-Power\-Up}}
\index{get\-Power\-Up@{get\-Power\-Up}!BWAPI::Unit@{\-B\-W\-A\-P\-I\-::\-Unit}}
\subsubsection[{get\-Power\-Up}]{\setlength{\rightskip}{0pt plus 5cm}virtual {\bf \-Unit}$\ast$ {\bf \-B\-W\-A\-P\-I\-::\-Unit\-::get\-Power\-Up} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}\label{classBWAPI_1_1Unit_a690da81bc27427b52b915c7e604448bd}
\-Returns the power up the unit is holding, or \-N\-U\-L\-L if the unit is not holding a power up 

\-Implemented in \hyperlink{classBWAPI_1_1UnitImpl_a16374e5d80fc6999da5a9a9ea0c1d13a}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}, and \hyperlink{classBWAPI_1_1UnitImpl_a228c6688ef41875a7de103084d82d144}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}.



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


\hypertarget{classBWAPI_1_1Unit_a20841c377bd9741c191db0fc98ad4f98}{\index{\-B\-W\-A\-P\-I\-::\-Unit@{\-B\-W\-A\-P\-I\-::\-Unit}!get\-Rally\-Position@{get\-Rally\-Position}}
\index{get\-Rally\-Position@{get\-Rally\-Position}!BWAPI::Unit@{\-B\-W\-A\-P\-I\-::\-Unit}}
\subsubsection[{get\-Rally\-Position}]{\setlength{\rightskip}{0pt plus 5cm}virtual {\bf \-Position} {\bf \-B\-W\-A\-P\-I\-::\-Unit\-::get\-Rally\-Position} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}\label{classBWAPI_1_1Unit_a20841c377bd9741c191db0fc98ad4f98}
\-Returns the position the building is rallied to. \-If the building does not produce units, \hyperlink{namespaceBWAPI_1_1Positions_a016c9a9feff47ad16f3e8fe30fe36773}{\-Positions\-::\-None} is returned. \begin{DoxySeeAlso}{\-See also}
\hyperlink{classBWAPI_1_1Unit_a8c1c5ce8aa91c3804794b6fc057df6df}{\-Unit\-::set\-Rally\-Point}, \hyperlink{classBWAPI_1_1Unit_a68f089b52185206ee3e949ea19d1c274}{\-Unit\-::get\-Rally\-Unit}. 
\end{DoxySeeAlso}


\-Implemented in \hyperlink{classBWAPI_1_1UnitImpl_a305ffeb3d8dec252c0778244bf6db0ce}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}, and \hyperlink{classBWAPI_1_1UnitImpl_a911f6566da0f7bf696857741b0f57fad}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}.



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


\hypertarget{classBWAPI_1_1Unit_a68f089b52185206ee3e949ea19d1c274}{\index{\-B\-W\-A\-P\-I\-::\-Unit@{\-B\-W\-A\-P\-I\-::\-Unit}!get\-Rally\-Unit@{get\-Rally\-Unit}}
\index{get\-Rally\-Unit@{get\-Rally\-Unit}!BWAPI::Unit@{\-B\-W\-A\-P\-I\-::\-Unit}}
\subsubsection[{get\-Rally\-Unit}]{\setlength{\rightskip}{0pt plus 5cm}virtual {\bf \-Unit}$\ast$ {\bf \-B\-W\-A\-P\-I\-::\-Unit\-::get\-Rally\-Unit} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}\label{classBWAPI_1_1Unit_a68f089b52185206ee3e949ea19d1c274}
\-Returns the unit the building is rallied to. \-If the building is not rallied to any unit, \-N\-U\-L\-L is returned. \begin{DoxySeeAlso}{\-See also}
\hyperlink{classBWAPI_1_1Unit_a8c1c5ce8aa91c3804794b6fc057df6df}{\-Unit\-::set\-Rally\-Point}, \hyperlink{classBWAPI_1_1Unit_a20841c377bd9741c191db0fc98ad4f98}{\-Unit\-::get\-Rally\-Position}. 
\end{DoxySeeAlso}


\-Implemented in \hyperlink{classBWAPI_1_1UnitImpl_a57ef39d16810b27e2b77abd86f73b988}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}, and \hyperlink{classBWAPI_1_1UnitImpl_a7bff1618d663bf56906d021b69a2a302}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}.



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


\hypertarget{classBWAPI_1_1Unit_a1de4e9cef55c905765807da5c1b3ba3c}{\index{\-B\-W\-A\-P\-I\-::\-Unit@{\-B\-W\-A\-P\-I\-::\-Unit}!get\-Region@{get\-Region}}
\index{get\-Region@{get\-Region}!BWAPI::Unit@{\-B\-W\-A\-P\-I\-::\-Unit}}
\subsubsection[{get\-Region}]{\setlength{\rightskip}{0pt plus 5cm}virtual {\bf \-B\-W\-A\-P\-I\-::\-Region}$\ast$ {\bf \-B\-W\-A\-P\-I\-::\-Unit\-::get\-Region} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}\label{classBWAPI_1_1Unit_a1de4e9cef55c905765807da5c1b3ba3c}
\-Returns the region that this unit is currently in. 

\-Implemented in \hyperlink{classBWAPI_1_1UnitImpl_ad1fcce8776b438a14079a7685f795130}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}, and \hyperlink{classBWAPI_1_1UnitImpl_a14da07506d8d1b5efe4b91c7ece87c32}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}.



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


\hypertarget{classBWAPI_1_1Unit_afbf6ffcf859aece1f02d7539eecb1a31}{\index{\-B\-W\-A\-P\-I\-::\-Unit@{\-B\-W\-A\-P\-I\-::\-Unit}!get\-Remaining\-Build\-Time@{get\-Remaining\-Build\-Time}}
\index{get\-Remaining\-Build\-Time@{get\-Remaining\-Build\-Time}!BWAPI::Unit@{\-B\-W\-A\-P\-I\-::\-Unit}}
\subsubsection[{get\-Remaining\-Build\-Time}]{\setlength{\rightskip}{0pt plus 5cm}virtual {\bf int} {\bf \-B\-W\-A\-P\-I\-::\-Unit\-::get\-Remaining\-Build\-Time} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}\label{classBWAPI_1_1Unit_afbf6ffcf859aece1f02d7539eecb1a31}
\-Returns the remaining build time of a unit/building that is being constructed. 

\-Implemented in \hyperlink{classBWAPI_1_1UnitImpl_af618f60f0883658c5c775f10f3eacca2}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}, and \hyperlink{classBWAPI_1_1UnitImpl_ad3604dc3ab06b0f4b504bcfdaeac4283}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}.



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


\hypertarget{classBWAPI_1_1Unit_ae04e5e00f01f08fbaaf970369f01a2cb}{\index{\-B\-W\-A\-P\-I\-::\-Unit@{\-B\-W\-A\-P\-I\-::\-Unit}!get\-Remaining\-Research\-Time@{get\-Remaining\-Research\-Time}}
\index{get\-Remaining\-Research\-Time@{get\-Remaining\-Research\-Time}!BWAPI::Unit@{\-B\-W\-A\-P\-I\-::\-Unit}}
\subsubsection[{get\-Remaining\-Research\-Time}]{\setlength{\rightskip}{0pt plus 5cm}virtual {\bf int} {\bf \-B\-W\-A\-P\-I\-::\-Unit\-::get\-Remaining\-Research\-Time} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}\label{classBWAPI_1_1Unit_ae04e5e00f01f08fbaaf970369f01a2cb}
\-Returns the amount of time until the unit is done researching its current tech. \-If the unit is not researching anything, 0 is returned. \begin{DoxySeeAlso}{\-See also}
\hyperlink{classBWAPI_1_1Unit_a6d7ad38052b28cb8f359168d64a862b5}{\-Unit\-::research}, \hyperlink{classBWAPI_1_1Unit_a4048993d8f18ccd359838a50d570086b}{\-Unit\-::cancel\-Research}, \hyperlink{classBWAPI_1_1Unit_adb6b194a351402b958dd9df9d3ca5109}{\-Unit\-::is\-Researching}, \hyperlink{classBWAPI_1_1Unit_a11331855e5119240177a08b1382563e6}{\-Unit\-::get\-Tech}. 
\end{DoxySeeAlso}


\-Implemented in \hyperlink{classBWAPI_1_1UnitImpl_aef0438b714d1e9b550fff3fe197ab7f3}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}, and \hyperlink{classBWAPI_1_1UnitImpl_a781e398752984954294c8d9652dd01fd}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}.



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


\hypertarget{classBWAPI_1_1Unit_affd47d2908b669c3fd3972ec06f08164}{\index{\-B\-W\-A\-P\-I\-::\-Unit@{\-B\-W\-A\-P\-I\-::\-Unit}!get\-Remaining\-Train\-Time@{get\-Remaining\-Train\-Time}}
\index{get\-Remaining\-Train\-Time@{get\-Remaining\-Train\-Time}!BWAPI::Unit@{\-B\-W\-A\-P\-I\-::\-Unit}}
\subsubsection[{get\-Remaining\-Train\-Time}]{\setlength{\rightskip}{0pt plus 5cm}virtual {\bf int} {\bf \-B\-W\-A\-P\-I\-::\-Unit\-::get\-Remaining\-Train\-Time} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}\label{classBWAPI_1_1Unit_affd47d2908b669c3fd3972ec06f08164}
\-Returns the remaining time of the unit that is currently being trained. \-If the unit is a \-Hatchery, \-Lair, or \-Hive, this returns the amount of time until the next larva spawns, or 0 if the unit already has 3 larva. 

\-Implemented in \hyperlink{classBWAPI_1_1UnitImpl_aeb9b0fe31b94818ec778f7cc152b7f70}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}, and \hyperlink{classBWAPI_1_1UnitImpl_abbd571fff76bba10ec817b10b9b890b9}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}.



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


\hypertarget{classBWAPI_1_1Unit_a0173d7266e891fb61e66386b9696f696}{\index{\-B\-W\-A\-P\-I\-::\-Unit@{\-B\-W\-A\-P\-I\-::\-Unit}!get\-Remaining\-Upgrade\-Time@{get\-Remaining\-Upgrade\-Time}}
\index{get\-Remaining\-Upgrade\-Time@{get\-Remaining\-Upgrade\-Time}!BWAPI::Unit@{\-B\-W\-A\-P\-I\-::\-Unit}}
\subsubsection[{get\-Remaining\-Upgrade\-Time}]{\setlength{\rightskip}{0pt plus 5cm}virtual {\bf int} {\bf \-B\-W\-A\-P\-I\-::\-Unit\-::get\-Remaining\-Upgrade\-Time} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}\label{classBWAPI_1_1Unit_a0173d7266e891fb61e66386b9696f696}
\-Returns the amount of time until the unit is done upgrading its current upgrade. \-If the unit is not upgrading anything, 0 is returned. \begin{DoxySeeAlso}{\-See also}
\hyperlink{classBWAPI_1_1Unit_a9423c81efd5c269b955a723b664bddd9}{\-Unit\-::upgrade}, \hyperlink{classBWAPI_1_1Unit_a5350bd798bc2c0702d567ef07042d182}{\-Unit\-::cancel\-Upgrade}, \hyperlink{classBWAPI_1_1Unit_ac0535f3af62cfdb352c982371421d48b}{\-Unit\-::is\-Upgrading}, \hyperlink{classBWAPI_1_1Unit_a628a6901e954b6a2708f9d1d16acedf4}{\-Unit\-::get\-Upgrade}. 
\end{DoxySeeAlso}


\-Implemented in \hyperlink{classBWAPI_1_1UnitImpl_a1283adb5312a8de29a081d46f2c322e8}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}, and \hyperlink{classBWAPI_1_1UnitImpl_af3d0697349e5eba8799f9be6eadbb70f}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}.



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


\hypertarget{classBWAPI_1_1Unit_aef7e604358685fd73960d3aecb5ec5a3}{\index{\-B\-W\-A\-P\-I\-::\-Unit@{\-B\-W\-A\-P\-I\-::\-Unit}!get\-Remove\-Timer@{get\-Remove\-Timer}}
\index{get\-Remove\-Timer@{get\-Remove\-Timer}!BWAPI::Unit@{\-B\-W\-A\-P\-I\-::\-Unit}}
\subsubsection[{get\-Remove\-Timer}]{\setlength{\rightskip}{0pt plus 5cm}virtual {\bf int} {\bf \-B\-W\-A\-P\-I\-::\-Unit\-::get\-Remove\-Timer} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}\label{classBWAPI_1_1Unit_aef7e604358685fd73960d3aecb5ec5a3}
\-Returns the amount of time until the unit is removed, or 0 if the unit does not have a remove timer. \-Used to determine how much time remains before hallucinated units, dark swarm, etc have until they are removed. 

\-Implemented in \hyperlink{classBWAPI_1_1UnitImpl_a37867e1015f7bdfcf84ddc17511f597e}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}, and \hyperlink{classBWAPI_1_1UnitImpl_a81eaeb657ed602447b5cb6fba83dd408}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}.

\hypertarget{classBWAPI_1_1Unit_ad5330e2f7dc5356555eb12992f599f7c}{\index{\-B\-W\-A\-P\-I\-::\-Unit@{\-B\-W\-A\-P\-I\-::\-Unit}!get\-Replay\-I\-D@{get\-Replay\-I\-D}}
\index{get\-Replay\-I\-D@{get\-Replay\-I\-D}!BWAPI::Unit@{\-B\-W\-A\-P\-I\-::\-Unit}}
\subsubsection[{get\-Replay\-I\-D}]{\setlength{\rightskip}{0pt plus 5cm}virtual {\bf int} {\bf \-B\-W\-A\-P\-I\-::\-Unit\-::get\-Replay\-I\-D} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}\label{classBWAPI_1_1Unit_ad5330e2f7dc5356555eb12992f599f7c}
\-Returns the unit \-I\-D that is used in a replay ($\ast$.rep) file's action recordings. 

\-Implemented in \hyperlink{classBWAPI_1_1UnitImpl_a2e5662ac38bdaed766c642bfe01ddbbf}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}, and \hyperlink{classBWAPI_1_1UnitImpl_a7d6805f6c4c88130bd5dda02e8db4537}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}.

\hypertarget{classBWAPI_1_1Unit_ac579b5d13bf29062accea74cfc324d28}{\index{\-B\-W\-A\-P\-I\-::\-Unit@{\-B\-W\-A\-P\-I\-::\-Unit}!get\-Resource\-Group@{get\-Resource\-Group}}
\index{get\-Resource\-Group@{get\-Resource\-Group}!BWAPI::Unit@{\-B\-W\-A\-P\-I\-::\-Unit}}
\subsubsection[{get\-Resource\-Group}]{\setlength{\rightskip}{0pt plus 5cm}virtual {\bf int} {\bf \-B\-W\-A\-P\-I\-::\-Unit\-::get\-Resource\-Group} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}\label{classBWAPI_1_1Unit_ac579b5d13bf29062accea74cfc324d28}
\-Retrieves the group \-I\-D of a resource. \-Can be used to identify which resources belong to an expansion. 

\-Implemented in \hyperlink{classBWAPI_1_1UnitImpl_ac0c94832d86090727be0fe749c3f59a5}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}, and \hyperlink{classBWAPI_1_1UnitImpl_abd701a88c60a30bf7c08c72daeb69794}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}.

\hypertarget{classBWAPI_1_1Unit_a3b12c07b5b2e27c2f26f7cecbcdef2e9}{\index{\-B\-W\-A\-P\-I\-::\-Unit@{\-B\-W\-A\-P\-I\-::\-Unit}!get\-Resources@{get\-Resources}}
\index{get\-Resources@{get\-Resources}!BWAPI::Unit@{\-B\-W\-A\-P\-I\-::\-Unit}}
\subsubsection[{get\-Resources}]{\setlength{\rightskip}{0pt plus 5cm}virtual {\bf int} {\bf \-B\-W\-A\-P\-I\-::\-Unit\-::get\-Resources} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}\label{classBWAPI_1_1Unit_a3b12c07b5b2e27c2f26f7cecbcdef2e9}
\-Returns the unit's current amount of containing resources. \-Useful for determining how much minerals are left in a mineral patch, or how much gas is left in a geyser (can also be called on a refinery/assimilator/extractor). 

\-Implemented in \hyperlink{classBWAPI_1_1UnitImpl_a567afe282b94ecd1df148e51c92d7767}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}, and \hyperlink{classBWAPI_1_1UnitImpl_af79ac08c1c62db23faace55e0580bc16}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}.

\hypertarget{classBWAPI_1_1Unit_a004bffadb257ca179a836d018b80def9}{\index{\-B\-W\-A\-P\-I\-::\-Unit@{\-B\-W\-A\-P\-I\-::\-Unit}!get\-Right@{get\-Right}}
\index{get\-Right@{get\-Right}!BWAPI::Unit@{\-B\-W\-A\-P\-I\-::\-Unit}}
\subsubsection[{get\-Right}]{\setlength{\rightskip}{0pt plus 5cm}virtual {\bf int} {\bf \-B\-W\-A\-P\-I\-::\-Unit\-::get\-Right} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}\label{classBWAPI_1_1Unit_a004bffadb257ca179a836d018b80def9}
\-Returns the \-X coordinate of the right side of the unit. 

\-Implemented in \hyperlink{classBWAPI_1_1UnitImpl_a67b47f8253c07cfbba65d9091fcdb8dd}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}, and \hyperlink{classBWAPI_1_1UnitImpl_afc506ea210fa963dbfa62f618c9c5a7c}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}.

\hypertarget{classBWAPI_1_1Unit_a9764beeb5c4bbbf9157c0fdd30cdfd9e}{\index{\-B\-W\-A\-P\-I\-::\-Unit@{\-B\-W\-A\-P\-I\-::\-Unit}!get\-Scarab\-Count@{get\-Scarab\-Count}}
\index{get\-Scarab\-Count@{get\-Scarab\-Count}!BWAPI::Unit@{\-B\-W\-A\-P\-I\-::\-Unit}}
\subsubsection[{get\-Scarab\-Count}]{\setlength{\rightskip}{0pt plus 5cm}virtual {\bf int} {\bf \-B\-W\-A\-P\-I\-::\-Unit\-::get\-Scarab\-Count} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}\label{classBWAPI_1_1Unit_a9764beeb5c4bbbf9157c0fdd30cdfd9e}
\-Returns the number of scarabs in the \-Protoss \-Reaver. 

\-Implemented in \hyperlink{classBWAPI_1_1UnitImpl_afa86123479b2e0058cbaadfe181b6066}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}, and \hyperlink{classBWAPI_1_1UnitImpl_af52f56eab67e98e88c463eabab31788f}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}.



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


\hypertarget{classBWAPI_1_1Unit_ae13b78b1852c94398547bf43659d4df4}{\index{\-B\-W\-A\-P\-I\-::\-Unit@{\-B\-W\-A\-P\-I\-::\-Unit}!get\-Secondary\-Order@{get\-Secondary\-Order}}
\index{get\-Secondary\-Order@{get\-Secondary\-Order}!BWAPI::Unit@{\-B\-W\-A\-P\-I\-::\-Unit}}
\subsubsection[{get\-Secondary\-Order}]{\setlength{\rightskip}{0pt plus 5cm}virtual {\bf \-Order} {\bf \-B\-W\-A\-P\-I\-::\-Unit\-::get\-Secondary\-Order} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}\label{classBWAPI_1_1Unit_ae13b78b1852c94398547bf43659d4df4}


\-Implemented in \hyperlink{classBWAPI_1_1UnitImpl_a08a5efdfebebff6cee83aadf0c231173}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}, and \hyperlink{classBWAPI_1_1UnitImpl_a5bbe8a5ea0156d48457c2e288bf2dc7a}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}.



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


\hypertarget{classBWAPI_1_1Unit_ad4f0d36c28951710bb8134290d78bdb1}{\index{\-B\-W\-A\-P\-I\-::\-Unit@{\-B\-W\-A\-P\-I\-::\-Unit}!get\-Shields@{get\-Shields}}
\index{get\-Shields@{get\-Shields}!BWAPI::Unit@{\-B\-W\-A\-P\-I\-::\-Unit}}
\subsubsection[{get\-Shields}]{\setlength{\rightskip}{0pt plus 5cm}virtual {\bf int} {\bf \-B\-W\-A\-P\-I\-::\-Unit\-::get\-Shields} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}\label{classBWAPI_1_1Unit_ad4f0d36c28951710bb8134290d78bdb1}
\-Returns the unit's current amount of shields. 

\-Implemented in \hyperlink{classBWAPI_1_1UnitImpl_a23e9ba8e3e4e935a5b81f7cf181882ea}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}, and \hyperlink{classBWAPI_1_1UnitImpl_af7f45f7d08e2bb2966790aca24b4e573}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}.



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


\hypertarget{classBWAPI_1_1Unit_ad3cbedbad797cc0e75e985d1c5faa460}{\index{\-B\-W\-A\-P\-I\-::\-Unit@{\-B\-W\-A\-P\-I\-::\-Unit}!get\-Spell\-Cooldown@{get\-Spell\-Cooldown}}
\index{get\-Spell\-Cooldown@{get\-Spell\-Cooldown}!BWAPI::Unit@{\-B\-W\-A\-P\-I\-::\-Unit}}
\subsubsection[{get\-Spell\-Cooldown}]{\setlength{\rightskip}{0pt plus 5cm}virtual {\bf int} {\bf \-B\-W\-A\-P\-I\-::\-Unit\-::get\-Spell\-Cooldown} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}\label{classBWAPI_1_1Unit_ad3cbedbad797cc0e75e985d1c5faa460}
\-Returns unit's ground weapon cooldown. \-It is 0 if the unit is ready cast a spell. 

\-Implemented in \hyperlink{classBWAPI_1_1UnitImpl_a44f94a153b9f2165128b61b78dec836e}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}, and \hyperlink{classBWAPI_1_1UnitImpl_ab6ddf4a35c16d1ba0656aff4dfa3705b}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}.

\hypertarget{classBWAPI_1_1Unit_a75c61cb95640f3a6021c05609172b036}{\index{\-B\-W\-A\-P\-I\-::\-Unit@{\-B\-W\-A\-P\-I\-::\-Unit}!get\-Spider\-Mine\-Count@{get\-Spider\-Mine\-Count}}
\index{get\-Spider\-Mine\-Count@{get\-Spider\-Mine\-Count}!BWAPI::Unit@{\-B\-W\-A\-P\-I\-::\-Unit}}
\subsubsection[{get\-Spider\-Mine\-Count}]{\setlength{\rightskip}{0pt plus 5cm}virtual {\bf int} {\bf \-B\-W\-A\-P\-I\-::\-Unit\-::get\-Spider\-Mine\-Count} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}\label{classBWAPI_1_1Unit_a75c61cb95640f3a6021c05609172b036}
\-Returns the number of spider mines in the \-Terran \-Vulture. 

\-Implemented in \hyperlink{classBWAPI_1_1UnitImpl_ac531aacd37b6ea9de6088161e9679ee9}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}, and \hyperlink{classBWAPI_1_1UnitImpl_a801401eca1f0d18d693a5083c185ac04}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}.



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


\hypertarget{classBWAPI_1_1Unit_a231eae31282146aa023f51c5048627a6}{\index{\-B\-W\-A\-P\-I\-::\-Unit@{\-B\-W\-A\-P\-I\-::\-Unit}!get\-Stasis\-Timer@{get\-Stasis\-Timer}}
\index{get\-Stasis\-Timer@{get\-Stasis\-Timer}!BWAPI::Unit@{\-B\-W\-A\-P\-I\-::\-Unit}}
\subsubsection[{get\-Stasis\-Timer}]{\setlength{\rightskip}{0pt plus 5cm}virtual {\bf int} {\bf \-B\-W\-A\-P\-I\-::\-Unit\-::get\-Stasis\-Timer} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}\label{classBWAPI_1_1Unit_a231eae31282146aa023f51c5048627a6}
\-Returns the time until the stasis field wears off. 0 -\/$>$ \-No stasis field present. 

\-Implemented in \hyperlink{classBWAPI_1_1UnitImpl_abaa2664483be32269584f8bd613703be}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}, and \hyperlink{classBWAPI_1_1UnitImpl_a3467b6b6f878f76360a2ec1597ea07e3}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}.



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


\hypertarget{classBWAPI_1_1Unit_a4a72d2f6cd7b37a38bb2f5ba2d6b08ad}{\index{\-B\-W\-A\-P\-I\-::\-Unit@{\-B\-W\-A\-P\-I\-::\-Unit}!get\-Stim\-Timer@{get\-Stim\-Timer}}
\index{get\-Stim\-Timer@{get\-Stim\-Timer}!BWAPI::Unit@{\-B\-W\-A\-P\-I\-::\-Unit}}
\subsubsection[{get\-Stim\-Timer}]{\setlength{\rightskip}{0pt plus 5cm}virtual {\bf int} {\bf \-B\-W\-A\-P\-I\-::\-Unit\-::get\-Stim\-Timer} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}\label{classBWAPI_1_1Unit_a4a72d2f6cd7b37a38bb2f5ba2d6b08ad}
\-Returns the time until the stimpack wears off. 0 -\/$>$ \-No stimpack boost present. 

\-Implemented in \hyperlink{classBWAPI_1_1UnitImpl_aefbca9fa8ff0d2c88c0432a37a98c720}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}, and \hyperlink{classBWAPI_1_1UnitImpl_a4e86e3a23fb58918bc8b59c2cf5f5487}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}.



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


\hypertarget{classBWAPI_1_1Unit_ab78468beae4a20dba9f0a4ff3d7277e9}{\index{\-B\-W\-A\-P\-I\-::\-Unit@{\-B\-W\-A\-P\-I\-::\-Unit}!get\-Target@{get\-Target}}
\index{get\-Target@{get\-Target}!BWAPI::Unit@{\-B\-W\-A\-P\-I\-::\-Unit}}
\subsubsection[{get\-Target}]{\setlength{\rightskip}{0pt plus 5cm}virtual {\bf \-Unit}$\ast$ {\bf \-B\-W\-A\-P\-I\-::\-Unit\-::get\-Target} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}\label{classBWAPI_1_1Unit_ab78468beae4a20dba9f0a4ff3d7277e9}
\-Generally returns the appropriate target unit after issuing an order that accepts a target unit (i.\-e. attack, repair, gather, follow, etc.). \-To check for a target that has been acquired automatically (without issuing an order) see get\-Order\-Target. 

\-Implemented in \hyperlink{classBWAPI_1_1UnitImpl_a1e29ddeedb0f3282170cb6e7964faa6e}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}, and \hyperlink{classBWAPI_1_1UnitImpl_ace73f77baf5bdf813b295c9f5b4e2ff1}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}.



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


\hypertarget{classBWAPI_1_1Unit_a19efc735ffc2238b26c90eca33788010}{\index{\-B\-W\-A\-P\-I\-::\-Unit@{\-B\-W\-A\-P\-I\-::\-Unit}!get\-Target\-Position@{get\-Target\-Position}}
\index{get\-Target\-Position@{get\-Target\-Position}!BWAPI::Unit@{\-B\-W\-A\-P\-I\-::\-Unit}}
\subsubsection[{get\-Target\-Position}]{\setlength{\rightskip}{0pt plus 5cm}virtual {\bf \-Position} {\bf \-B\-W\-A\-P\-I\-::\-Unit\-::get\-Target\-Position} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}\label{classBWAPI_1_1Unit_a19efc735ffc2238b26c90eca33788010}
\-Returns the target position the unit is moving to (provided a valid path to the target position exists). 

\-Implemented in \hyperlink{classBWAPI_1_1UnitImpl_ac42af54d8e40ff00c87e43fce0acec5e}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}, and \hyperlink{classBWAPI_1_1UnitImpl_a61a295529320fe3a025d837fa54b5406}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}.



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


\hypertarget{classBWAPI_1_1Unit_a11331855e5119240177a08b1382563e6}{\index{\-B\-W\-A\-P\-I\-::\-Unit@{\-B\-W\-A\-P\-I\-::\-Unit}!get\-Tech@{get\-Tech}}
\index{get\-Tech@{get\-Tech}!BWAPI::Unit@{\-B\-W\-A\-P\-I\-::\-Unit}}
\subsubsection[{get\-Tech}]{\setlength{\rightskip}{0pt plus 5cm}virtual {\bf \-Tech\-Type} {\bf \-B\-W\-A\-P\-I\-::\-Unit\-::get\-Tech} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}\label{classBWAPI_1_1Unit_a11331855e5119240177a08b1382563e6}
\-Returns the tech that the unit is currently researching. \-If the unit is not researching anything, \hyperlink{namespaceBWAPI_1_1TechTypes_a07c2e99b46051148169e3cc099102666}{\-Tech\-Types\-::\-None} is returned. \begin{DoxySeeAlso}{\-See also}
\hyperlink{classBWAPI_1_1Unit_a6d7ad38052b28cb8f359168d64a862b5}{\-Unit\-::research}, \hyperlink{classBWAPI_1_1Unit_a4048993d8f18ccd359838a50d570086b}{\-Unit\-::cancel\-Research}, \hyperlink{classBWAPI_1_1Unit_adb6b194a351402b958dd9df9d3ca5109}{\-Unit\-::is\-Researching}, \hyperlink{classBWAPI_1_1Unit_ae04e5e00f01f08fbaaf970369f01a2cb}{\-Unit\-::get\-Remaining\-Research\-Time}. 
\end{DoxySeeAlso}


\-Implemented in \hyperlink{classBWAPI_1_1UnitImpl_ae0b4ca033904b4e2f36fc5d381781739}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}, and \hyperlink{classBWAPI_1_1UnitImpl_a04852614cd18062e367eb13859616726}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}.



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


\hypertarget{classBWAPI_1_1Unit_a1893de005e5d3df771baf7cd157fbe2f}{\index{\-B\-W\-A\-P\-I\-::\-Unit@{\-B\-W\-A\-P\-I\-::\-Unit}!get\-Tile\-Position@{get\-Tile\-Position}}
\index{get\-Tile\-Position@{get\-Tile\-Position}!BWAPI::Unit@{\-B\-W\-A\-P\-I\-::\-Unit}}
\subsubsection[{get\-Tile\-Position}]{\setlength{\rightskip}{0pt plus 5cm}virtual {\bf \-Tile\-Position} {\bf \-B\-W\-A\-P\-I\-::\-Unit\-::get\-Tile\-Position} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}\label{classBWAPI_1_1Unit_a1893de005e5d3df771baf7cd157fbe2f}
\-Returns the build tile position of the unit on the map. \-Useful if the unit is a building. \-The tile position is of the top left corner of the building. 

\-Implemented in \hyperlink{classBWAPI_1_1UnitImpl_a1a22e8600f87c01d6712cc899f2499e0}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}, and \hyperlink{classBWAPI_1_1UnitImpl_aeb438979699e71e5a2297942a8eb9710}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}.



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


\hypertarget{classBWAPI_1_1Unit_ad6f0ced644a1a2bf72c08c59549a83a4}{\index{\-B\-W\-A\-P\-I\-::\-Unit@{\-B\-W\-A\-P\-I\-::\-Unit}!get\-Top@{get\-Top}}
\index{get\-Top@{get\-Top}!BWAPI::Unit@{\-B\-W\-A\-P\-I\-::\-Unit}}
\subsubsection[{get\-Top}]{\setlength{\rightskip}{0pt plus 5cm}virtual {\bf int} {\bf \-B\-W\-A\-P\-I\-::\-Unit\-::get\-Top} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}\label{classBWAPI_1_1Unit_ad6f0ced644a1a2bf72c08c59549a83a4}
\-Returns the \-Y coordinate of the top side of the unit. 

\-Implemented in \hyperlink{classBWAPI_1_1UnitImpl_a961f47365bf5eabbe3ebc4da969c5710}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}, and \hyperlink{classBWAPI_1_1UnitImpl_ac5a982e28e70cfb1be7536eb1836386a}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}.



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


\hypertarget{classBWAPI_1_1Unit_af81ad84273036f2c093df418ae3f5224}{\index{\-B\-W\-A\-P\-I\-::\-Unit@{\-B\-W\-A\-P\-I\-::\-Unit}!get\-Training\-Queue@{get\-Training\-Queue}}
\index{get\-Training\-Queue@{get\-Training\-Queue}!BWAPI::Unit@{\-B\-W\-A\-P\-I\-::\-Unit}}
\subsubsection[{get\-Training\-Queue}]{\setlength{\rightskip}{0pt plus 5cm}virtual std\-::list$<${\bf \-Unit\-Type} $>$ {\bf \-B\-W\-A\-P\-I\-::\-Unit\-::get\-Training\-Queue} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}\label{classBWAPI_1_1Unit_af81ad84273036f2c093df418ae3f5224}
\-Returns the list of units queued up to be trained. \begin{DoxySeeAlso}{\-See also}
\hyperlink{classBWAPI_1_1Unit_a188a1a1b49ad5bc44531d63e93ce9825}{\-Unit\-::train}, \hyperlink{classBWAPI_1_1Unit_a87b8ca4640117d02d4c86d3512fe6e09}{\-Unit\-::cancel\-Train}, \hyperlink{classBWAPI_1_1Unit_a18683985e87770b2695a0662ef340ab1}{\-Unit\-::is\-Training}. 
\end{DoxySeeAlso}


\-Implemented in \hyperlink{classBWAPI_1_1UnitImpl_a3d2bb2715aea5de98a6e8d20af4eddbb}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}, and \hyperlink{classBWAPI_1_1UnitImpl_a8901e9072b77d658a5c6fce76ab987cd}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}.



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


\hypertarget{classBWAPI_1_1Unit_a3a336f06d42d2b9d8285795810714ea9}{\index{\-B\-W\-A\-P\-I\-::\-Unit@{\-B\-W\-A\-P\-I\-::\-Unit}!get\-Transport@{get\-Transport}}
\index{get\-Transport@{get\-Transport}!BWAPI::Unit@{\-B\-W\-A\-P\-I\-::\-Unit}}
\subsubsection[{get\-Transport}]{\setlength{\rightskip}{0pt plus 5cm}virtual {\bf \-Unit}$\ast$ {\bf \-B\-W\-A\-P\-I\-::\-Unit\-::get\-Transport} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}\label{classBWAPI_1_1Unit_a3a336f06d42d2b9d8285795810714ea9}
\-Returns the dropship, shuttle, overlord, or bunker that is this unit is loaded in to. 

\-Implemented in \hyperlink{classBWAPI_1_1UnitImpl_aad386af163aebda401b5d7a6587d10df}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}, and \hyperlink{classBWAPI_1_1UnitImpl_a0643a4ec6948f31a1d36dbe05dbdde29}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}.



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


\hypertarget{classBWAPI_1_1Unit_a29a8e8fae93eac8615e82911f11445d9}{\index{\-B\-W\-A\-P\-I\-::\-Unit@{\-B\-W\-A\-P\-I\-::\-Unit}!get\-Type@{get\-Type}}
\index{get\-Type@{get\-Type}!BWAPI::Unit@{\-B\-W\-A\-P\-I\-::\-Unit}}
\subsubsection[{get\-Type}]{\setlength{\rightskip}{0pt plus 5cm}virtual {\bf \-Unit\-Type} {\bf \-B\-W\-A\-P\-I\-::\-Unit\-::get\-Type} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}\label{classBWAPI_1_1Unit_a29a8e8fae93eac8615e82911f11445d9}
\-Returns the current type of the unit. 

\-Implemented in \hyperlink{classBWAPI_1_1UnitImpl_a6d82cf897e399f05ecb2c31fea68437d}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}, and \hyperlink{classBWAPI_1_1UnitImpl_a8ec8a25ed7a0b103bacbc1ea89490cea}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}.

\hypertarget{classBWAPI_1_1Unit_a9db22055c652e60243ad900a74331cbf}{\index{\-B\-W\-A\-P\-I\-::\-Unit@{\-B\-W\-A\-P\-I\-::\-Unit}!get\-Units\-In\-Radius@{get\-Units\-In\-Radius}}
\index{get\-Units\-In\-Radius@{get\-Units\-In\-Radius}!BWAPI::Unit@{\-B\-W\-A\-P\-I\-::\-Unit}}
\subsubsection[{get\-Units\-In\-Radius}]{\setlength{\rightskip}{0pt plus 5cm}virtual std\-::set$<${\bf \-Unit}$\ast$$>$\& {\bf \-B\-W\-A\-P\-I\-::\-Unit\-::get\-Units\-In\-Radius} (
\begin{DoxyParamCaption}
\item[{{\bf int}}]{radius}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}\label{classBWAPI_1_1Unit_a9db22055c652e60243ad900a74331cbf}
\-Returns the set of units within the given radius of this unit 

\-Implemented in \hyperlink{classBWAPI_1_1UnitImpl_a40c052818fc546204f6013057a999e61}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}, and \hyperlink{classBWAPI_1_1UnitImpl_aa2c3f141debd6ba848c56c782ddc7fc5}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}.



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


\hypertarget{classBWAPI_1_1Unit_ac0dd082dbc58cf54caa71a6ab729c5a8}{\index{\-B\-W\-A\-P\-I\-::\-Unit@{\-B\-W\-A\-P\-I\-::\-Unit}!get\-Units\-In\-Weapon\-Range@{get\-Units\-In\-Weapon\-Range}}
\index{get\-Units\-In\-Weapon\-Range@{get\-Units\-In\-Weapon\-Range}!BWAPI::Unit@{\-B\-W\-A\-P\-I\-::\-Unit}}
\subsubsection[{get\-Units\-In\-Weapon\-Range}]{\setlength{\rightskip}{0pt plus 5cm}virtual std\-::set$<${\bf \-Unit}$\ast$$>$\& {\bf \-B\-W\-A\-P\-I\-::\-Unit\-::get\-Units\-In\-Weapon\-Range} (
\begin{DoxyParamCaption}
\item[{{\bf \-Weapon\-Type}}]{weapon}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}\label{classBWAPI_1_1Unit_ac0dd082dbc58cf54caa71a6ab729c5a8}
\-Returns the set of units within weapon range of this unit. 

\-Implemented in \hyperlink{classBWAPI_1_1UnitImpl_a808398dc1d2e1286906d0396c414bfa8}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}, and \hyperlink{classBWAPI_1_1UnitImpl_aba6566c611c27b330d38eead98d69ff6}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}.

\hypertarget{classBWAPI_1_1Unit_a628a6901e954b6a2708f9d1d16acedf4}{\index{\-B\-W\-A\-P\-I\-::\-Unit@{\-B\-W\-A\-P\-I\-::\-Unit}!get\-Upgrade@{get\-Upgrade}}
\index{get\-Upgrade@{get\-Upgrade}!BWAPI::Unit@{\-B\-W\-A\-P\-I\-::\-Unit}}
\subsubsection[{get\-Upgrade}]{\setlength{\rightskip}{0pt plus 5cm}virtual {\bf \-Upgrade\-Type} {\bf \-B\-W\-A\-P\-I\-::\-Unit\-::get\-Upgrade} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}\label{classBWAPI_1_1Unit_a628a6901e954b6a2708f9d1d16acedf4}
\-Returns the upgrade that the unit is currently upgrading. \-If the unit is not upgrading anything, \hyperlink{namespaceBWAPI_1_1UpgradeTypes_a11227443d985029d7e60fc4352513b38}{\-Upgrade\-Types\-::\-None} is returned. \begin{DoxySeeAlso}{\-See also}
\hyperlink{classBWAPI_1_1Unit_a9423c81efd5c269b955a723b664bddd9}{\-Unit\-::upgrade}, \hyperlink{classBWAPI_1_1Unit_a5350bd798bc2c0702d567ef07042d182}{\-Unit\-::cancel\-Upgrade}, \hyperlink{classBWAPI_1_1Unit_ac0535f3af62cfdb352c982371421d48b}{\-Unit\-::is\-Upgrading}, \hyperlink{classBWAPI_1_1Unit_a0173d7266e891fb61e66386b9696f696}{\-Unit\-::get\-Remaining\-Upgrade\-Time}. 
\end{DoxySeeAlso}


\-Implemented in \hyperlink{classBWAPI_1_1UnitImpl_a79490aca460dba29303dec3eb23d8821}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}, and \hyperlink{classBWAPI_1_1UnitImpl_a29ccfa3388f9387d7486028d8846a8c4}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}.



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


\hypertarget{classBWAPI_1_1Unit_a2dd67c165b43427fb60d5fd4e9852981}{\index{\-B\-W\-A\-P\-I\-::\-Unit@{\-B\-W\-A\-P\-I\-::\-Unit}!get\-Upgrade\-Level@{get\-Upgrade\-Level}}
\index{get\-Upgrade\-Level@{get\-Upgrade\-Level}!BWAPI::Unit@{\-B\-W\-A\-P\-I\-::\-Unit}}
\subsubsection[{get\-Upgrade\-Level}]{\setlength{\rightskip}{0pt plus 5cm}virtual {\bf int} {\bf \-B\-W\-A\-P\-I\-::\-Unit\-::get\-Upgrade\-Level} (
\begin{DoxyParamCaption}
\item[{{\bf \-Upgrade\-Type}}]{upgrade}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}\label{classBWAPI_1_1Unit_a2dd67c165b43427fb60d5fd4e9852981}
\-Returns the player's current upgrade level for the given upgrade, if the unit is affected by this upgrade. 

\-Implemented in \hyperlink{classBWAPI_1_1UnitImpl_a155ca8191868fda41a6668662cfca4a2}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}, and \hyperlink{classBWAPI_1_1UnitImpl_a366fe8712ee0d1baa29098b7137cbc03}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}.

\hypertarget{classBWAPI_1_1Unit_a2948fe7c712bbcb376665a13726b80a6}{\index{\-B\-W\-A\-P\-I\-::\-Unit@{\-B\-W\-A\-P\-I\-::\-Unit}!get\-Velocity\-X@{get\-Velocity\-X}}
\index{get\-Velocity\-X@{get\-Velocity\-X}!BWAPI::Unit@{\-B\-W\-A\-P\-I\-::\-Unit}}
\subsubsection[{get\-Velocity\-X}]{\setlength{\rightskip}{0pt plus 5cm}virtual double {\bf \-B\-W\-A\-P\-I\-::\-Unit\-::get\-Velocity\-X} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}\label{classBWAPI_1_1Unit_a2948fe7c712bbcb376665a13726b80a6}
\-Returns the x component of the unit's velocity, measured in pixels per frame. 

\-Implemented in \hyperlink{classBWAPI_1_1UnitImpl_aa3783fd0afb504607d8de188bcb39da0}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}, and \hyperlink{classBWAPI_1_1UnitImpl_ae4a368a2a99dc697806d7f53d5736959}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}.

\hypertarget{classBWAPI_1_1Unit_ab1a13771d1122b6cd81a41a9575d9cde}{\index{\-B\-W\-A\-P\-I\-::\-Unit@{\-B\-W\-A\-P\-I\-::\-Unit}!get\-Velocity\-Y@{get\-Velocity\-Y}}
\index{get\-Velocity\-Y@{get\-Velocity\-Y}!BWAPI::Unit@{\-B\-W\-A\-P\-I\-::\-Unit}}
\subsubsection[{get\-Velocity\-Y}]{\setlength{\rightskip}{0pt plus 5cm}virtual double {\bf \-B\-W\-A\-P\-I\-::\-Unit\-::get\-Velocity\-Y} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}\label{classBWAPI_1_1Unit_ab1a13771d1122b6cd81a41a9575d9cde}
\-Returns the y component of the unit's velocity, measured in pixels per frame. 

\-Implemented in \hyperlink{classBWAPI_1_1UnitImpl_a2ed4e8359bafaa990f09e422932b0025}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}, and \hyperlink{classBWAPI_1_1UnitImpl_a34151521ce01d808962131bd001013de}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}.

\hypertarget{classBWAPI_1_1Unit_a20d564b9f828e6fb0ec04494bdc383e4}{\index{\-B\-W\-A\-P\-I\-::\-Unit@{\-B\-W\-A\-P\-I\-::\-Unit}!halt\-Construction@{halt\-Construction}}
\index{halt\-Construction@{halt\-Construction}!BWAPI::Unit@{\-B\-W\-A\-P\-I\-::\-Unit}}
\subsubsection[{halt\-Construction}]{\setlength{\rightskip}{0pt plus 5cm}virtual bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-::halt\-Construction} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}\label{classBWAPI_1_1Unit_a20d564b9f828e6fb0ec04494bdc383e4}
\hyperlink{namespaceBWAPI_1_1Orders}{\-Orders} the \-S\-C\-V to stop constructing the building, and the building is left in a partially complete state until it is canceled, destroyed, or completed. \begin{DoxySeeAlso}{\-See also}
\hyperlink{classBWAPI_1_1Unit_ac5be71081aa7eb1a2c7fbbc39220ba13}{\-Unit\-::is\-Constructing}. 
\end{DoxySeeAlso}


\-Implemented in \hyperlink{classBWAPI_1_1UnitImpl_a8b47bbf1b5eb2299121f9937e1c8ea18}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}, and \hyperlink{classBWAPI_1_1UnitImpl_ad02f6b737d42e49be30b0b85217f26e4}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}.



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


\hypertarget{classBWAPI_1_1Unit_aeb5c9d5e0e77ede32ade74fa23a95990}{\index{\-B\-W\-A\-P\-I\-::\-Unit@{\-B\-W\-A\-P\-I\-::\-Unit}!has\-Nuke@{has\-Nuke}}
\index{has\-Nuke@{has\-Nuke}!BWAPI::Unit@{\-B\-W\-A\-P\-I\-::\-Unit}}
\subsubsection[{has\-Nuke}]{\setlength{\rightskip}{0pt plus 5cm}virtual bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-::has\-Nuke} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}\label{classBWAPI_1_1Unit_aeb5c9d5e0e77ede32ade74fa23a95990}


\-Implemented in \hyperlink{classBWAPI_1_1UnitImpl_af1e2a69aa9e11a3d93167cf7eeaacd2a}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}, and \hyperlink{classBWAPI_1_1UnitImpl_a8f33169759f5166d70c148ab2702e9c0}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}.



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


\hypertarget{classBWAPI_1_1Unit_a0db92748938a9d802520fbab06da4339}{\index{\-B\-W\-A\-P\-I\-::\-Unit@{\-B\-W\-A\-P\-I\-::\-Unit}!has\-Path@{has\-Path}}
\index{has\-Path@{has\-Path}!BWAPI::Unit@{\-B\-W\-A\-P\-I\-::\-Unit}}
\subsubsection[{has\-Path}]{\setlength{\rightskip}{0pt plus 5cm}virtual bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-::has\-Path} (
\begin{DoxyParamCaption}
\item[{{\bf \-Unit} $\ast$}]{target}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}\label{classBWAPI_1_1Unit_a0db92748938a9d802520fbab06da4339}
\-Returns true if the unit is able to move to the target unit 

\-Implemented in \hyperlink{classBWAPI_1_1UnitImpl_a97d81bba90461b6a51cd00809b0bd04a}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}, and \hyperlink{classBWAPI_1_1UnitImpl_a1553a6be07c14dda06b2901f28856ad6}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}.



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


\hypertarget{classBWAPI_1_1Unit_ae4a20dc2438fe3f80987287b1939b318}{\index{\-B\-W\-A\-P\-I\-::\-Unit@{\-B\-W\-A\-P\-I\-::\-Unit}!has\-Path@{has\-Path}}
\index{has\-Path@{has\-Path}!BWAPI::Unit@{\-B\-W\-A\-P\-I\-::\-Unit}}
\subsubsection[{has\-Path}]{\setlength{\rightskip}{0pt plus 5cm}virtual bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-::has\-Path} (
\begin{DoxyParamCaption}
\item[{{\bf \-Position}}]{target}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}\label{classBWAPI_1_1Unit_ae4a20dc2438fe3f80987287b1939b318}
\-Returns true if the unit is able to move to the target position 

\-Implemented in \hyperlink{classBWAPI_1_1UnitImpl_a8a39145adc0afbd9294dceffbf05d442}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}, and \hyperlink{classBWAPI_1_1UnitImpl_a2f4a9e1d9e3cf9504015ac365602662e}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}.

\hypertarget{classBWAPI_1_1Unit_a57e5146674f44a551eeb34e82598a01a}{\index{\-B\-W\-A\-P\-I\-::\-Unit@{\-B\-W\-A\-P\-I\-::\-Unit}!hold\-Position@{hold\-Position}}
\index{hold\-Position@{hold\-Position}!BWAPI::Unit@{\-B\-W\-A\-P\-I\-::\-Unit}}
\subsubsection[{hold\-Position}]{\setlength{\rightskip}{0pt plus 5cm}virtual bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-::hold\-Position} (
\begin{DoxyParamCaption}
\item[{bool}]{shift\-Queue\-Command = {\ttfamily false}}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}\label{classBWAPI_1_1Unit_a57e5146674f44a551eeb34e82598a01a}
\hyperlink{namespaceBWAPI_1_1Orders}{\-Orders} the unit to hold its position. 

\-Implemented in \hyperlink{classBWAPI_1_1UnitImpl_a6d034d3c47085da6f21b2386ea12a40a}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}, and \hyperlink{classBWAPI_1_1UnitImpl_a745a10420501a8c98b29ce52cdf4433f}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}.



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


\hypertarget{classBWAPI_1_1Unit_a9c1c2242343e24c1bd3eadc63c2129e0}{\index{\-B\-W\-A\-P\-I\-::\-Unit@{\-B\-W\-A\-P\-I\-::\-Unit}!is\-Accelerating@{is\-Accelerating}}
\index{is\-Accelerating@{is\-Accelerating}!BWAPI::Unit@{\-B\-W\-A\-P\-I\-::\-Unit}}
\subsubsection[{is\-Accelerating}]{\setlength{\rightskip}{0pt plus 5cm}virtual bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-::is\-Accelerating} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}\label{classBWAPI_1_1Unit_a9c1c2242343e24c1bd3eadc63c2129e0}
\-Returns true if the unit is currently accelerating. 

\-Implemented in \hyperlink{classBWAPI_1_1UnitImpl_aa20c2872717575883477e899b90e1004}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}, and \hyperlink{classBWAPI_1_1UnitImpl_abbb83a26462add1ce4b8f4055fd832bb}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}.



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


\hypertarget{classBWAPI_1_1Unit_a78548308898e4fb76fd62835fefb41bf}{\index{\-B\-W\-A\-P\-I\-::\-Unit@{\-B\-W\-A\-P\-I\-::\-Unit}!is\-Attack\-Frame@{is\-Attack\-Frame}}
\index{is\-Attack\-Frame@{is\-Attack\-Frame}!BWAPI::Unit@{\-B\-W\-A\-P\-I\-::\-Unit}}
\subsubsection[{is\-Attack\-Frame}]{\setlength{\rightskip}{0pt plus 5cm}virtual bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-::is\-Attack\-Frame} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}\label{classBWAPI_1_1Unit_a78548308898e4fb76fd62835fefb41bf}


\-Implemented in \hyperlink{classBWAPI_1_1UnitImpl_aa860583beb3ce2dbd868570ea0d171c3}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}, and \hyperlink{classBWAPI_1_1UnitImpl_afd4ce205f7aae3ecee70c71f9314a721}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}.



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


\hypertarget{classBWAPI_1_1Unit_a025adc0cec859af70f80e3575a4117ef}{\index{\-B\-W\-A\-P\-I\-::\-Unit@{\-B\-W\-A\-P\-I\-::\-Unit}!is\-Attacking@{is\-Attacking}}
\index{is\-Attacking@{is\-Attacking}!BWAPI::Unit@{\-B\-W\-A\-P\-I\-::\-Unit}}
\subsubsection[{is\-Attacking}]{\setlength{\rightskip}{0pt plus 5cm}virtual bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-::is\-Attacking} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}\label{classBWAPI_1_1Unit_a025adc0cec859af70f80e3575a4117ef}


\-Implemented in \hyperlink{classBWAPI_1_1UnitImpl_ab1f759b634ae55e48074163887f1846a}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}, and \hyperlink{classBWAPI_1_1UnitImpl_a272ecabc41c032dea029e8f7e2f3a89e}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}.



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


\hypertarget{classBWAPI_1_1Unit_a37612d58659e6efdae1620d62ddd4046}{\index{\-B\-W\-A\-P\-I\-::\-Unit@{\-B\-W\-A\-P\-I\-::\-Unit}!is\-Being\-Constructed@{is\-Being\-Constructed}}
\index{is\-Being\-Constructed@{is\-Being\-Constructed}!BWAPI::Unit@{\-B\-W\-A\-P\-I\-::\-Unit}}
\subsubsection[{is\-Being\-Constructed}]{\setlength{\rightskip}{0pt plus 5cm}virtual bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-::is\-Being\-Constructed} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}\label{classBWAPI_1_1Unit_a37612d58659e6efdae1620d62ddd4046}
\-Returns true if the unit is being constructed. \-Always true for incomplete \-Protoss and \-Zerg buildings, and true for incomplete \-Terran buildings that have an \-S\-C\-V constructing them. \-If the \-S\-C\-V halts construction, is\-Being\-Constructed will return false.

\begin{DoxySeeAlso}{\-See also}
\hyperlink{classBWAPI_1_1Unit_a87ec26dd2b3366a12efdb700565de084}{\-Unit\-::build}, \hyperlink{classBWAPI_1_1Unit_a3af4d88a90c231372a92f2e15de14964}{\-Unit\-::cancel\-Construction}, \hyperlink{classBWAPI_1_1Unit_a20d564b9f828e6fb0ec04494bdc383e4}{\-Unit\-::halt\-Construction}, \hyperlink{classBWAPI_1_1Unit_ac5be71081aa7eb1a2c7fbbc39220ba13}{\-Unit\-::is\-Constructing}. 
\end{DoxySeeAlso}


\-Implemented in \hyperlink{classBWAPI_1_1UnitImpl_a2f6c256c251a60dd17e5fe650a522e8f}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}, and \hyperlink{classBWAPI_1_1UnitImpl_ae631c34040e16b00fa1b34ea2ec8b9d0}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}.



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


\hypertarget{classBWAPI_1_1Unit_a7d00e38c73d4aa014d2dfceb4471c135}{\index{\-B\-W\-A\-P\-I\-::\-Unit@{\-B\-W\-A\-P\-I\-::\-Unit}!is\-Being\-Gathered@{is\-Being\-Gathered}}
\index{is\-Being\-Gathered@{is\-Being\-Gathered}!BWAPI::Unit@{\-B\-W\-A\-P\-I\-::\-Unit}}
\subsubsection[{is\-Being\-Gathered}]{\setlength{\rightskip}{0pt plus 5cm}virtual bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-::is\-Being\-Gathered} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}\label{classBWAPI_1_1Unit_a7d00e38c73d4aa014d2dfceb4471c135}
\-Returns true if the unit is a mineral patch or refinery that is being gathered. 

\-Implemented in \hyperlink{classBWAPI_1_1UnitImpl_a4f2a43c46d1bdaad268c7c5ce25ff6d6}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}, and \hyperlink{classBWAPI_1_1UnitImpl_a8a44a4a5042202f67b773bf60369a0dc}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}.



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


\hypertarget{classBWAPI_1_1Unit_a6bf788249c6865696e6f39485a959b2e}{\index{\-B\-W\-A\-P\-I\-::\-Unit@{\-B\-W\-A\-P\-I\-::\-Unit}!is\-Being\-Healed@{is\-Being\-Healed}}
\index{is\-Being\-Healed@{is\-Being\-Healed}!BWAPI::Unit@{\-B\-W\-A\-P\-I\-::\-Unit}}
\subsubsection[{is\-Being\-Healed}]{\setlength{\rightskip}{0pt plus 5cm}virtual bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-::is\-Being\-Healed} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}\label{classBWAPI_1_1Unit_a6bf788249c6865696e6f39485a959b2e}
\-Returns true if the unit is currently being healed by a \-Terran \-Medic, or repaired by a \-Terran \-S\-C\-V. 

\-Implemented in \hyperlink{classBWAPI_1_1UnitImpl_afa8a10448dad4a43726c37d7cf2813c1}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}, and \hyperlink{classBWAPI_1_1UnitImpl_ad26ee5fa032b1d99d8af49a40532b8af}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}.



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


\hypertarget{classBWAPI_1_1Unit_a6bf5552cf9ad3bcd8867ac54950fa2a5}{\index{\-B\-W\-A\-P\-I\-::\-Unit@{\-B\-W\-A\-P\-I\-::\-Unit}!is\-Blind@{is\-Blind}}
\index{is\-Blind@{is\-Blind}!BWAPI::Unit@{\-B\-W\-A\-P\-I\-::\-Unit}}
\subsubsection[{is\-Blind}]{\setlength{\rightskip}{0pt plus 5cm}virtual bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-::is\-Blind} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}\label{classBWAPI_1_1Unit_a6bf5552cf9ad3bcd8867ac54950fa2a5}
\-Returns true if the unit is currently blind from a \-Medic's \-Optical \-Flare. 

\-Implemented in \hyperlink{classBWAPI_1_1UnitImpl_a97ac180274fe9004ba92cb815edb747d}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}, and \hyperlink{classBWAPI_1_1UnitImpl_a623fd6861894f2203add2ae9f24fc873}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}.



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


\hypertarget{classBWAPI_1_1Unit_aa60e331b93718b523a971b8de81375ce}{\index{\-B\-W\-A\-P\-I\-::\-Unit@{\-B\-W\-A\-P\-I\-::\-Unit}!is\-Braking@{is\-Braking}}
\index{is\-Braking@{is\-Braking}!BWAPI::Unit@{\-B\-W\-A\-P\-I\-::\-Unit}}
\subsubsection[{is\-Braking}]{\setlength{\rightskip}{0pt plus 5cm}virtual bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-::is\-Braking} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}\label{classBWAPI_1_1Unit_aa60e331b93718b523a971b8de81375ce}
\-Returns true if the unit is currently braking/slowing down. 

\-Implemented in \hyperlink{classBWAPI_1_1UnitImpl_afd26e1a5d61a08f910a1aafd696b1f67}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}, and \hyperlink{classBWAPI_1_1UnitImpl_a1af36b4d29102229aa0899cb8e89dfef}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}.



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


\hypertarget{classBWAPI_1_1Unit_a1117bce4ca4edd95cdf84280e0b00fdd}{\index{\-B\-W\-A\-P\-I\-::\-Unit@{\-B\-W\-A\-P\-I\-::\-Unit}!is\-Burrowed@{is\-Burrowed}}
\index{is\-Burrowed@{is\-Burrowed}!BWAPI::Unit@{\-B\-W\-A\-P\-I\-::\-Unit}}
\subsubsection[{is\-Burrowed}]{\setlength{\rightskip}{0pt plus 5cm}virtual bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-::is\-Burrowed} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}\label{classBWAPI_1_1Unit_a1117bce4ca4edd95cdf84280e0b00fdd}
\-Returns true if the unit is a \-Zerg unit that is current burrowed. \begin{DoxySeeAlso}{\-See also}
\hyperlink{classBWAPI_1_1Unit_a66f0e66b4017a0b8bbc74de60804ab4b}{\-Unit\-::burrow}, \hyperlink{classBWAPI_1_1Unit_a48d98e8ff3c1e70ad904d0ac7f65b6de}{\-Unit\-::unburrow}. 
\end{DoxySeeAlso}


\-Implemented in \hyperlink{classBWAPI_1_1UnitImpl_afc6241b01020f406ef535b09ec76d026}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}, and \hyperlink{classBWAPI_1_1UnitImpl_a2df03c5a2a03e8c9aeced4163160f07f}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}.



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


\hypertarget{classBWAPI_1_1Unit_a84d6614da57d7385be11f58ed1457f4c}{\index{\-B\-W\-A\-P\-I\-::\-Unit@{\-B\-W\-A\-P\-I\-::\-Unit}!is\-Carrying\-Gas@{is\-Carrying\-Gas}}
\index{is\-Carrying\-Gas@{is\-Carrying\-Gas}!BWAPI::Unit@{\-B\-W\-A\-P\-I\-::\-Unit}}
\subsubsection[{is\-Carrying\-Gas}]{\setlength{\rightskip}{0pt plus 5cm}virtual bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-::is\-Carrying\-Gas} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}\label{classBWAPI_1_1Unit_a84d6614da57d7385be11f58ed1457f4c}
\-Returns true if the unit is a worker that is carrying gas. \begin{DoxySeeAlso}{\-See also}
\hyperlink{classBWAPI_1_1Unit_a4746cbb14a79728da63bdae7711e9cb6}{\-Unit\-::return\-Cargo}, \hyperlink{classBWAPI_1_1Unit_ade805fbc2814eede4a88c1160e91be55}{\-Unit\-::is\-Gathering\-Gas}. 
\end{DoxySeeAlso}


\-Implemented in \hyperlink{classBWAPI_1_1UnitImpl_aeb5b896791a223b526b29718a8b45637}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}, and \hyperlink{classBWAPI_1_1UnitImpl_a3f671f24d7f62aee047a82cc6e41d893}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}.



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


\hypertarget{classBWAPI_1_1Unit_a09aa92e8eb287f75e654b0642819b0b9}{\index{\-B\-W\-A\-P\-I\-::\-Unit@{\-B\-W\-A\-P\-I\-::\-Unit}!is\-Carrying\-Minerals@{is\-Carrying\-Minerals}}
\index{is\-Carrying\-Minerals@{is\-Carrying\-Minerals}!BWAPI::Unit@{\-B\-W\-A\-P\-I\-::\-Unit}}
\subsubsection[{is\-Carrying\-Minerals}]{\setlength{\rightskip}{0pt plus 5cm}virtual bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-::is\-Carrying\-Minerals} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}\label{classBWAPI_1_1Unit_a09aa92e8eb287f75e654b0642819b0b9}
\-Returns true if the unit is a worker that is carrying minerals. \begin{DoxySeeAlso}{\-See also}
\hyperlink{classBWAPI_1_1Unit_a4746cbb14a79728da63bdae7711e9cb6}{\-Unit\-::return\-Cargo}, \hyperlink{classBWAPI_1_1Unit_a4e462889f20394c482db6b8e7113c27f}{\-Unit\-::is\-Gathering\-Minerals}. 
\end{DoxySeeAlso}


\-Implemented in \hyperlink{classBWAPI_1_1UnitImpl_a18e7e2ecf8e73c3a1e1537286002852a}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}, and \hyperlink{classBWAPI_1_1UnitImpl_a87c87e42024e8aa49b5ad1f5f9d3756d}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}.



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


\hypertarget{classBWAPI_1_1Unit_a36733f38d84d313ee1fda4aba8288156}{\index{\-B\-W\-A\-P\-I\-::\-Unit@{\-B\-W\-A\-P\-I\-::\-Unit}!is\-Cloaked@{is\-Cloaked}}
\index{is\-Cloaked@{is\-Cloaked}!BWAPI::Unit@{\-B\-W\-A\-P\-I\-::\-Unit}}
\subsubsection[{is\-Cloaked}]{\setlength{\rightskip}{0pt plus 5cm}virtual bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-::is\-Cloaked} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}\label{classBWAPI_1_1Unit_a36733f38d84d313ee1fda4aba8288156}
\-Returns true if the unit is cloaked. \begin{DoxySeeAlso}{\-See also}
\hyperlink{classBWAPI_1_1Unit_ae59ed0a9880b3e1f4a8786768c08bca8}{\-Unit\-::cloak}, \hyperlink{classBWAPI_1_1Unit_ad162117fae3ef34f3325395cb1ed7ef5}{\-Unit\-::decloak}. 
\end{DoxySeeAlso}


\-Implemented in \hyperlink{classBWAPI_1_1UnitImpl_a1eead0d2f3c33282a3664aa09b9a8fa6}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}, and \hyperlink{classBWAPI_1_1UnitImpl_ac73cbb2f6b920ddaae5bcaf806871f8a}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}.



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


\hypertarget{classBWAPI_1_1Unit_aaf457f2809efcc1af1e2ba5f68378764}{\index{\-B\-W\-A\-P\-I\-::\-Unit@{\-B\-W\-A\-P\-I\-::\-Unit}!is\-Completed@{is\-Completed}}
\index{is\-Completed@{is\-Completed}!BWAPI::Unit@{\-B\-W\-A\-P\-I\-::\-Unit}}
\subsubsection[{is\-Completed}]{\setlength{\rightskip}{0pt plus 5cm}virtual bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-::is\-Completed} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}\label{classBWAPI_1_1Unit_aaf457f2809efcc1af1e2ba5f68378764}
\-Returns true if the unit has been completed. 

\-Implemented in \hyperlink{classBWAPI_1_1UnitImpl_a9f6fda1faff00c51d26841d5e36e8423}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}, and \hyperlink{classBWAPI_1_1UnitImpl_a6c3449f16aad5dd6556394e026ae5453}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}.



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


\hypertarget{classBWAPI_1_1Unit_ac5be71081aa7eb1a2c7fbbc39220ba13}{\index{\-B\-W\-A\-P\-I\-::\-Unit@{\-B\-W\-A\-P\-I\-::\-Unit}!is\-Constructing@{is\-Constructing}}
\index{is\-Constructing@{is\-Constructing}!BWAPI::Unit@{\-B\-W\-A\-P\-I\-::\-Unit}}
\subsubsection[{is\-Constructing}]{\setlength{\rightskip}{0pt plus 5cm}virtual bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-::is\-Constructing} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}\label{classBWAPI_1_1Unit_ac5be71081aa7eb1a2c7fbbc39220ba13}
\-Returns true when a unit has been issued an order to build a structure and is moving to the build location. \-Also returns true for \-Terran \-S\-C\-Vs while they construct a building. \begin{DoxySeeAlso}{\-See also}
\hyperlink{classBWAPI_1_1Unit_a87ec26dd2b3366a12efdb700565de084}{\-Unit\-::build}, \hyperlink{classBWAPI_1_1Unit_a3af4d88a90c231372a92f2e15de14964}{\-Unit\-::cancel\-Construction}, \hyperlink{classBWAPI_1_1Unit_a20d564b9f828e6fb0ec04494bdc383e4}{\-Unit\-::halt\-Construction}, \hyperlink{classBWAPI_1_1Unit_a37612d58659e6efdae1620d62ddd4046}{\-Unit\-::is\-Being\-Constructed}. 
\end{DoxySeeAlso}


\-Implemented in \hyperlink{classBWAPI_1_1UnitImpl_a726085e93fda1c094121eb4da84bb6ff}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}, and \hyperlink{classBWAPI_1_1UnitImpl_a22b33b73dda4a1d882d16279cf84796f}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}.



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


\hypertarget{classBWAPI_1_1Unit_a3fd07acb8cfbd9a49fd77f391af9368b}{\index{\-B\-W\-A\-P\-I\-::\-Unit@{\-B\-W\-A\-P\-I\-::\-Unit}!is\-Defense\-Matrixed@{is\-Defense\-Matrixed}}
\index{is\-Defense\-Matrixed@{is\-Defense\-Matrixed}!BWAPI::Unit@{\-B\-W\-A\-P\-I\-::\-Unit}}
\subsubsection[{is\-Defense\-Matrixed}]{\setlength{\rightskip}{0pt plus 5cm}virtual bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-::is\-Defense\-Matrixed} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}\label{classBWAPI_1_1Unit_a3fd07acb8cfbd9a49fd77f391af9368b}
\-Returns true if the unit has a defense matrix from a \-Terran \-Science \-Vessel. 

\-Implemented in \hyperlink{classBWAPI_1_1UnitImpl_a74026e04da8e963296855e20a91881e4}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}, and \hyperlink{classBWAPI_1_1UnitImpl_ab16b08a306b5903f0c07a6869e68828a}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}.



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


\hypertarget{classBWAPI_1_1Unit_aeea08cdfae41fdc570c92f4bba917bb8}{\index{\-B\-W\-A\-P\-I\-::\-Unit@{\-B\-W\-A\-P\-I\-::\-Unit}!is\-Detected@{is\-Detected}}
\index{is\-Detected@{is\-Detected}!BWAPI::Unit@{\-B\-W\-A\-P\-I\-::\-Unit}}
\subsubsection[{is\-Detected}]{\setlength{\rightskip}{0pt plus 5cm}virtual bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-::is\-Detected} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}\label{classBWAPI_1_1Unit_aeea08cdfae41fdc570c92f4bba917bb8}
\-Returns true if the unit is detected. 

\-Implemented in \hyperlink{classBWAPI_1_1UnitImpl_a74466f9e6cb1067df33ce92be8ff2347}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}, and \hyperlink{classBWAPI_1_1UnitImpl_a753757e7c31081b6170a95cf8f0307e4}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}.

\hypertarget{classBWAPI_1_1Unit_a59c0128e16533f8e0fe75881d98e2811}{\index{\-B\-W\-A\-P\-I\-::\-Unit@{\-B\-W\-A\-P\-I\-::\-Unit}!is\-Ensnared@{is\-Ensnared}}
\index{is\-Ensnared@{is\-Ensnared}!BWAPI::Unit@{\-B\-W\-A\-P\-I\-::\-Unit}}
\subsubsection[{is\-Ensnared}]{\setlength{\rightskip}{0pt plus 5cm}virtual bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-::is\-Ensnared} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}\label{classBWAPI_1_1Unit_a59c0128e16533f8e0fe75881d98e2811}
\-Returns true if the unit has been ensnared by a \-Zerg \-Queen. 

\-Implemented in \hyperlink{classBWAPI_1_1UnitImpl_afd11a122519809d2170c2f97275f95cc}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}, and \hyperlink{classBWAPI_1_1UnitImpl_abaa3f35200345bd1522bcdb41cbac9b6}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}.



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


\hypertarget{classBWAPI_1_1Unit_a157320cd9e0becb4f91e917cfbc86b70}{\index{\-B\-W\-A\-P\-I\-::\-Unit@{\-B\-W\-A\-P\-I\-::\-Unit}!is\-Following@{is\-Following}}
\index{is\-Following@{is\-Following}!BWAPI::Unit@{\-B\-W\-A\-P\-I\-::\-Unit}}
\subsubsection[{is\-Following}]{\setlength{\rightskip}{0pt plus 5cm}virtual bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-::is\-Following} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}\label{classBWAPI_1_1Unit_a157320cd9e0becb4f91e917cfbc86b70}
\-Returns true if the unit is following another unit. \begin{DoxySeeAlso}{\-See also}
\hyperlink{classBWAPI_1_1Unit_a14e9015ffb05bdcadf7e103b9d28e8c5}{\-Unit\-::follow}, \hyperlink{classBWAPI_1_1Unit_ab78468beae4a20dba9f0a4ff3d7277e9}{\-Unit\-::get\-Target}. 
\end{DoxySeeAlso}


\-Implemented in \hyperlink{classBWAPI_1_1UnitImpl_aa70b780be4ff727607983770f635e1f8}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}, and \hyperlink{classBWAPI_1_1UnitImpl_afd891c03335070fff2d1bcc01c11b524}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}.



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


\hypertarget{classBWAPI_1_1Unit_ade805fbc2814eede4a88c1160e91be55}{\index{\-B\-W\-A\-P\-I\-::\-Unit@{\-B\-W\-A\-P\-I\-::\-Unit}!is\-Gathering\-Gas@{is\-Gathering\-Gas}}
\index{is\-Gathering\-Gas@{is\-Gathering\-Gas}!BWAPI::Unit@{\-B\-W\-A\-P\-I\-::\-Unit}}
\subsubsection[{is\-Gathering\-Gas}]{\setlength{\rightskip}{0pt plus 5cm}virtual bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-::is\-Gathering\-Gas} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}\label{classBWAPI_1_1Unit_ade805fbc2814eede4a88c1160e91be55}
\-Returns true if the unit is in one of the four states for gathering gas (\-Move\-To\-Gas, \-Wait\-For\-Gas, \-Harvest\-Gas, \-Return\-Gas). \begin{DoxySeeAlso}{\-See also}
\hyperlink{classBWAPI_1_1Unit_a84d6614da57d7385be11f58ed1457f4c}{\-Unit\-::is\-Carrying\-Gas}. 
\end{DoxySeeAlso}


\-Implemented in \hyperlink{classBWAPI_1_1UnitImpl_aa23bd827b6d4b9481558b42e9bcff844}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}, and \hyperlink{classBWAPI_1_1UnitImpl_af5a782b471f22eee0f3b23f0b56c75ec}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}.



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


\hypertarget{classBWAPI_1_1Unit_a4e462889f20394c482db6b8e7113c27f}{\index{\-B\-W\-A\-P\-I\-::\-Unit@{\-B\-W\-A\-P\-I\-::\-Unit}!is\-Gathering\-Minerals@{is\-Gathering\-Minerals}}
\index{is\-Gathering\-Minerals@{is\-Gathering\-Minerals}!BWAPI::Unit@{\-B\-W\-A\-P\-I\-::\-Unit}}
\subsubsection[{is\-Gathering\-Minerals}]{\setlength{\rightskip}{0pt plus 5cm}virtual bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-::is\-Gathering\-Minerals} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}\label{classBWAPI_1_1Unit_a4e462889f20394c482db6b8e7113c27f}
\-Returns true if the unit is in one of the four states for gathering minerals (\-Move\-To\-Minerals, \-Wait\-For\-Minerals, \-Mining\-Minerals, \-Return\-Minerals). \begin{DoxySeeAlso}{\-See also}
\hyperlink{classBWAPI_1_1Unit_a09aa92e8eb287f75e654b0642819b0b9}{\-Unit\-::is\-Carrying\-Minerals}. 
\end{DoxySeeAlso}


\-Implemented in \hyperlink{classBWAPI_1_1UnitImpl_a1ba1f1ab9e478e5ad684fcfa3531cc94}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}, and \hyperlink{classBWAPI_1_1UnitImpl_a49abb8968b2bf752e92263ca0e8952d5}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}.



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


\hypertarget{classBWAPI_1_1Unit_a669d03b9e93009fa9955e645522db0be}{\index{\-B\-W\-A\-P\-I\-::\-Unit@{\-B\-W\-A\-P\-I\-::\-Unit}!is\-Hallucination@{is\-Hallucination}}
\index{is\-Hallucination@{is\-Hallucination}!BWAPI::Unit@{\-B\-W\-A\-P\-I\-::\-Unit}}
\subsubsection[{is\-Hallucination}]{\setlength{\rightskip}{0pt plus 5cm}virtual bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-::is\-Hallucination} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}\label{classBWAPI_1_1Unit_a669d03b9e93009fa9955e645522db0be}
\-Returns true for hallucinated units, false for normal units. \-Returns true for hallucinated enemy units only if \-Complete \hyperlink{classBWAPI_1_1Map}{\-Map} \-Information is enabled. \begin{DoxySeeAlso}{\-See also}
\hyperlink{classBWAPI_1_1Unit_aef7e604358685fd73960d3aecb5ec5a3}{\-Unit\-::get\-Remove\-Timer}. 
\end{DoxySeeAlso}


\-Implemented in \hyperlink{classBWAPI_1_1UnitImpl_aacf8b3eedd2d0b79d2a14e2c36849dcc}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}, and \hyperlink{classBWAPI_1_1UnitImpl_a8f34b8d6768555b3f39be2f106acbce1}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}.



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


\hypertarget{classBWAPI_1_1Unit_a877f4b86f5e41dc87d9740d2aaa6c62a}{\index{\-B\-W\-A\-P\-I\-::\-Unit@{\-B\-W\-A\-P\-I\-::\-Unit}!is\-Holding\-Position@{is\-Holding\-Position}}
\index{is\-Holding\-Position@{is\-Holding\-Position}!BWAPI::Unit@{\-B\-W\-A\-P\-I\-::\-Unit}}
\subsubsection[{is\-Holding\-Position}]{\setlength{\rightskip}{0pt plus 5cm}virtual bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-::is\-Holding\-Position} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}\label{classBWAPI_1_1Unit_a877f4b86f5e41dc87d9740d2aaa6c62a}
\-Returns true if the unit is holding position \begin{DoxySeeAlso}{\-See also}
\hyperlink{classBWAPI_1_1Unit_a57e5146674f44a551eeb34e82598a01a}{\-Unit\-::hold\-Position}. 
\end{DoxySeeAlso}


\-Implemented in \hyperlink{classBWAPI_1_1UnitImpl_a74243843d6b7b32a8c120bc0fd14874e}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}, and \hyperlink{classBWAPI_1_1UnitImpl_a38011ef3f2122a6eb94c1b52398ec312}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}.



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


\hypertarget{classBWAPI_1_1Unit_aac037e66a738520c13ecbf3d83151d97}{\index{\-B\-W\-A\-P\-I\-::\-Unit@{\-B\-W\-A\-P\-I\-::\-Unit}!is\-Idle@{is\-Idle}}
\index{is\-Idle@{is\-Idle}!BWAPI::Unit@{\-B\-W\-A\-P\-I\-::\-Unit}}
\subsubsection[{is\-Idle}]{\setlength{\rightskip}{0pt plus 5cm}virtual bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-::is\-Idle} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}\label{classBWAPI_1_1Unit_aac037e66a738520c13ecbf3d83151d97}
\-Returns true if the unit is not doing anything. \begin{DoxySeeAlso}{\-See also}
\hyperlink{classBWAPI_1_1Unit_aa030ad69397b659d74dd1186fd2b4cc1}{\-Unit\-::stop}. 
\end{DoxySeeAlso}


\-Implemented in \hyperlink{classBWAPI_1_1UnitImpl_aa4b72dda761a9870bb3f178e273ba5bd}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}, and \hyperlink{classBWAPI_1_1UnitImpl_ae404b4bf4893b519854f4e2c89b64e0c}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}.



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


\hypertarget{classBWAPI_1_1Unit_ae7714897682ecf58d25dd7ab05b7eff9}{\index{\-B\-W\-A\-P\-I\-::\-Unit@{\-B\-W\-A\-P\-I\-::\-Unit}!is\-Interruptible@{is\-Interruptible}}
\index{is\-Interruptible@{is\-Interruptible}!BWAPI::Unit@{\-B\-W\-A\-P\-I\-::\-Unit}}
\subsubsection[{is\-Interruptible}]{\setlength{\rightskip}{0pt plus 5cm}virtual bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-::is\-Interruptible} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}\label{classBWAPI_1_1Unit_ae7714897682ecf58d25dd7ab05b7eff9}
\-Returns true if the unit can be interrupted. 

\-Implemented in \hyperlink{classBWAPI_1_1UnitImpl_a84e3f82cccfef2f57d249bd58214007a}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}, and \hyperlink{classBWAPI_1_1UnitImpl_a5d80881e8a2fedcd0506254f2db2d6ad}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}.

\hypertarget{classBWAPI_1_1Unit_ab601cded08e572eb7eec17d8a3d80344}{\index{\-B\-W\-A\-P\-I\-::\-Unit@{\-B\-W\-A\-P\-I\-::\-Unit}!is\-Invincible@{is\-Invincible}}
\index{is\-Invincible@{is\-Invincible}!BWAPI::Unit@{\-B\-W\-A\-P\-I\-::\-Unit}}
\subsubsection[{is\-Invincible}]{\setlength{\rightskip}{0pt plus 5cm}virtual bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-::is\-Invincible} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}\label{classBWAPI_1_1Unit_ab601cded08e572eb7eec17d8a3d80344}
\-Returns true if the unit is invincible. 

\-Implemented in \hyperlink{classBWAPI_1_1UnitImpl_a47dc029aef3ef5c5c1c87c628f2a3d39}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}, and \hyperlink{classBWAPI_1_1UnitImpl_a63c379f15ab3583c025d3d71a2ad319d}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}.



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


\hypertarget{classBWAPI_1_1Unit_a10b77ef9e2ac04a36108f0a9d7a92661}{\index{\-B\-W\-A\-P\-I\-::\-Unit@{\-B\-W\-A\-P\-I\-::\-Unit}!is\-In\-Weapon\-Range@{is\-In\-Weapon\-Range}}
\index{is\-In\-Weapon\-Range@{is\-In\-Weapon\-Range}!BWAPI::Unit@{\-B\-W\-A\-P\-I\-::\-Unit}}
\subsubsection[{is\-In\-Weapon\-Range}]{\setlength{\rightskip}{0pt plus 5cm}virtual bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-::is\-In\-Weapon\-Range} (
\begin{DoxyParamCaption}
\item[{{\bf \-Unit} $\ast$}]{target}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}\label{classBWAPI_1_1Unit_a10b77ef9e2ac04a36108f0a9d7a92661}
\-Returns true if the unit can attack a specified target from its current position. 

\-Implemented in \hyperlink{classBWAPI_1_1UnitImpl_ac9b4f339bf9bddd4af67d8144dbd3ed5}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}, and \hyperlink{classBWAPI_1_1UnitImpl_a5f613467683bda159b6984dfd6e54960}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}.



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


\hypertarget{classBWAPI_1_1Unit_af538411657b1219b45a35dca6dd75733}{\index{\-B\-W\-A\-P\-I\-::\-Unit@{\-B\-W\-A\-P\-I\-::\-Unit}!is\-Irradiated@{is\-Irradiated}}
\index{is\-Irradiated@{is\-Irradiated}!BWAPI::Unit@{\-B\-W\-A\-P\-I\-::\-Unit}}
\subsubsection[{is\-Irradiated}]{\setlength{\rightskip}{0pt plus 5cm}virtual bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-::is\-Irradiated} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}\label{classBWAPI_1_1Unit_af538411657b1219b45a35dca6dd75733}
\-Returns true if the unit is being irradiated by a \-Terran \-Science \-Vessel. \begin{DoxySeeAlso}{\-See also}
\hyperlink{classBWAPI_1_1Unit_a36f9aade1317691c35abc40d33cdf4bf}{\-Unit\-::get\-Irradiate\-Timer}. 
\end{DoxySeeAlso}


\-Implemented in \hyperlink{classBWAPI_1_1UnitImpl_acb02200e532dea7a2c0f3783b47907ba}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}, and \hyperlink{classBWAPI_1_1UnitImpl_a8abe8bba4e9ad819611d3dc6332a4ba5}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}.



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


\hypertarget{classBWAPI_1_1Unit_a594243c972c919472c31de494e33be1a}{\index{\-B\-W\-A\-P\-I\-::\-Unit@{\-B\-W\-A\-P\-I\-::\-Unit}!is\-Lifted@{is\-Lifted}}
\index{is\-Lifted@{is\-Lifted}!BWAPI::Unit@{\-B\-W\-A\-P\-I\-::\-Unit}}
\subsubsection[{is\-Lifted}]{\setlength{\rightskip}{0pt plus 5cm}virtual bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-::is\-Lifted} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}\label{classBWAPI_1_1Unit_a594243c972c919472c31de494e33be1a}
\-Returns true if the unit is a \-Terran building that is currently lifted off the ground. \begin{DoxySeeAlso}{\-See also}
\hyperlink{classBWAPI_1_1Unit_ae20b6434bbd4fdcff8ad3970898f3db0}{\-Unit\-::lift},\hyperlink{classBWAPI_1_1Unit_affda870d56dd74d695412f6e4702e2c8}{\-Unit\-::land}. 
\end{DoxySeeAlso}


\-Implemented in \hyperlink{classBWAPI_1_1UnitImpl_a7da095ee8a07dc52d5caecb643aa98bb}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}, and \hyperlink{classBWAPI_1_1UnitImpl_afea6697381d5898408971633f3c71666}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}.



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


\hypertarget{classBWAPI_1_1Unit_aea692c03778837fe3a4b7e45024c728a}{\index{\-B\-W\-A\-P\-I\-::\-Unit@{\-B\-W\-A\-P\-I\-::\-Unit}!is\-Loaded@{is\-Loaded}}
\index{is\-Loaded@{is\-Loaded}!BWAPI::Unit@{\-B\-W\-A\-P\-I\-::\-Unit}}
\subsubsection[{is\-Loaded}]{\setlength{\rightskip}{0pt plus 5cm}virtual bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-::is\-Loaded} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}\label{classBWAPI_1_1Unit_aea692c03778837fe3a4b7e45024c728a}
\-Return true if the unit is loaded into a \-Terran \-Bunker, \-Terran \-Dropship, \-Protoss \-Shuttle, or \-Zerg \-Overlord. \begin{DoxySeeAlso}{\-See also}
\hyperlink{classBWAPI_1_1Unit_a46fc8801abc507e40ab65423ef2299bf}{\-Unit\-::load}, \hyperlink{classBWAPI_1_1Unit_a75a85047926184c0f59fa4eec0844fe1}{\-Unit\-::unload}, \hyperlink{classBWAPI_1_1Unit_a7be1d1f2b6673c4022476364a70fdc52}{\-Unit\-::unload\-All}. 
\end{DoxySeeAlso}


\-Implemented in \hyperlink{classBWAPI_1_1UnitImpl_acb8e75d1b934273b3f80e7b05f50fdb1}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}, and \hyperlink{classBWAPI_1_1UnitImpl_aa7a8c62362f974d5a3b5af4945d28277}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}.



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


\hypertarget{classBWAPI_1_1Unit_a2506c7f8c6f8536122fbe7547b618ea9}{\index{\-B\-W\-A\-P\-I\-::\-Unit@{\-B\-W\-A\-P\-I\-::\-Unit}!is\-Locked\-Down@{is\-Locked\-Down}}
\index{is\-Locked\-Down@{is\-Locked\-Down}!BWAPI::Unit@{\-B\-W\-A\-P\-I\-::\-Unit}}
\subsubsection[{is\-Locked\-Down}]{\setlength{\rightskip}{0pt plus 5cm}virtual bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-::is\-Locked\-Down} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}\label{classBWAPI_1_1Unit_a2506c7f8c6f8536122fbe7547b618ea9}
\-Returns true if the unit is locked down by a \-Terran \-Ghost. \begin{DoxySeeAlso}{\-See also}
\hyperlink{classBWAPI_1_1Unit_ae43eabef9e08e695b884c2384ddaee2a}{\-Unit\-::get\-Lockdown\-Timer}. 
\end{DoxySeeAlso}


\-Implemented in \hyperlink{classBWAPI_1_1UnitImpl_a9cb03a03eed9a1cbcab63a6d76a939a6}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}, and \hyperlink{classBWAPI_1_1UnitImpl_ab1f1d3b78a8ad41eb207af2df07701a1}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}.



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


\hypertarget{classBWAPI_1_1Unit_a1716bac4cf402b689c9b2a3f6274633c}{\index{\-B\-W\-A\-P\-I\-::\-Unit@{\-B\-W\-A\-P\-I\-::\-Unit}!is\-Maelstrommed@{is\-Maelstrommed}}
\index{is\-Maelstrommed@{is\-Maelstrommed}!BWAPI::Unit@{\-B\-W\-A\-P\-I\-::\-Unit}}
\subsubsection[{is\-Maelstrommed}]{\setlength{\rightskip}{0pt plus 5cm}virtual bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-::is\-Maelstrommed} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}\label{classBWAPI_1_1Unit_a1716bac4cf402b689c9b2a3f6274633c}
\-Returns true if the unit is being maelstrommed. \begin{DoxySeeAlso}{\-See also}
\hyperlink{classBWAPI_1_1Unit_ad72f29f6e5f813d911337ea73b81a799}{\-Unit\-::get\-Maelstrom\-Timer}. 
\end{DoxySeeAlso}


\-Implemented in \hyperlink{classBWAPI_1_1UnitImpl_a1ed9e0b7936b3eb70384367d5e1c4ec6}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}, and \hyperlink{classBWAPI_1_1UnitImpl_a200eebb2dc87791b716b56fc883b4a84}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}.



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


\hypertarget{classBWAPI_1_1Unit_a4e662fdd2d99caa654e9ed8dd25d6872}{\index{\-B\-W\-A\-P\-I\-::\-Unit@{\-B\-W\-A\-P\-I\-::\-Unit}!is\-Morphing@{is\-Morphing}}
\index{is\-Morphing@{is\-Morphing}!BWAPI::Unit@{\-B\-W\-A\-P\-I\-::\-Unit}}
\subsubsection[{is\-Morphing}]{\setlength{\rightskip}{0pt plus 5cm}virtual bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-::is\-Morphing} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}\label{classBWAPI_1_1Unit_a4e662fdd2d99caa654e9ed8dd25d6872}
\-Returns true if the unit is a zerg unit that is morphing. \begin{DoxySeeAlso}{\-See also}
\hyperlink{classBWAPI_1_1Unit_a31531f0f10ecd132cc400d2d8b2d7435}{\-Unit\-::morph}, \hyperlink{classBWAPI_1_1Unit_a4931c3a42ec9faf82cd4071b65378734}{\-Unit\-::cancel\-Morph}, \hyperlink{classBWAPI_1_1Unit_a5ee7269d0f6c4ff892aec046dfe28d30}{\-Unit\-::get\-Build\-Type}, \hyperlink{classBWAPI_1_1Unit_afbf6ffcf859aece1f02d7539eecb1a31}{\-Unit\-::get\-Remaining\-Build\-Time}. 
\end{DoxySeeAlso}


\-Implemented in \hyperlink{classBWAPI_1_1UnitImpl_afb17d5f9e45925d09dd3cc2505afed58}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}, and \hyperlink{classBWAPI_1_1UnitImpl_a4a199f1d09ab40c685e39df9c04c0205}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}.



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


\hypertarget{classBWAPI_1_1Unit_a4e06d257144dcbe41b2c850308a55d4f}{\index{\-B\-W\-A\-P\-I\-::\-Unit@{\-B\-W\-A\-P\-I\-::\-Unit}!is\-Moving@{is\-Moving}}
\index{is\-Moving@{is\-Moving}!BWAPI::Unit@{\-B\-W\-A\-P\-I\-::\-Unit}}
\subsubsection[{is\-Moving}]{\setlength{\rightskip}{0pt plus 5cm}virtual bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-::is\-Moving} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}\label{classBWAPI_1_1Unit_a4e06d257144dcbe41b2c850308a55d4f}
\-Returns true if the unit is moving. \begin{DoxySeeAlso}{\-See also}
\hyperlink{classBWAPI_1_1Unit_a9cd107c8d8b083f61eb4def6f4bb091a}{\-Unit\-::attack}, \hyperlink{classBWAPI_1_1Unit_aa030ad69397b659d74dd1186fd2b4cc1}{\-Unit\-::stop}. 
\end{DoxySeeAlso}


\-Implemented in \hyperlink{classBWAPI_1_1UnitImpl_a1efc30aba9acd91efc1a4a41b917c0f4}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}, and \hyperlink{classBWAPI_1_1UnitImpl_ae2b51d076f5dc0077bab37cc8ed3b305}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}.



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


\hypertarget{classBWAPI_1_1Unit_a547fc2dec7133b2edb97236e190bb09c}{\index{\-B\-W\-A\-P\-I\-::\-Unit@{\-B\-W\-A\-P\-I\-::\-Unit}!is\-Parasited@{is\-Parasited}}
\index{is\-Parasited@{is\-Parasited}!BWAPI::Unit@{\-B\-W\-A\-P\-I\-::\-Unit}}
\subsubsection[{is\-Parasited}]{\setlength{\rightskip}{0pt plus 5cm}virtual bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-::is\-Parasited} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}\label{classBWAPI_1_1Unit_a547fc2dec7133b2edb97236e190bb09c}
\-Returns true if the unit has been parasited by some other player. 

\-Implemented in \hyperlink{classBWAPI_1_1UnitImpl_a510740956bb49db0a3d35c68dc6a8df7}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}, and \hyperlink{classBWAPI_1_1UnitImpl_a723a03d53c6f0ebf8a228096a10cf4d6}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}.



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


\hypertarget{classBWAPI_1_1Unit_a11ade36634a3635b55de1071b4deda0e}{\index{\-B\-W\-A\-P\-I\-::\-Unit@{\-B\-W\-A\-P\-I\-::\-Unit}!is\-Patrolling@{is\-Patrolling}}
\index{is\-Patrolling@{is\-Patrolling}!BWAPI::Unit@{\-B\-W\-A\-P\-I\-::\-Unit}}
\subsubsection[{is\-Patrolling}]{\setlength{\rightskip}{0pt plus 5cm}virtual bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-::is\-Patrolling} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}\label{classBWAPI_1_1Unit_a11ade36634a3635b55de1071b4deda0e}
\-Returns true if the unit is patrolling between two positions. \begin{DoxySeeAlso}{\-See also}
\hyperlink{classBWAPI_1_1Unit_acdb362719f41255f9566f798f1c61892}{\-Unit\-::patrol}. 
\end{DoxySeeAlso}


\-Implemented in \hyperlink{classBWAPI_1_1UnitImpl_a41c092fccc7e22a5a65b331ee00da5c9}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}, and \hyperlink{classBWAPI_1_1UnitImpl_a4d4619caae1d498df1f643cae4413de6}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}.



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


\hypertarget{classBWAPI_1_1Unit_add5194d73a2a433bc081208914d66b5e}{\index{\-B\-W\-A\-P\-I\-::\-Unit@{\-B\-W\-A\-P\-I\-::\-Unit}!is\-Plagued@{is\-Plagued}}
\index{is\-Plagued@{is\-Plagued}!BWAPI::Unit@{\-B\-W\-A\-P\-I\-::\-Unit}}
\subsubsection[{is\-Plagued}]{\setlength{\rightskip}{0pt plus 5cm}virtual bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-::is\-Plagued} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}\label{classBWAPI_1_1Unit_add5194d73a2a433bc081208914d66b5e}
\-Returns true if the unit has been plagued by a \-Zerg \-Defiler. \begin{DoxySeeAlso}{\-See also}
\hyperlink{classBWAPI_1_1Unit_a4703abc761d72f1d1fa92268f600a765}{\-Unit\-::get\-Plague\-Timer}. 
\end{DoxySeeAlso}


\-Implemented in \hyperlink{classBWAPI_1_1UnitImpl_a3017b9a2d1a4b3bc83d1f875bfed0c20}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}, and \hyperlink{classBWAPI_1_1UnitImpl_ab80c9b8accc4e9d79c242d0a9d4240dc}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}.



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


\hypertarget{classBWAPI_1_1Unit_a78f3646b700a811d8a3fe5f53ee42a68}{\index{\-B\-W\-A\-P\-I\-::\-Unit@{\-B\-W\-A\-P\-I\-::\-Unit}!is\-Repairing@{is\-Repairing}}
\index{is\-Repairing@{is\-Repairing}!BWAPI::Unit@{\-B\-W\-A\-P\-I\-::\-Unit}}
\subsubsection[{is\-Repairing}]{\setlength{\rightskip}{0pt plus 5cm}virtual bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-::is\-Repairing} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}\label{classBWAPI_1_1Unit_a78f3646b700a811d8a3fe5f53ee42a68}
\-Returns true if the unit is a \-Terran \-S\-C\-V that is repairing or moving to repair another unit. 

\-Implemented in \hyperlink{classBWAPI_1_1UnitImpl_ae5a72184a41fe638240ad34babe91cb4}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}, and \hyperlink{classBWAPI_1_1UnitImpl_a85a668facaad70f607025cf8d0ea1b3f}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}.



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


\hypertarget{classBWAPI_1_1Unit_adb6b194a351402b958dd9df9d3ca5109}{\index{\-B\-W\-A\-P\-I\-::\-Unit@{\-B\-W\-A\-P\-I\-::\-Unit}!is\-Researching@{is\-Researching}}
\index{is\-Researching@{is\-Researching}!BWAPI::Unit@{\-B\-W\-A\-P\-I\-::\-Unit}}
\subsubsection[{is\-Researching}]{\setlength{\rightskip}{0pt plus 5cm}virtual bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-::is\-Researching} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}\label{classBWAPI_1_1Unit_adb6b194a351402b958dd9df9d3ca5109}
\-Returns true if the unit is a building that is researching tech. \-See \hyperlink{namespaceBWAPI_1_1TechTypes}{\-Tech\-Types} for the complete list of available techs in \-Broodwar. \begin{DoxySeeAlso}{\-See also}
\hyperlink{classBWAPI_1_1Unit_a6d7ad38052b28cb8f359168d64a862b5}{\-Unit\-::research}, \hyperlink{classBWAPI_1_1Unit_a4048993d8f18ccd359838a50d570086b}{\-Unit\-::cancel\-Research}, \hyperlink{classBWAPI_1_1Unit_a11331855e5119240177a08b1382563e6}{\-Unit\-::get\-Tech}, \hyperlink{classBWAPI_1_1Unit_ae04e5e00f01f08fbaaf970369f01a2cb}{\-Unit\-::get\-Remaining\-Research\-Time}. 
\end{DoxySeeAlso}


\-Implemented in \hyperlink{classBWAPI_1_1UnitImpl_ac023402c25ced804b2da05b8f07e1cdf}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}, and \hyperlink{classBWAPI_1_1UnitImpl_a8efb4dca7ec814695d7ca08fa98ac12f}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}.



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


\hypertarget{classBWAPI_1_1Unit_adb622183a8ab01c6908d1c3b8db9f9ab}{\index{\-B\-W\-A\-P\-I\-::\-Unit@{\-B\-W\-A\-P\-I\-::\-Unit}!is\-Selected@{is\-Selected}}
\index{is\-Selected@{is\-Selected}!BWAPI::Unit@{\-B\-W\-A\-P\-I\-::\-Unit}}
\subsubsection[{is\-Selected}]{\setlength{\rightskip}{0pt plus 5cm}virtual bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-::is\-Selected} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}\label{classBWAPI_1_1Unit_adb622183a8ab01c6908d1c3b8db9f9ab}
\-Returns true if the unit has been selected by the user via the starcraft \-G\-U\-I. \-Only available if you enable \hyperlink{namespaceBWAPI_1_1Flag_a394478b7ea50a1fea08f7a73bbad04aea74a41a92f61bc4e7d1da3468de118d34}{\-Flag\-::\-User\-Input} during \hyperlink{classBWAPI_1_1AIModule_aa4a6794e0c2d130b9128524f065a4d53}{\-A\-I\-Module\-::on\-Start}. \begin{DoxySeeAlso}{\-See also}
\hyperlink{classBWAPI_1_1Game_ad34009dc2084ac5b67d5e4b14c0dee90}{\-Game\-::get\-Selected\-Units}. 
\end{DoxySeeAlso}


\-Implemented in \hyperlink{classBWAPI_1_1UnitImpl_a6284b77179127d195485bcafd176e65c}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}, and \hyperlink{classBWAPI_1_1UnitImpl_a58dbcb14539b10600a61de2e3fc61877}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}.



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


\hypertarget{classBWAPI_1_1Unit_ad77270a241d6d91cb9b1aa8500321282}{\index{\-B\-W\-A\-P\-I\-::\-Unit@{\-B\-W\-A\-P\-I\-::\-Unit}!is\-Sieged@{is\-Sieged}}
\index{is\-Sieged@{is\-Sieged}!BWAPI::Unit@{\-B\-W\-A\-P\-I\-::\-Unit}}
\subsubsection[{is\-Sieged}]{\setlength{\rightskip}{0pt plus 5cm}virtual bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-::is\-Sieged} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}\label{classBWAPI_1_1Unit_ad77270a241d6d91cb9b1aa8500321282}
\-Returns true if the unit is a \-Terran \-Siege \-Tank that is currently in \-Siege mode. \begin{DoxySeeAlso}{\-See also}
\hyperlink{classBWAPI_1_1Unit_ae13d3a70ebf54c6ddba218bbd197a1eb}{\-Unit\-::siege}, \hyperlink{classBWAPI_1_1Unit_a3d17e0872793cacdcbf63222e8c984ca}{\-Unit\-::unsiege}. 
\end{DoxySeeAlso}


\-Implemented in \hyperlink{classBWAPI_1_1UnitImpl_a82119bf45e5cd6b8d511245c40409613}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}, and \hyperlink{classBWAPI_1_1UnitImpl_a166baac5f878b36f0fea0d4906408ba1}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}.



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


\hypertarget{classBWAPI_1_1Unit_a47d1ea7e07cb0fc6f4579e699129c90b}{\index{\-B\-W\-A\-P\-I\-::\-Unit@{\-B\-W\-A\-P\-I\-::\-Unit}!is\-Starting\-Attack@{is\-Starting\-Attack}}
\index{is\-Starting\-Attack@{is\-Starting\-Attack}!BWAPI::Unit@{\-B\-W\-A\-P\-I\-::\-Unit}}
\subsubsection[{is\-Starting\-Attack}]{\setlength{\rightskip}{0pt plus 5cm}virtual bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-::is\-Starting\-Attack} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}\label{classBWAPI_1_1Unit_a47d1ea7e07cb0fc6f4579e699129c90b}
\-Returns true if the unit is starting to attack. \begin{DoxySeeAlso}{\-See also}
\-Unit\-::attack\-Unit, \hyperlink{classBWAPI_1_1Unit_a2854649fe52ef18b9f303145de6c1ac7}{\-Unit\-::get\-Ground\-Weapon\-Cooldown}, \hyperlink{classBWAPI_1_1Unit_a493012f34983859cbd8746c7ffd2793e}{\-Unit\-::get\-Air\-Weapon\-Cooldown}. 
\end{DoxySeeAlso}


\-Implemented in \hyperlink{classBWAPI_1_1UnitImpl_a71f4361d68e3c8ca007df71846dde78b}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}, and \hyperlink{classBWAPI_1_1UnitImpl_a9f325c66ea15a7bc7518393faf7c23e2}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}.



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


\hypertarget{classBWAPI_1_1Unit_afbf87083c9be9f4a3a9f979944ab8285}{\index{\-B\-W\-A\-P\-I\-::\-Unit@{\-B\-W\-A\-P\-I\-::\-Unit}!is\-Stasised@{is\-Stasised}}
\index{is\-Stasised@{is\-Stasised}!BWAPI::Unit@{\-B\-W\-A\-P\-I\-::\-Unit}}
\subsubsection[{is\-Stasised}]{\setlength{\rightskip}{0pt plus 5cm}virtual bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-::is\-Stasised} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}\label{classBWAPI_1_1Unit_afbf87083c9be9f4a3a9f979944ab8285}
\-Returns true if the unit has been stasised by a \-Protoss \-Arbiter. \begin{DoxySeeAlso}{\-See also}
\hyperlink{classBWAPI_1_1Unit_a231eae31282146aa023f51c5048627a6}{\-Unit\-::get\-Stasis\-Timer}. 
\end{DoxySeeAlso}


\-Implemented in \hyperlink{classBWAPI_1_1UnitImpl_a1858cca8100cafb0dc2153cf0ba15dd6}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}, and \hyperlink{classBWAPI_1_1UnitImpl_a9ef403bdab8ad3329a0feefce484d924}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}.



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


\hypertarget{classBWAPI_1_1Unit_a4dc922bd5d06c48d8434635be5642d52}{\index{\-B\-W\-A\-P\-I\-::\-Unit@{\-B\-W\-A\-P\-I\-::\-Unit}!is\-Stimmed@{is\-Stimmed}}
\index{is\-Stimmed@{is\-Stimmed}!BWAPI::Unit@{\-B\-W\-A\-P\-I\-::\-Unit}}
\subsubsection[{is\-Stimmed}]{\setlength{\rightskip}{0pt plus 5cm}virtual bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-::is\-Stimmed} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}\label{classBWAPI_1_1Unit_a4dc922bd5d06c48d8434635be5642d52}
\-Returns true if the unit is currently stimmed. \begin{DoxySeeAlso}{\-See also}
\hyperlink{classBWAPI_1_1Unit_a4a72d2f6cd7b37a38bb2f5ba2d6b08ad}{\-Unit\-::get\-Stim\-Timer}. 
\end{DoxySeeAlso}


\-Implemented in \hyperlink{classBWAPI_1_1UnitImpl_ae866dda907971f029a219588e3ada638}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}, and \hyperlink{classBWAPI_1_1UnitImpl_afc4188904f42985cc7cf8bc92fb87dbb}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}.



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


\hypertarget{classBWAPI_1_1Unit_ac1e4d5089001253b638378afc72c921a}{\index{\-B\-W\-A\-P\-I\-::\-Unit@{\-B\-W\-A\-P\-I\-::\-Unit}!is\-Stuck@{is\-Stuck}}
\index{is\-Stuck@{is\-Stuck}!BWAPI::Unit@{\-B\-W\-A\-P\-I\-::\-Unit}}
\subsubsection[{is\-Stuck}]{\setlength{\rightskip}{0pt plus 5cm}virtual bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-::is\-Stuck} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}\label{classBWAPI_1_1Unit_ac1e4d5089001253b638378afc72c921a}
\-Returns true if the unit is being pushed off of another unit 

\-Implemented in \hyperlink{classBWAPI_1_1UnitImpl_a6fcfca7531d663393983ddab5da8d205}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}, and \hyperlink{classBWAPI_1_1UnitImpl_acf526f2b82b5deb0c391ff9d85a5f606}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}.



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


\hypertarget{classBWAPI_1_1Unit_a2eef36e10eaacd8c99eead9b9025e093}{\index{\-B\-W\-A\-P\-I\-::\-Unit@{\-B\-W\-A\-P\-I\-::\-Unit}!issue\-Command@{issue\-Command}}
\index{issue\-Command@{issue\-Command}!BWAPI::Unit@{\-B\-W\-A\-P\-I\-::\-Unit}}
\subsubsection[{issue\-Command}]{\setlength{\rightskip}{0pt plus 5cm}virtual bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-::issue\-Command} (
\begin{DoxyParamCaption}
\item[{{\bf \-Unit\-Command}}]{command}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}\label{classBWAPI_1_1Unit_a2eef36e10eaacd8c99eead9b9025e093}
\-Issues the give unit command, or returns false if there is an error 

\-Implemented in \hyperlink{classBWAPI_1_1UnitImpl_a363dd3439314724512181475a4ad8a95}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}, and \hyperlink{classBWAPI_1_1UnitImpl_a7580a6a379b5c32d66ac825f627bf152}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}.

\hypertarget{classBWAPI_1_1Unit_a18683985e87770b2695a0662ef340ab1}{\index{\-B\-W\-A\-P\-I\-::\-Unit@{\-B\-W\-A\-P\-I\-::\-Unit}!is\-Training@{is\-Training}}
\index{is\-Training@{is\-Training}!BWAPI::Unit@{\-B\-W\-A\-P\-I\-::\-Unit}}
\subsubsection[{is\-Training}]{\setlength{\rightskip}{0pt plus 5cm}virtual bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-::is\-Training} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}\label{classBWAPI_1_1Unit_a18683985e87770b2695a0662ef340ab1}
\-Returns true if the unit is training units (i.\-e. a \-Barracks training \-Marines). \begin{DoxySeeAlso}{\-See also}
\hyperlink{classBWAPI_1_1Unit_a188a1a1b49ad5bc44531d63e93ce9825}{\-Unit\-::train}, \hyperlink{classBWAPI_1_1Unit_af81ad84273036f2c093df418ae3f5224}{\-Unit\-::get\-Training\-Queue}, \hyperlink{classBWAPI_1_1Unit_a87b8ca4640117d02d4c86d3512fe6e09}{\-Unit\-::cancel\-Train}, \hyperlink{classBWAPI_1_1Unit_affd47d2908b669c3fd3972ec06f08164}{\-Unit\-::get\-Remaining\-Train\-Time}. 
\end{DoxySeeAlso}


\-Implemented in \hyperlink{classBWAPI_1_1UnitImpl_af9af560d5bdc061d179c2d65434fad0e}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}, and \hyperlink{classBWAPI_1_1UnitImpl_a35e583ec55ecaa0362c8a8ecce29e102}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}.



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


\hypertarget{classBWAPI_1_1Unit_ae1b36036c54e05b9dac26e2dc3295752}{\index{\-B\-W\-A\-P\-I\-::\-Unit@{\-B\-W\-A\-P\-I\-::\-Unit}!is\-Under\-Attack@{is\-Under\-Attack}}
\index{is\-Under\-Attack@{is\-Under\-Attack}!BWAPI::Unit@{\-B\-W\-A\-P\-I\-::\-Unit}}
\subsubsection[{is\-Under\-Attack}]{\setlength{\rightskip}{0pt plus 5cm}virtual bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-::is\-Under\-Attack} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}\label{classBWAPI_1_1Unit_ae1b36036c54e05b9dac26e2dc3295752}
\-Returns true if the unit was recently attacked. 

\-Implemented in \hyperlink{classBWAPI_1_1UnitImpl_a2de95417028fc9426baeea9244c34339}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}, and \hyperlink{classBWAPI_1_1UnitImpl_ab00a23844dafaab1656bb1d3b54a332f}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}.



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


\hypertarget{classBWAPI_1_1Unit_af9debab6e509c10547ea5a5408b5a72c}{\index{\-B\-W\-A\-P\-I\-::\-Unit@{\-B\-W\-A\-P\-I\-::\-Unit}!is\-Under\-Dark\-Swarm@{is\-Under\-Dark\-Swarm}}
\index{is\-Under\-Dark\-Swarm@{is\-Under\-Dark\-Swarm}!BWAPI::Unit@{\-B\-W\-A\-P\-I\-::\-Unit}}
\subsubsection[{is\-Under\-Dark\-Swarm}]{\setlength{\rightskip}{0pt plus 5cm}virtual bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-::is\-Under\-Dark\-Swarm} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}\label{classBWAPI_1_1Unit_af9debab6e509c10547ea5a5408b5a72c}
\-Returns true if the unit is under a \-Dark \-Swarm. 

\-Implemented in \hyperlink{classBWAPI_1_1UnitImpl_a0c5b10e72d1388a033d575da242c32fc}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}, and \hyperlink{classBWAPI_1_1UnitImpl_abd964231c551ebd90b32c26264145bf8}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}.

\hypertarget{classBWAPI_1_1Unit_a22b9a4ef1ead68e176d6aabfd904128a}{\index{\-B\-W\-A\-P\-I\-::\-Unit@{\-B\-W\-A\-P\-I\-::\-Unit}!is\-Under\-Disruption\-Web@{is\-Under\-Disruption\-Web}}
\index{is\-Under\-Disruption\-Web@{is\-Under\-Disruption\-Web}!BWAPI::Unit@{\-B\-W\-A\-P\-I\-::\-Unit}}
\subsubsection[{is\-Under\-Disruption\-Web}]{\setlength{\rightskip}{0pt plus 5cm}virtual bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-::is\-Under\-Disruption\-Web} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}\label{classBWAPI_1_1Unit_a22b9a4ef1ead68e176d6aabfd904128a}
\-Returns true if the unit is under a \-Disruption \-Web. 

\-Implemented in \hyperlink{classBWAPI_1_1UnitImpl_ac1c7ca60b5d87c98f273d888330946df}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}, and \hyperlink{classBWAPI_1_1UnitImpl_a400047dd56b234c4126101806b876f6e}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}.

\hypertarget{classBWAPI_1_1Unit_afcf416f91e37f20b8380dca2a1d43eae}{\index{\-B\-W\-A\-P\-I\-::\-Unit@{\-B\-W\-A\-P\-I\-::\-Unit}!is\-Under\-Storm@{is\-Under\-Storm}}
\index{is\-Under\-Storm@{is\-Under\-Storm}!BWAPI::Unit@{\-B\-W\-A\-P\-I\-::\-Unit}}
\subsubsection[{is\-Under\-Storm}]{\setlength{\rightskip}{0pt plus 5cm}virtual bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-::is\-Under\-Storm} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}\label{classBWAPI_1_1Unit_afcf416f91e37f20b8380dca2a1d43eae}
\-Returns true if the unit is under a \-Protoss \-Psionic \-Storm. 

\-Implemented in \hyperlink{classBWAPI_1_1UnitImpl_a5e855e2976c368218cdc2f093a664535}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}, and \hyperlink{classBWAPI_1_1UnitImpl_a6e744ed65ea8e5768a5d8878d114f037}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}.



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


\hypertarget{classBWAPI_1_1Unit_a8370fe1d617a7dbc349f29150b674aed}{\index{\-B\-W\-A\-P\-I\-::\-Unit@{\-B\-W\-A\-P\-I\-::\-Unit}!is\-Unpowered@{is\-Unpowered}}
\index{is\-Unpowered@{is\-Unpowered}!BWAPI::Unit@{\-B\-W\-A\-P\-I\-::\-Unit}}
\subsubsection[{is\-Unpowered}]{\setlength{\rightskip}{0pt plus 5cm}virtual bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-::is\-Unpowered} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}\label{classBWAPI_1_1Unit_a8370fe1d617a7dbc349f29150b674aed}
\-Returns true if the unit is a \-Protoss building that is unpowered because no pylons are in range. 

\-Implemented in \hyperlink{classBWAPI_1_1UnitImpl_a695cec42161d46b1f1ed76da37ff6864}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}, and \hyperlink{classBWAPI_1_1UnitImpl_a194762fa462efdc62e7daba7ddd3f46f}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}.



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


\hypertarget{classBWAPI_1_1Unit_ac0535f3af62cfdb352c982371421d48b}{\index{\-B\-W\-A\-P\-I\-::\-Unit@{\-B\-W\-A\-P\-I\-::\-Unit}!is\-Upgrading@{is\-Upgrading}}
\index{is\-Upgrading@{is\-Upgrading}!BWAPI::Unit@{\-B\-W\-A\-P\-I\-::\-Unit}}
\subsubsection[{is\-Upgrading}]{\setlength{\rightskip}{0pt plus 5cm}virtual bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-::is\-Upgrading} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}\label{classBWAPI_1_1Unit_ac0535f3af62cfdb352c982371421d48b}
\-Returns true if the unit is a building that is upgrading. \-See \hyperlink{namespaceBWAPI_1_1UpgradeTypes}{\-Upgrade\-Types} for the complete list of available upgrades in \-Broodwar. \begin{DoxySeeAlso}{\-See also}
\hyperlink{classBWAPI_1_1Unit_a9423c81efd5c269b955a723b664bddd9}{\-Unit\-::upgrade}, \hyperlink{classBWAPI_1_1Unit_a5350bd798bc2c0702d567ef07042d182}{\-Unit\-::cancel\-Upgrade}, \hyperlink{classBWAPI_1_1Unit_a628a6901e954b6a2708f9d1d16acedf4}{\-Unit\-::get\-Upgrade}, \hyperlink{classBWAPI_1_1Unit_a0173d7266e891fb61e66386b9696f696}{\-Unit\-::get\-Remaining\-Upgrade\-Time}. 
\end{DoxySeeAlso}


\-Implemented in \hyperlink{classBWAPI_1_1UnitImpl_a6e7f032900225a0e647ba5722e16e73d}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}, and \hyperlink{classBWAPI_1_1UnitImpl_a0ca70795a760b509695b7db16dfb8dc4}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}.



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


\hypertarget{classBWAPI_1_1Unit_a89f80dff4a1f766c1c82957404451949}{\index{\-B\-W\-A\-P\-I\-::\-Unit@{\-B\-W\-A\-P\-I\-::\-Unit}!is\-Visible@{is\-Visible}}
\index{is\-Visible@{is\-Visible}!BWAPI::Unit@{\-B\-W\-A\-P\-I\-::\-Unit}}
\subsubsection[{is\-Visible}]{\setlength{\rightskip}{0pt plus 5cm}virtual bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-::is\-Visible} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}\label{classBWAPI_1_1Unit_a89f80dff4a1f766c1c82957404451949}
\-Returns true if the unit is visible. \-If the \-Complete\-Map\-Information? cheat flag is enabled, existing units hidden by the fog of war will be accessible, but is\-Visible will still return false. \begin{DoxySeeAlso}{\-See also}
\hyperlink{classBWAPI_1_1Unit_a504c79688ceeba71c6fcb2bd441b91f1}{\-Unit\-::exists}. 
\end{DoxySeeAlso}


\-Implemented in \hyperlink{classBWAPI_1_1UnitImpl_ac5b82ebcf5c9ceb8f9b5b3c2fe7305e2}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}, and \hyperlink{classBWAPI_1_1UnitImpl_aa8804b574d9fd69d7ad1719b3b9ec2bb}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}.



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


\hypertarget{classBWAPI_1_1Unit_a7aa7dfa2664ef2a82a5791bb79b1d9ac}{\index{\-B\-W\-A\-P\-I\-::\-Unit@{\-B\-W\-A\-P\-I\-::\-Unit}!is\-Visible@{is\-Visible}}
\index{is\-Visible@{is\-Visible}!BWAPI::Unit@{\-B\-W\-A\-P\-I\-::\-Unit}}
\subsubsection[{is\-Visible}]{\setlength{\rightskip}{0pt plus 5cm}virtual bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-::is\-Visible} (
\begin{DoxyParamCaption}
\item[{{\bf \-Player} $\ast$}]{player}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}\label{classBWAPI_1_1Unit_a7aa7dfa2664ef2a82a5791bb79b1d9ac}


\-Implemented in \hyperlink{classBWAPI_1_1UnitImpl_ac60941fdeb7e2198a4611b1c5adf0791}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}, and \hyperlink{classBWAPI_1_1UnitImpl_aaeec40f653ba19c133e5b52eb2bfae15}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}.

\hypertarget{classBWAPI_1_1Unit_affda870d56dd74d695412f6e4702e2c8}{\index{\-B\-W\-A\-P\-I\-::\-Unit@{\-B\-W\-A\-P\-I\-::\-Unit}!land@{land}}
\index{land@{land}!BWAPI::Unit@{\-B\-W\-A\-P\-I\-::\-Unit}}
\subsubsection[{land}]{\setlength{\rightskip}{0pt plus 5cm}virtual bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-::land} (
\begin{DoxyParamCaption}
\item[{{\bf \-Tile\-Position}}]{target}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}\label{classBWAPI_1_1Unit_affda870d56dd74d695412f6e4702e2c8}
\hyperlink{namespaceBWAPI_1_1Orders}{\-Orders} the unit to land. \-Note\-: unit must be a \-Terran building that is currently lifted. \begin{DoxySeeAlso}{\-See also}
\hyperlink{classBWAPI_1_1Unit_ae20b6434bbd4fdcff8ad3970898f3db0}{\-Unit\-::lift}, \hyperlink{classBWAPI_1_1Unit_a594243c972c919472c31de494e33be1a}{\-Unit\-::is\-Lifted}. 
\end{DoxySeeAlso}


\-Implemented in \hyperlink{classBWAPI_1_1UnitImpl_a95ec829701ef99bee5e4c05fffe5bcc1}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}, and \hyperlink{classBWAPI_1_1UnitImpl_a37ee1717dd8158ec5644c1e483392033}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}.



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


\hypertarget{classBWAPI_1_1Unit_ae20b6434bbd4fdcff8ad3970898f3db0}{\index{\-B\-W\-A\-P\-I\-::\-Unit@{\-B\-W\-A\-P\-I\-::\-Unit}!lift@{lift}}
\index{lift@{lift}!BWAPI::Unit@{\-B\-W\-A\-P\-I\-::\-Unit}}
\subsubsection[{lift}]{\setlength{\rightskip}{0pt plus 5cm}virtual bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-::lift} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}\label{classBWAPI_1_1Unit_ae20b6434bbd4fdcff8ad3970898f3db0}
\hyperlink{namespaceBWAPI_1_1Orders}{\-Orders} the unit to lift. \-Note\-: unit must be a \-Terran building that can be lifted. \begin{DoxySeeAlso}{\-See also}
\hyperlink{classBWAPI_1_1Unit_affda870d56dd74d695412f6e4702e2c8}{\-Unit\-::land}, \hyperlink{classBWAPI_1_1Unit_a594243c972c919472c31de494e33be1a}{\-Unit\-::is\-Lifted}. 
\end{DoxySeeAlso}


\-Implemented in \hyperlink{classBWAPI_1_1UnitImpl_ab1083df52fb4bb30f2ff6e44fcf937c4}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}, and \hyperlink{classBWAPI_1_1UnitImpl_a7a70563e80420fb680b2118aa264e84b}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}.



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


\hypertarget{classBWAPI_1_1Unit_a46fc8801abc507e40ab65423ef2299bf}{\index{\-B\-W\-A\-P\-I\-::\-Unit@{\-B\-W\-A\-P\-I\-::\-Unit}!load@{load}}
\index{load@{load}!BWAPI::Unit@{\-B\-W\-A\-P\-I\-::\-Unit}}
\subsubsection[{load}]{\setlength{\rightskip}{0pt plus 5cm}virtual bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-::load} (
\begin{DoxyParamCaption}
\item[{{\bf \-Unit} $\ast$}]{target, }
\item[{bool}]{shift\-Queue\-Command = {\ttfamily false}}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}\label{classBWAPI_1_1Unit_a46fc8801abc507e40ab65423ef2299bf}
\hyperlink{namespaceBWAPI_1_1Orders}{\-Orders} the unit to load the target unit. \begin{DoxySeeAlso}{\-See also}
\hyperlink{classBWAPI_1_1Unit_a75a85047926184c0f59fa4eec0844fe1}{\-Unit\-::unload}, \hyperlink{classBWAPI_1_1Unit_a7be1d1f2b6673c4022476364a70fdc52}{\-Unit\-::unload\-All}, \hyperlink{classBWAPI_1_1Unit_a466e67482801bc8c6c2faac092e5f4cd}{\-Unit\-::get\-Loaded\-Units}, \hyperlink{classBWAPI_1_1Unit}{\-Unit}\-:\hyperlink{classBWAPI_1_1Unit_aea692c03778837fe3a4b7e45024c728a}{is\-Loaded}. 
\end{DoxySeeAlso}


\-Implemented in \hyperlink{classBWAPI_1_1UnitImpl_a2f60ebf9a985d321df2bd134d31abd4f}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}, and \hyperlink{classBWAPI_1_1UnitImpl_a3a3954a92e57536101919d5df13f069f}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}.



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


\hypertarget{classBWAPI_1_1Unit_a31531f0f10ecd132cc400d2d8b2d7435}{\index{\-B\-W\-A\-P\-I\-::\-Unit@{\-B\-W\-A\-P\-I\-::\-Unit}!morph@{morph}}
\index{morph@{morph}!BWAPI::Unit@{\-B\-W\-A\-P\-I\-::\-Unit}}
\subsubsection[{morph}]{\setlength{\rightskip}{0pt plus 5cm}virtual bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-::morph} (
\begin{DoxyParamCaption}
\item[{{\bf \-Unit\-Type}}]{type}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}\label{classBWAPI_1_1Unit_a31531f0f10ecd132cc400d2d8b2d7435}
\hyperlink{namespaceBWAPI_1_1Orders}{\-Orders} the unit to morph into the specified unit type. \-Returns false if given a wrong type. \begin{DoxySeeAlso}{\-See also}
\hyperlink{classBWAPI_1_1Unit_a4931c3a42ec9faf82cd4071b65378734}{\-Unit\-::cancel\-Morph}, \hyperlink{classBWAPI_1_1Unit_a4e662fdd2d99caa654e9ed8dd25d6872}{\-Unit\-::is\-Morphing}. 
\end{DoxySeeAlso}


\-Implemented in \hyperlink{classBWAPI_1_1UnitImpl_a054331f135babb3231314a308643e93d}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}, and \hyperlink{classBWAPI_1_1UnitImpl_abc4ea1e3bcca21f72b8aa771f655888b}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}.



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


\hypertarget{classBWAPI_1_1Unit_aed7a525a69da25440c7f7b727da65a2d}{\index{\-B\-W\-A\-P\-I\-::\-Unit@{\-B\-W\-A\-P\-I\-::\-Unit}!move@{move}}
\index{move@{move}!BWAPI::Unit@{\-B\-W\-A\-P\-I\-::\-Unit}}
\subsubsection[{move}]{\setlength{\rightskip}{0pt plus 5cm}virtual bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-::move} (
\begin{DoxyParamCaption}
\item[{{\bf \-Position}}]{target, }
\item[{bool}]{shift\-Queue\-Command = {\ttfamily false}}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}\label{classBWAPI_1_1Unit_aed7a525a69da25440c7f7b727da65a2d}
\hyperlink{namespaceBWAPI_1_1Orders}{\-Orders} the unit to move from its current position to the specified position. \begin{DoxySeeAlso}{\-See also}
\hyperlink{classBWAPI_1_1Unit_a4e06d257144dcbe41b2c850308a55d4f}{\-Unit\-::is\-Moving}. 
\end{DoxySeeAlso}


\-Implemented in \hyperlink{classBWAPI_1_1UnitImpl_af8804a8a0da7112a0f14fce3c95ef1f1}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}, and \hyperlink{classBWAPI_1_1UnitImpl_a8218091f869fc1b0db2fc8d3eda7f977}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}.



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


\hypertarget{classBWAPI_1_1Unit_acdb362719f41255f9566f798f1c61892}{\index{\-B\-W\-A\-P\-I\-::\-Unit@{\-B\-W\-A\-P\-I\-::\-Unit}!patrol@{patrol}}
\index{patrol@{patrol}!BWAPI::Unit@{\-B\-W\-A\-P\-I\-::\-Unit}}
\subsubsection[{patrol}]{\setlength{\rightskip}{0pt plus 5cm}virtual bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-::patrol} (
\begin{DoxyParamCaption}
\item[{{\bf \-Position}}]{target, }
\item[{bool}]{shift\-Queue\-Command = {\ttfamily false}}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}\label{classBWAPI_1_1Unit_acdb362719f41255f9566f798f1c61892}
\hyperlink{namespaceBWAPI_1_1Orders}{\-Orders} the unit to patrol between its current position and the specified position. \begin{DoxySeeAlso}{\-See also}
\hyperlink{classBWAPI_1_1Unit_a11ade36634a3635b55de1071b4deda0e}{\-Unit\-::is\-Patrolling}. 
\end{DoxySeeAlso}


\-Implemented in \hyperlink{classBWAPI_1_1UnitImpl_a0e932128612e015746a489e2c0bad47c}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}, and \hyperlink{classBWAPI_1_1UnitImpl_ac1ceff88cf74d53d7c875c35db71f044}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}.



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


\hypertarget{classBWAPI_1_1Unit_ab425a1e7280e9931a32d13dac00fcd22}{\index{\-B\-W\-A\-P\-I\-::\-Unit@{\-B\-W\-A\-P\-I\-::\-Unit}!place\-C\-O\-P@{place\-C\-O\-P}}
\index{place\-C\-O\-P@{place\-C\-O\-P}!BWAPI::Unit@{\-B\-W\-A\-P\-I\-::\-Unit}}
\subsubsection[{place\-C\-O\-P}]{\setlength{\rightskip}{0pt plus 5cm}virtual bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-::place\-C\-O\-P} (
\begin{DoxyParamCaption}
\item[{{\bf \-Tile\-Position}}]{target}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}\label{classBWAPI_1_1Unit_ab425a1e7280e9931a32d13dac00fcd22}
\-Moves a \hyperlink{namespaceBWAPI_1_1Flag}{\-Flag} \-Beacon to the target location. 

\-Implemented in \hyperlink{classBWAPI_1_1UnitImpl_aea2da6633b08f6321058e3cc680c1268}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}, and \hyperlink{classBWAPI_1_1UnitImpl_a9a96d27d96d54367952ffdd6c604fb30}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}.

\hypertarget{classBWAPI_1_1Unit_a602fe7e2c44a17c7ec31728eebd9acf9}{\index{\-B\-W\-A\-P\-I\-::\-Unit@{\-B\-W\-A\-P\-I\-::\-Unit}!repair@{repair}}
\index{repair@{repair}!BWAPI::Unit@{\-B\-W\-A\-P\-I\-::\-Unit}}
\subsubsection[{repair}]{\setlength{\rightskip}{0pt plus 5cm}virtual bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-::repair} (
\begin{DoxyParamCaption}
\item[{{\bf \-Unit} $\ast$}]{target, }
\item[{bool}]{shift\-Queue\-Command = {\ttfamily false}}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}\label{classBWAPI_1_1Unit_a602fe7e2c44a17c7ec31728eebd9acf9}
\hyperlink{namespaceBWAPI_1_1Orders}{\-Orders} the unit to repair the specified unit. \-Only \-Terran \-S\-C\-Vs can be ordered to repair, and the target must be a mechanical \-Terran unit or building. \begin{DoxySeeAlso}{\-See also}
\hyperlink{classBWAPI_1_1Unit_a78f3646b700a811d8a3fe5f53ee42a68}{\-Unit\-::is\-Repairing}. 
\end{DoxySeeAlso}


\-Implemented in \hyperlink{classBWAPI_1_1UnitImpl_a7af4d0478f0b6a93d36be8cb409c09d5}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}, and \hyperlink{classBWAPI_1_1UnitImpl_a9e31b386d440753e74491d3a93c5a6f0}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}.



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


\hypertarget{classBWAPI_1_1Unit_a6d7ad38052b28cb8f359168d64a862b5}{\index{\-B\-W\-A\-P\-I\-::\-Unit@{\-B\-W\-A\-P\-I\-::\-Unit}!research@{research}}
\index{research@{research}!BWAPI::Unit@{\-B\-W\-A\-P\-I\-::\-Unit}}
\subsubsection[{research}]{\setlength{\rightskip}{0pt plus 5cm}virtual bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-::research} (
\begin{DoxyParamCaption}
\item[{{\bf \-Tech\-Type}}]{tech}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}\label{classBWAPI_1_1Unit_a6d7ad38052b28cb8f359168d64a862b5}
\hyperlink{namespaceBWAPI_1_1Orders}{\-Orders} the unit to research the given tech type. \begin{DoxySeeAlso}{\-See also}
\hyperlink{classBWAPI_1_1Unit_a4048993d8f18ccd359838a50d570086b}{\-Unit\-::cancel\-Research}, \-Unit\-::\-Unit\-::is\-Researching, \hyperlink{classBWAPI_1_1Unit_ae04e5e00f01f08fbaaf970369f01a2cb}{\-Unit\-::get\-Remaining\-Research\-Time}, \hyperlink{classBWAPI_1_1Unit_a11331855e5119240177a08b1382563e6}{\-Unit\-::get\-Tech}. 
\end{DoxySeeAlso}


\-Implemented in \hyperlink{classBWAPI_1_1UnitImpl_abc8c15ca1e8c048c7de2d5b6482f0267}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}, and \hyperlink{classBWAPI_1_1UnitImpl_a3264f23c079d7e94ce5d5370d1a52bcd}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}.



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


\hypertarget{classBWAPI_1_1Unit_a4746cbb14a79728da63bdae7711e9cb6}{\index{\-B\-W\-A\-P\-I\-::\-Unit@{\-B\-W\-A\-P\-I\-::\-Unit}!return\-Cargo@{return\-Cargo}}
\index{return\-Cargo@{return\-Cargo}!BWAPI::Unit@{\-B\-W\-A\-P\-I\-::\-Unit}}
\subsubsection[{return\-Cargo}]{\setlength{\rightskip}{0pt plus 5cm}virtual bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-::return\-Cargo} (
\begin{DoxyParamCaption}
\item[{bool}]{shift\-Queue\-Command = {\ttfamily false}}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}\label{classBWAPI_1_1Unit_a4746cbb14a79728da63bdae7711e9cb6}
\hyperlink{namespaceBWAPI_1_1Orders}{\-Orders} the unit to return its cargo to a nearby resource depot such as a \hyperlink{classBWAPI_1_1Command}{\-Command} \-Center. \-Only workers that are carrying minerals or gas can be ordered to return cargo. \begin{DoxySeeAlso}{\-See also}
\hyperlink{classBWAPI_1_1Unit_a84d6614da57d7385be11f58ed1457f4c}{\-Unit\-::is\-Carrying\-Gas}, \hyperlink{classBWAPI_1_1Unit_a09aa92e8eb287f75e654b0642819b0b9}{\-Unit\-::is\-Carrying\-Minerals}. 
\end{DoxySeeAlso}


\-Implemented in \hyperlink{classBWAPI_1_1UnitImpl_a34d9b8619054a4da3c940b5bb3a72c0e}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}, and \hyperlink{classBWAPI_1_1UnitImpl_a3e73cb04e276737814827e452c2f397c}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}.



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


\hypertarget{classBWAPI_1_1Unit_a8f3e60dc932fa3608526d52a2eaf30a2}{\index{\-B\-W\-A\-P\-I\-::\-Unit@{\-B\-W\-A\-P\-I\-::\-Unit}!right\-Click@{right\-Click}}
\index{right\-Click@{right\-Click}!BWAPI::Unit@{\-B\-W\-A\-P\-I\-::\-Unit}}
\subsubsection[{right\-Click}]{\setlength{\rightskip}{0pt plus 5cm}virtual bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-::right\-Click} (
\begin{DoxyParamCaption}
\item[{{\bf \-Position}}]{target, }
\item[{bool}]{shift\-Queue\-Command = {\ttfamily false}}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}\label{classBWAPI_1_1Unit_a8f3e60dc932fa3608526d52a2eaf30a2}
\-Works like the right click in the \-G\-U\-I. 

\-Implemented in \hyperlink{classBWAPI_1_1UnitImpl_ad1f1c82ee07ecea55556806bc28256b5}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}, and \hyperlink{classBWAPI_1_1UnitImpl_a0ad15295eb6bf2d84564ef23b1e60fb1}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}.



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


\hypertarget{classBWAPI_1_1Unit_ad33d76392fac74dd2b3905aa0a899b54}{\index{\-B\-W\-A\-P\-I\-::\-Unit@{\-B\-W\-A\-P\-I\-::\-Unit}!right\-Click@{right\-Click}}
\index{right\-Click@{right\-Click}!BWAPI::Unit@{\-B\-W\-A\-P\-I\-::\-Unit}}
\subsubsection[{right\-Click}]{\setlength{\rightskip}{0pt plus 5cm}virtual bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-::right\-Click} (
\begin{DoxyParamCaption}
\item[{{\bf \-Unit} $\ast$}]{target, }
\item[{bool}]{shift\-Queue\-Command = {\ttfamily false}}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}\label{classBWAPI_1_1Unit_ad33d76392fac74dd2b3905aa0a899b54}
\-Works like the right click in the \-G\-U\-I. \-Right click on a mineral patch to order a worker to mine, right click on an enemy to attack it. 

\-Implemented in \hyperlink{classBWAPI_1_1UnitImpl_ab82c61678f3d4f811b2f430a7acbf4d9}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}, and \hyperlink{classBWAPI_1_1UnitImpl_a43e849eee8fe358e8436f686b5233416}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}.

\hypertarget{classBWAPI_1_1Unit_a1005139a09fd0fd5de310913ac990d60}{\index{\-B\-W\-A\-P\-I\-::\-Unit@{\-B\-W\-A\-P\-I\-::\-Unit}!set\-Client\-Info@{set\-Client\-Info}}
\index{set\-Client\-Info@{set\-Client\-Info}!BWAPI::Unit@{\-B\-W\-A\-P\-I\-::\-Unit}}
\subsubsection[{set\-Client\-Info}]{\setlength{\rightskip}{0pt plus 5cm}virtual void {\bf \-B\-W\-A\-P\-I\-::\-Unit\-::set\-Client\-Info} (
\begin{DoxyParamCaption}
\item[{void $\ast$}]{clientinfo}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}\label{classBWAPI_1_1Unit_a1005139a09fd0fd5de310913ac990d60}
\-Sets the unit's custom client info. \-The client is responsible for deallocation. 

\-Implemented in \hyperlink{classBWAPI_1_1UnitImpl_a13a83bd4d7fa70db796876ebc4554c75}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}, and \hyperlink{classBWAPI_1_1UnitImpl_aa5c5325dca6f4c40dbdf9dc953f74577}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}.



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


\hypertarget{classBWAPI_1_1Unit_a8c1c5ce8aa91c3804794b6fc057df6df}{\index{\-B\-W\-A\-P\-I\-::\-Unit@{\-B\-W\-A\-P\-I\-::\-Unit}!set\-Rally\-Point@{set\-Rally\-Point}}
\index{set\-Rally\-Point@{set\-Rally\-Point}!BWAPI::Unit@{\-B\-W\-A\-P\-I\-::\-Unit}}
\subsubsection[{set\-Rally\-Point}]{\setlength{\rightskip}{0pt plus 5cm}virtual bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-::set\-Rally\-Point} (
\begin{DoxyParamCaption}
\item[{{\bf \-Position}}]{target}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}\label{classBWAPI_1_1Unit_a8c1c5ce8aa91c3804794b6fc057df6df}
\hyperlink{namespaceBWAPI_1_1Orders}{\-Orders} the unit to set its rally position to the specified position. \begin{DoxySeeAlso}{\-See also}
\hyperlink{classBWAPI_1_1Unit_a20841c377bd9741c191db0fc98ad4f98}{\-Unit\-::get\-Rally\-Position}, \hyperlink{classBWAPI_1_1Unit_a68f089b52185206ee3e949ea19d1c274}{\-Unit\-::get\-Rally\-Unit}. 
\end{DoxySeeAlso}


\-Implemented in \hyperlink{classBWAPI_1_1UnitImpl_a130eb40e8e9564c88304f5fed2870a75}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}, and \hyperlink{classBWAPI_1_1UnitImpl_aa6fa1849bb2ae728bf0fe2c74703b706}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}.



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


\hypertarget{classBWAPI_1_1Unit_acb5d3053dbbdca06dbe1ecb011305dad}{\index{\-B\-W\-A\-P\-I\-::\-Unit@{\-B\-W\-A\-P\-I\-::\-Unit}!set\-Rally\-Point@{set\-Rally\-Point}}
\index{set\-Rally\-Point@{set\-Rally\-Point}!BWAPI::Unit@{\-B\-W\-A\-P\-I\-::\-Unit}}
\subsubsection[{set\-Rally\-Point}]{\setlength{\rightskip}{0pt plus 5cm}virtual bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-::set\-Rally\-Point} (
\begin{DoxyParamCaption}
\item[{{\bf \-Unit} $\ast$}]{target}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}\label{classBWAPI_1_1Unit_acb5d3053dbbdca06dbe1ecb011305dad}
\hyperlink{namespaceBWAPI_1_1Orders}{\-Orders} the unit to set its rally unit to the specified unit. \begin{DoxySeeAlso}{\-See also}
\-Unit\-::set\-Rally\-Position, \hyperlink{classBWAPI_1_1Unit_a20841c377bd9741c191db0fc98ad4f98}{\-Unit\-::get\-Rally\-Position}, \hyperlink{classBWAPI_1_1Unit_a68f089b52185206ee3e949ea19d1c274}{\-Unit\-::get\-Rally\-Unit}. 
\end{DoxySeeAlso}


\-Implemented in \hyperlink{classBWAPI_1_1UnitImpl_aaef63aea5fb14a62e39cf72f881df0f7}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}, and \hyperlink{classBWAPI_1_1UnitImpl_ab543cd398721f748e1dcfb6a2cddb5e8}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}.

\hypertarget{classBWAPI_1_1Unit_ae13d3a70ebf54c6ddba218bbd197a1eb}{\index{\-B\-W\-A\-P\-I\-::\-Unit@{\-B\-W\-A\-P\-I\-::\-Unit}!siege@{siege}}
\index{siege@{siege}!BWAPI::Unit@{\-B\-W\-A\-P\-I\-::\-Unit}}
\subsubsection[{siege}]{\setlength{\rightskip}{0pt plus 5cm}virtual bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-::siege} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}\label{classBWAPI_1_1Unit_ae13d3a70ebf54c6ddba218bbd197a1eb}
\hyperlink{namespaceBWAPI_1_1Orders}{\-Orders} the unit to siege. \-Note\-: unit must be a \-Terran siege tank. \begin{DoxySeeAlso}{\-See also}
\hyperlink{classBWAPI_1_1Unit_a3d17e0872793cacdcbf63222e8c984ca}{\-Unit\-::unsiege}, \hyperlink{classBWAPI_1_1Unit_ad77270a241d6d91cb9b1aa8500321282}{\-Unit\-::is\-Sieged}. 
\end{DoxySeeAlso}


\-Implemented in \hyperlink{classBWAPI_1_1UnitImpl_aef3ff856b84c8b838515c63b939ba7d9}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}, and \hyperlink{classBWAPI_1_1UnitImpl_a7363a73b03eb5b8f934b3843f275c49e}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}.



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


\hypertarget{classBWAPI_1_1Unit_aa030ad69397b659d74dd1186fd2b4cc1}{\index{\-B\-W\-A\-P\-I\-::\-Unit@{\-B\-W\-A\-P\-I\-::\-Unit}!stop@{stop}}
\index{stop@{stop}!BWAPI::Unit@{\-B\-W\-A\-P\-I\-::\-Unit}}
\subsubsection[{stop}]{\setlength{\rightskip}{0pt plus 5cm}virtual bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-::stop} (
\begin{DoxyParamCaption}
\item[{bool}]{shift\-Queue\-Command = {\ttfamily false}}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}\label{classBWAPI_1_1Unit_aa030ad69397b659d74dd1186fd2b4cc1}
\hyperlink{namespaceBWAPI_1_1Orders}{\-Orders} the unit to stop. 

\-Implemented in \hyperlink{classBWAPI_1_1UnitImpl_a8f88c355230a2ebb8e9f583fd4526ab5}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}, and \hyperlink{classBWAPI_1_1UnitImpl_affd186dd0b50d8d222df6aa9439d5af5}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}.



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


\hypertarget{classBWAPI_1_1Unit_a188a1a1b49ad5bc44531d63e93ce9825}{\index{\-B\-W\-A\-P\-I\-::\-Unit@{\-B\-W\-A\-P\-I\-::\-Unit}!train@{train}}
\index{train@{train}!BWAPI::Unit@{\-B\-W\-A\-P\-I\-::\-Unit}}
\subsubsection[{train}]{\setlength{\rightskip}{0pt plus 5cm}virtual bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-::train} (
\begin{DoxyParamCaption}
\item[{{\bf \-Unit\-Type}}]{type}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}\label{classBWAPI_1_1Unit_a188a1a1b49ad5bc44531d63e93ce9825}
\hyperlink{namespaceBWAPI_1_1Orders}{\-Orders} this unit to add the specified unit type to the training queue. \-Note that the player must have sufficient resources to train. \-If you wish to make units from a hatchery, use get\-Larva to get the larva associated with the hatchery and then call morph on the larva you want to morph. \-This command can also be used to make interceptors and scarabs. 

\-Implemented in \hyperlink{classBWAPI_1_1UnitImpl_aa4c712e12653ef772915d07a2bcf975b}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}, and \hyperlink{classBWAPI_1_1UnitImpl_a112271e0dc1269977c1c8a3b6d05bc5f}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}.



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


\hypertarget{classBWAPI_1_1Unit_a48d98e8ff3c1e70ad904d0ac7f65b6de}{\index{\-B\-W\-A\-P\-I\-::\-Unit@{\-B\-W\-A\-P\-I\-::\-Unit}!unburrow@{unburrow}}
\index{unburrow@{unburrow}!BWAPI::Unit@{\-B\-W\-A\-P\-I\-::\-Unit}}
\subsubsection[{unburrow}]{\setlength{\rightskip}{0pt plus 5cm}virtual bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-::unburrow} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}\label{classBWAPI_1_1Unit_a48d98e8ff3c1e70ad904d0ac7f65b6de}
\hyperlink{namespaceBWAPI_1_1Orders}{\-Orders} the burrowed unit to unburrow. \begin{DoxySeeAlso}{\-See also}
\-: \hyperlink{classBWAPI_1_1Unit_a66f0e66b4017a0b8bbc74de60804ab4b}{\-Unit\-::burrow}, \hyperlink{classBWAPI_1_1Unit_a1117bce4ca4edd95cdf84280e0b00fdd}{\-Unit\-::is\-Burrowed}. 
\end{DoxySeeAlso}


\-Implemented in \hyperlink{classBWAPI_1_1UnitImpl_ae0f347a768e8eaf70c0d457c386b05a2}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}, and \hyperlink{classBWAPI_1_1UnitImpl_ab5fa83991900d3a78246d162fe449791}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}.



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


\hypertarget{classBWAPI_1_1Unit_a75a85047926184c0f59fa4eec0844fe1}{\index{\-B\-W\-A\-P\-I\-::\-Unit@{\-B\-W\-A\-P\-I\-::\-Unit}!unload@{unload}}
\index{unload@{unload}!BWAPI::Unit@{\-B\-W\-A\-P\-I\-::\-Unit}}
\subsubsection[{unload}]{\setlength{\rightskip}{0pt plus 5cm}virtual bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-::unload} (
\begin{DoxyParamCaption}
\item[{{\bf \-Unit} $\ast$}]{target}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}\label{classBWAPI_1_1Unit_a75a85047926184c0f59fa4eec0844fe1}
\hyperlink{namespaceBWAPI_1_1Orders}{\-Orders} the unit to unload the target unit. \begin{DoxySeeAlso}{\-See also}
\hyperlink{classBWAPI_1_1Unit_a46fc8801abc507e40ab65423ef2299bf}{\-Unit\-::load}, \hyperlink{classBWAPI_1_1Unit_a7be1d1f2b6673c4022476364a70fdc52}{\-Unit\-::unload\-All}, \hyperlink{classBWAPI_1_1Unit_a466e67482801bc8c6c2faac092e5f4cd}{\-Unit\-::get\-Loaded\-Units}, \hyperlink{classBWAPI_1_1Unit}{\-Unit}\-:\hyperlink{classBWAPI_1_1Unit_aea692c03778837fe3a4b7e45024c728a}{is\-Loaded}. 
\end{DoxySeeAlso}


\-Implemented in \hyperlink{classBWAPI_1_1UnitImpl_a550c458ec02ef079d2982900b3fca754}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}, and \hyperlink{classBWAPI_1_1UnitImpl_aff3af08ac741bacea320959a3acd6752}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}.



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


\hypertarget{classBWAPI_1_1Unit_a7be1d1f2b6673c4022476364a70fdc52}{\index{\-B\-W\-A\-P\-I\-::\-Unit@{\-B\-W\-A\-P\-I\-::\-Unit}!unload\-All@{unload\-All}}
\index{unload\-All@{unload\-All}!BWAPI::Unit@{\-B\-W\-A\-P\-I\-::\-Unit}}
\subsubsection[{unload\-All}]{\setlength{\rightskip}{0pt plus 5cm}virtual bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-::unload\-All} (
\begin{DoxyParamCaption}
\item[{bool}]{shift\-Queue\-Command = {\ttfamily false}}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}\label{classBWAPI_1_1Unit_a7be1d1f2b6673c4022476364a70fdc52}
\hyperlink{namespaceBWAPI_1_1Orders}{\-Orders} the unit to unload all loaded units at the unit's current position. \begin{DoxySeeAlso}{\-See also}
\hyperlink{classBWAPI_1_1Unit_a46fc8801abc507e40ab65423ef2299bf}{\-Unit\-::load}, \hyperlink{classBWAPI_1_1Unit_a75a85047926184c0f59fa4eec0844fe1}{\-Unit\-::unload}, \hyperlink{classBWAPI_1_1Unit_a7be1d1f2b6673c4022476364a70fdc52}{\-Unit\-::unload\-All}, \hyperlink{classBWAPI_1_1Unit_a466e67482801bc8c6c2faac092e5f4cd}{\-Unit\-::get\-Loaded\-Units}, \hyperlink{classBWAPI_1_1Unit}{\-Unit}\-:\hyperlink{classBWAPI_1_1Unit_aea692c03778837fe3a4b7e45024c728a}{is\-Loaded}. 
\end{DoxySeeAlso}


\-Implemented in \hyperlink{classBWAPI_1_1UnitImpl_aff1f250ff8dc3b05d157b97bc17e6421}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}, and \hyperlink{classBWAPI_1_1UnitImpl_a290ba9c6719542c2e68ffc22278b421c}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}.



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


\hypertarget{classBWAPI_1_1Unit_a6928065e4064b580641607ed747b578f}{\index{\-B\-W\-A\-P\-I\-::\-Unit@{\-B\-W\-A\-P\-I\-::\-Unit}!unload\-All@{unload\-All}}
\index{unload\-All@{unload\-All}!BWAPI::Unit@{\-B\-W\-A\-P\-I\-::\-Unit}}
\subsubsection[{unload\-All}]{\setlength{\rightskip}{0pt plus 5cm}virtual bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-::unload\-All} (
\begin{DoxyParamCaption}
\item[{{\bf \-Position}}]{target, }
\item[{bool}]{shift\-Queue\-Command = {\ttfamily false}}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}\label{classBWAPI_1_1Unit_a6928065e4064b580641607ed747b578f}
\hyperlink{namespaceBWAPI_1_1Orders}{\-Orders} the unit to unload all loaded units at the specified location. \hyperlink{classBWAPI_1_1Unit}{\-Unit} should be a \-Terran \-Dropship, \-Protoss \-Shuttle, or \-Zerg \-Overlord. \-If the unit is a \-Terran \-Bunker, the units will be unloaded right outside the bunker, like in the first version of unload\-All. \begin{DoxySeeAlso}{\-See also}
\hyperlink{classBWAPI_1_1Unit_a46fc8801abc507e40ab65423ef2299bf}{\-Unit\-::load}, \hyperlink{classBWAPI_1_1Unit_a75a85047926184c0f59fa4eec0844fe1}{\-Unit\-::unload}, \hyperlink{classBWAPI_1_1Unit_a7be1d1f2b6673c4022476364a70fdc52}{\-Unit\-::unload\-All}, \hyperlink{classBWAPI_1_1Unit_a466e67482801bc8c6c2faac092e5f4cd}{\-Unit\-::get\-Loaded\-Units}, \hyperlink{classBWAPI_1_1Unit}{\-Unit}\-:\hyperlink{classBWAPI_1_1Unit_aea692c03778837fe3a4b7e45024c728a}{is\-Loaded}. 
\end{DoxySeeAlso}


\-Implemented in \hyperlink{classBWAPI_1_1UnitImpl_a8b6e20e608e5507e0bb171daf9506ddf}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}, and \hyperlink{classBWAPI_1_1UnitImpl_a909984eecf635df3e283dea23afd702e}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}.

\hypertarget{classBWAPI_1_1Unit_a3d17e0872793cacdcbf63222e8c984ca}{\index{\-B\-W\-A\-P\-I\-::\-Unit@{\-B\-W\-A\-P\-I\-::\-Unit}!unsiege@{unsiege}}
\index{unsiege@{unsiege}!BWAPI::Unit@{\-B\-W\-A\-P\-I\-::\-Unit}}
\subsubsection[{unsiege}]{\setlength{\rightskip}{0pt plus 5cm}virtual bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-::unsiege} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}\label{classBWAPI_1_1Unit_a3d17e0872793cacdcbf63222e8c984ca}
\hyperlink{namespaceBWAPI_1_1Orders}{\-Orders} the unit to unsiege. \-Note\-: unit must be a \-Terran siege tank. \begin{DoxySeeAlso}{\-See also}
\-: \hyperlink{classBWAPI_1_1Unit_a3d17e0872793cacdcbf63222e8c984ca}{\-Unit\-::unsiege}, \hyperlink{classBWAPI_1_1Unit_ad77270a241d6d91cb9b1aa8500321282}{\-Unit\-::is\-Sieged}. 
\end{DoxySeeAlso}


\-Implemented in \hyperlink{classBWAPI_1_1UnitImpl_a61a9fa68c89e1b1e74aa452b7bed4680}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}, and \hyperlink{classBWAPI_1_1UnitImpl_ad202fcec25eb49fff35f82f1cd5b7f62}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}.



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


\hypertarget{classBWAPI_1_1Unit_a9423c81efd5c269b955a723b664bddd9}{\index{\-B\-W\-A\-P\-I\-::\-Unit@{\-B\-W\-A\-P\-I\-::\-Unit}!upgrade@{upgrade}}
\index{upgrade@{upgrade}!BWAPI::Unit@{\-B\-W\-A\-P\-I\-::\-Unit}}
\subsubsection[{upgrade}]{\setlength{\rightskip}{0pt plus 5cm}virtual bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-::upgrade} (
\begin{DoxyParamCaption}
\item[{{\bf \-Upgrade\-Type}}]{upgrade}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}\label{classBWAPI_1_1Unit_a9423c81efd5c269b955a723b664bddd9}
\hyperlink{namespaceBWAPI_1_1Orders}{\-Orders} the unit to upgrade the given upgrade type. \begin{DoxySeeAlso}{\-See also}
\hyperlink{classBWAPI_1_1Unit_a5350bd798bc2c0702d567ef07042d182}{\-Unit\-::cancel\-Upgrade}, \-Unit\-::\-Unit\-::is\-Upgrading, \hyperlink{classBWAPI_1_1Unit_a0173d7266e891fb61e66386b9696f696}{\-Unit\-::get\-Remaining\-Upgrade\-Time}, \hyperlink{classBWAPI_1_1Unit_a628a6901e954b6a2708f9d1d16acedf4}{\-Unit\-::get\-Upgrade}. 
\end{DoxySeeAlso}


\-Implemented in \hyperlink{classBWAPI_1_1UnitImpl_a7bb5500404011c3c04ed8f01c8df6947}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}, and \hyperlink{classBWAPI_1_1UnitImpl_aee7acf696af4dd6ba4c7f1019d73fbf1}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}.



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


\hypertarget{classBWAPI_1_1Unit_ab2c7e5f5be9ddb12a3a0b77c198d3dc0}{\index{\-B\-W\-A\-P\-I\-::\-Unit@{\-B\-W\-A\-P\-I\-::\-Unit}!use\-Tech@{use\-Tech}}
\index{use\-Tech@{use\-Tech}!BWAPI::Unit@{\-B\-W\-A\-P\-I\-::\-Unit}}
\subsubsection[{use\-Tech}]{\setlength{\rightskip}{0pt plus 5cm}virtual bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-::use\-Tech} (
\begin{DoxyParamCaption}
\item[{{\bf \-Tech\-Type}}]{tech}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}\label{classBWAPI_1_1Unit_ab2c7e5f5be9ddb12a3a0b77c198d3dc0}
\hyperlink{namespaceBWAPI_1_1Orders}{\-Orders} the unit to use a tech not requiring a target (ie \-Stim \-Pack). \-Returns true if it is a valid tech. 

\-Implemented in \hyperlink{classBWAPI_1_1UnitImpl_a0576228dd697434f36f0d93c57b9a8ca}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}, and \hyperlink{classBWAPI_1_1UnitImpl_ab20d2535a54b4311c871c0fc6e927ea3}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}.

\hypertarget{classBWAPI_1_1Unit_aa5357cd728a9457ca6750b58122fa6a9}{\index{\-B\-W\-A\-P\-I\-::\-Unit@{\-B\-W\-A\-P\-I\-::\-Unit}!use\-Tech@{use\-Tech}}
\index{use\-Tech@{use\-Tech}!BWAPI::Unit@{\-B\-W\-A\-P\-I\-::\-Unit}}
\subsubsection[{use\-Tech}]{\setlength{\rightskip}{0pt plus 5cm}virtual bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-::use\-Tech} (
\begin{DoxyParamCaption}
\item[{{\bf \-Tech\-Type}}]{tech, }
\item[{{\bf \-Position}}]{target}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}\label{classBWAPI_1_1Unit_aa5357cd728a9457ca6750b58122fa6a9}
\hyperlink{namespaceBWAPI_1_1Orders}{\-Orders} the unit to use a tech requiring a position target (ie \-Dark \-Swarm). \-Returns true if it is a valid tech. 

\-Implemented in \hyperlink{classBWAPI_1_1UnitImpl_a4514a3e18f4f577dbd4168afe6dabdc0}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}, and \hyperlink{classBWAPI_1_1UnitImpl_a584e4fc0cf1fada83f6b54b1426b0c37}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}.

\hypertarget{classBWAPI_1_1Unit_ab7f5bf1a35584dca94c1c0f456d2523d}{\index{\-B\-W\-A\-P\-I\-::\-Unit@{\-B\-W\-A\-P\-I\-::\-Unit}!use\-Tech@{use\-Tech}}
\index{use\-Tech@{use\-Tech}!BWAPI::Unit@{\-B\-W\-A\-P\-I\-::\-Unit}}
\subsubsection[{use\-Tech}]{\setlength{\rightskip}{0pt plus 5cm}virtual bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-::use\-Tech} (
\begin{DoxyParamCaption}
\item[{{\bf \-Tech\-Type}}]{tech, }
\item[{{\bf \-Unit} $\ast$}]{target}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}\label{classBWAPI_1_1Unit_ab7f5bf1a35584dca94c1c0f456d2523d}
\hyperlink{namespaceBWAPI_1_1Orders}{\-Orders} the unit to use a tech requiring a unit target (ie \-Irradiate). \-Returns true if it is a valid tech. 

\-Implemented in \hyperlink{classBWAPI_1_1UnitImpl_a7cddfe0bce85d076483ebb6ce113f113}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}, and \hyperlink{classBWAPI_1_1UnitImpl_abbdf2cd4be495bab0578eda1e4ef5736}{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}.



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