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


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



\-Inheritance diagram for \-B\-W\-A\-P\-I\-:\-:\-Unit\-Impl\-:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=550pt]{classBWAPI_1_1UnitImpl__inherit__graph}
\end{center}
\end{figure}


\-Collaboration diagram for \-B\-W\-A\-P\-I\-:\-:\-Unit\-Impl\-:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=550pt]{classBWAPI_1_1UnitImpl__coll__graph}
\end{center}
\end{figure}
\subsection*{\-Public \-Member \-Functions}
\begin{DoxyCompactItemize}
\item 
void \hyperlink{classBWAPI_1_1UnitImpl_a3e823638c8f811726a4c128f6094cb81}{clear} ()
\item 
void \hyperlink{classBWAPI_1_1UnitImpl_a8f3a267387566c6f4884e4277420a001}{save\-Initial\-State} ()
\item 
\hyperlink{classBWAPI_1_1UnitImpl_a76a24530b8b27fb08fdeba0e78e07600}{\-Unit\-Impl} (int \hyperlink{classBWAPI_1_1UnitImpl_a99615991758805845fab5e70f9a2ea6e}{id})
\item 
virtual int \hyperlink{classBWAPI_1_1UnitImpl_a67e644a9dbb4f3b978e6f2838a86bf2c}{get\-I\-D} () const 
\item 
virtual \hyperlink{classBWAPI_1_1Player}{\-Player} $\ast$ \hyperlink{classBWAPI_1_1UnitImpl_a41b36994620bb7b4c9359bdb10d5c39b}{get\-Player} () const 
\item 
virtual \hyperlink{classBWAPI_1_1UnitType}{\-Unit\-Type} \hyperlink{classBWAPI_1_1UnitImpl_a8ec8a25ed7a0b103bacbc1ea89490cea}{get\-Type} () const 
\item 
virtual \hyperlink{classBWAPI_1_1Position}{\-Position} \hyperlink{classBWAPI_1_1UnitImpl_a594cfeee6c3cbcd83c835b56cf309c8e}{get\-Position} () const 
\item 
virtual \hyperlink{classBWAPI_1_1TilePosition}{\-Tile\-Position} \hyperlink{classBWAPI_1_1UnitImpl_aeb438979699e71e5a2297942a8eb9710}{get\-Tile\-Position} () const 
\item 
virtual double \hyperlink{classBWAPI_1_1UnitImpl_a0bad759d1153857baa641288fd7d4727}{get\-Angle} () const 
\item 
virtual double \hyperlink{classBWAPI_1_1UnitImpl_ae4a368a2a99dc697806d7f53d5736959}{get\-Velocity\-X} () const 
\item 
virtual double \hyperlink{classBWAPI_1_1UnitImpl_a34151521ce01d808962131bd001013de}{get\-Velocity\-Y} () const 
\item 
virtual int \hyperlink{classBWAPI_1_1UnitImpl_accd259d627dd988440bd13c820294ff3}{get\-Hit\-Points} () const 
\item 
virtual int \hyperlink{classBWAPI_1_1UnitImpl_af7f45f7d08e2bb2966790aca24b4e573}{get\-Shields} () const 
\item 
virtual int \hyperlink{classBWAPI_1_1UnitImpl_a1e785cec5a42ddc848cf501a4ec1fdc0}{get\-Energy} () const 
\item 
virtual int \hyperlink{classBWAPI_1_1UnitImpl_af79ac08c1c62db23faace55e0580bc16}{get\-Resources} () const 
\item 
virtual int \hyperlink{classBWAPI_1_1UnitImpl_abd701a88c60a30bf7c08c72daeb69794}{get\-Resource\-Group} () const 
\item 
virtual int \hyperlink{classBWAPI_1_1UnitImpl_af88ff2c7aebbfb1f1e190dfd0dd5b58d}{get\-Distance} (\hyperlink{classBWAPI_1_1Unit}{\-Unit} $\ast$target) const 
\item 
virtual int \hyperlink{classBWAPI_1_1UnitImpl_a0c2ef3e0fd8b7ad9a041868c2013b15a}{get\-Distance} (\hyperlink{classBWAPI_1_1Position}{\-Position} target) const 
\item 
virtual bool \hyperlink{classBWAPI_1_1UnitImpl_a1553a6be07c14dda06b2901f28856ad6}{has\-Path} (\hyperlink{classBWAPI_1_1Unit}{\-Unit} $\ast$target) const 
\item 
virtual bool \hyperlink{classBWAPI_1_1UnitImpl_a2f4a9e1d9e3cf9504015ac365602662e}{has\-Path} (\hyperlink{classBWAPI_1_1Position}{\-Position} target) const 
\item 
virtual int \hyperlink{classBWAPI_1_1UnitImpl_adac237a15b81088409d71e6590fd161c}{get\-Last\-Command\-Frame} () const 
\item 
virtual \hyperlink{classBWAPI_1_1UnitCommand}{\-Unit\-Command} \hyperlink{classBWAPI_1_1UnitImpl_a2dc3f85ce790832653fee1dd8ef7dee3}{get\-Last\-Command} () const 
\item 
virtual int \hyperlink{classBWAPI_1_1UnitImpl_a366fe8712ee0d1baa29098b7137cbc03}{get\-Upgrade\-Level} (\hyperlink{classBWAPI_1_1UpgradeType}{\-Upgrade\-Type} \hyperlink{classBWAPI_1_1UnitImpl_aee7acf696af4dd6ba4c7f1019d73fbf1}{upgrade}) const 
\item 
virtual \hyperlink{classBWAPI_1_1UnitType}{\-Unit\-Type} \hyperlink{classBWAPI_1_1UnitImpl_aa2a443fe793fe0830d8188ade19923d8}{get\-Initial\-Type} () const 
\item 
virtual \hyperlink{classBWAPI_1_1Position}{\-Position} \hyperlink{classBWAPI_1_1UnitImpl_a47c571327ee4f73092d69d944141a7b3}{get\-Initial\-Position} () const 
\item 
virtual \hyperlink{classBWAPI_1_1TilePosition}{\-Tile\-Position} \hyperlink{classBWAPI_1_1UnitImpl_ac227778458b099a1621623516310b03e}{get\-Initial\-Tile\-Position} () const 
\item 
virtual int \hyperlink{classBWAPI_1_1UnitImpl_aca4e3f0ea127b49d97e26513b655ef9e}{get\-Initial\-Hit\-Points} () const 
\item 
virtual int \hyperlink{classBWAPI_1_1UnitImpl_a9467a24179e0521bb7d549d6c5dd70fe}{get\-Initial\-Resources} () const 
\item 
virtual int \hyperlink{classBWAPI_1_1UnitImpl_a764d4da630d1ae889bbb16341e37f652}{get\-Kill\-Count} () const 
\item 
virtual int \hyperlink{classBWAPI_1_1UnitImpl_a56bbf8cd380e5d6b8b3f65766d6c4007}{get\-Acid\-Spore\-Count} () const 
\item 
virtual int \hyperlink{classBWAPI_1_1UnitImpl_a13a00507eacb70528a476c6314e4b361}{get\-Interceptor\-Count} () const 
\item 
virtual int \hyperlink{classBWAPI_1_1UnitImpl_af52f56eab67e98e88c463eabab31788f}{get\-Scarab\-Count} () const 
\item 
virtual int \hyperlink{classBWAPI_1_1UnitImpl_a801401eca1f0d18d693a5083c185ac04}{get\-Spider\-Mine\-Count} () const 
\item 
virtual int \hyperlink{classBWAPI_1_1UnitImpl_a21d6c017b4284b05fe67c38035d4ba6c}{get\-Ground\-Weapon\-Cooldown} () const 
\item 
virtual int \hyperlink{classBWAPI_1_1UnitImpl_a315597cd9590331a4b908ce82cd2fef8}{get\-Air\-Weapon\-Cooldown} () const 
\item 
virtual int \hyperlink{classBWAPI_1_1UnitImpl_ab6ddf4a35c16d1ba0656aff4dfa3705b}{get\-Spell\-Cooldown} () const 
\item 
virtual int \hyperlink{classBWAPI_1_1UnitImpl_afc07a71503b3dc2d2d4b73ceefa70655}{get\-Defense\-Matrix\-Points} () const 
\item 
virtual int \hyperlink{classBWAPI_1_1UnitImpl_a79baf6c81555c693116f90fb64c69328}{get\-Defense\-Matrix\-Timer} () const 
\item 
virtual int \hyperlink{classBWAPI_1_1UnitImpl_a70dfb286df9d76bde3199d8145884ff1}{get\-Ensnare\-Timer} () const 
\item 
virtual int \hyperlink{classBWAPI_1_1UnitImpl_abccec8f96374167fa5a7e3f875ccdc93}{get\-Irradiate\-Timer} () const 
\item 
virtual int \hyperlink{classBWAPI_1_1UnitImpl_a3190e1977fde31f3f633066887971ff5}{get\-Lockdown\-Timer} () const 
\item 
virtual int \hyperlink{classBWAPI_1_1UnitImpl_acf993f5296ea7e90f1947f47750a30e5}{get\-Maelstrom\-Timer} () const 
\item 
virtual int \hyperlink{classBWAPI_1_1UnitImpl_a663503d51f144dcee401b4067c92d762}{get\-Order\-Timer} () const 
\item 
virtual int \hyperlink{classBWAPI_1_1UnitImpl_aa3022d058cb70379785b9cbb5bfb99c0}{get\-Plague\-Timer} () const 
\item 
virtual int \hyperlink{classBWAPI_1_1UnitImpl_a81eaeb657ed602447b5cb6fba83dd408}{get\-Remove\-Timer} () const 
\item 
virtual int \hyperlink{classBWAPI_1_1UnitImpl_a3467b6b6f878f76360a2ec1597ea07e3}{get\-Stasis\-Timer} () const 
\item 
virtual int \hyperlink{classBWAPI_1_1UnitImpl_a4e86e3a23fb58918bc8b59c2cf5f5487}{get\-Stim\-Timer} () const 
\item 
virtual \hyperlink{classBWAPI_1_1UnitType}{\-Unit\-Type} \hyperlink{classBWAPI_1_1UnitImpl_a401228703cdc9652356d6141b2a9d197}{get\-Build\-Type} () const 
\item 
virtual std\-::list$<$ \hyperlink{classBWAPI_1_1UnitType}{\-Unit\-Type} $>$ \hyperlink{classBWAPI_1_1UnitImpl_a8901e9072b77d658a5c6fce76ab987cd}{get\-Training\-Queue} () const 
\item 
virtual \hyperlink{classBWAPI_1_1TechType}{\-Tech\-Type} \hyperlink{classBWAPI_1_1UnitImpl_a04852614cd18062e367eb13859616726}{get\-Tech} () const 
\item 
virtual \hyperlink{classBWAPI_1_1UpgradeType}{\-Upgrade\-Type} \hyperlink{classBWAPI_1_1UnitImpl_a29ccfa3388f9387d7486028d8846a8c4}{get\-Upgrade} () const 
\item 
virtual int \hyperlink{classBWAPI_1_1UnitImpl_ad3604dc3ab06b0f4b504bcfdaeac4283}{get\-Remaining\-Build\-Time} () const 
\item 
virtual int \hyperlink{classBWAPI_1_1UnitImpl_abbd571fff76bba10ec817b10b9b890b9}{get\-Remaining\-Train\-Time} () const 
\item 
virtual int \hyperlink{classBWAPI_1_1UnitImpl_a781e398752984954294c8d9652dd01fd}{get\-Remaining\-Research\-Time} () const 
\item 
virtual int \hyperlink{classBWAPI_1_1UnitImpl_af3d0697349e5eba8799f9be6eadbb70f}{get\-Remaining\-Upgrade\-Time} () const 
\item 
virtual \hyperlink{classBWAPI_1_1Unit}{\-Unit} $\ast$ \hyperlink{classBWAPI_1_1UnitImpl_a365670b844e72d6155667033530d0d44}{get\-Build\-Unit} () const 
\item 
virtual \hyperlink{classBWAPI_1_1Unit}{\-Unit} $\ast$ \hyperlink{classBWAPI_1_1UnitImpl_ace73f77baf5bdf813b295c9f5b4e2ff1}{get\-Target} () const 
\item 
virtual \hyperlink{classBWAPI_1_1Position}{\-Position} \hyperlink{classBWAPI_1_1UnitImpl_a61a295529320fe3a025d837fa54b5406}{get\-Target\-Position} () const 
\item 
virtual \hyperlink{classBWAPI_1_1Order}{\-Order} \hyperlink{classBWAPI_1_1UnitImpl_ae621d4cfdc0347e3d36c007d19d14616}{get\-Order} () const 
\item 
virtual \hyperlink{classBWAPI_1_1Unit}{\-Unit} $\ast$ \hyperlink{classBWAPI_1_1UnitImpl_a098d658c1d60c960cc8570a206605863}{get\-Order\-Target} () const 
\item 
virtual \hyperlink{classBWAPI_1_1Position}{\-Position} \hyperlink{classBWAPI_1_1UnitImpl_a410e4d4c1c508633d496d8d77bf39897}{get\-Order\-Target\-Position} () const 
\item 
virtual \hyperlink{classBWAPI_1_1Order}{\-Order} \hyperlink{classBWAPI_1_1UnitImpl_a5bbe8a5ea0156d48457c2e288bf2dc7a}{get\-Secondary\-Order} () const 
\item 
virtual \hyperlink{classBWAPI_1_1Position}{\-Position} \hyperlink{classBWAPI_1_1UnitImpl_a911f6566da0f7bf696857741b0f57fad}{get\-Rally\-Position} () const 
\item 
virtual \hyperlink{classBWAPI_1_1Unit}{\-Unit} $\ast$ \hyperlink{classBWAPI_1_1UnitImpl_a7bff1618d663bf56906d021b69a2a302}{get\-Rally\-Unit} () const 
\item 
virtual \hyperlink{classBWAPI_1_1Unit}{\-Unit} $\ast$ \hyperlink{classBWAPI_1_1UnitImpl_aee873261743fbc0cc01df89d131d45e2}{get\-Addon} () const 
\item 
virtual \hyperlink{classBWAPI_1_1Unit}{\-Unit} $\ast$ \hyperlink{classBWAPI_1_1UnitImpl_ab24f328258e66c72d930a8775627849e}{get\-Nydus\-Exit} () const 
\item 
virtual \hyperlink{classBWAPI_1_1Unit}{\-Unit} $\ast$ \hyperlink{classBWAPI_1_1UnitImpl_a228c6688ef41875a7de103084d82d144}{get\-Power\-Up} () const 
\item 
virtual \hyperlink{classBWAPI_1_1Unit}{\-Unit} $\ast$ \hyperlink{classBWAPI_1_1UnitImpl_a0643a4ec6948f31a1d36dbe05dbdde29}{get\-Transport} () const 
\item 
virtual std\-::set$<$ \hyperlink{classBWAPI_1_1Unit}{\-Unit} $\ast$ $>$ \hyperlink{classBWAPI_1_1UnitImpl_aca683f2e69cd2f00deb6d9fc97531ac2}{get\-Loaded\-Units} () const 
\item 
virtual \hyperlink{classBWAPI_1_1Unit}{\-Unit} $\ast$ \hyperlink{classBWAPI_1_1UnitImpl_a53c8d7d250c48ea400f00eb320f8b09b}{get\-Carrier} () const 
\item 
virtual std\-::set$<$ \hyperlink{classBWAPI_1_1Unit}{\-Unit} $\ast$ $>$ \hyperlink{classBWAPI_1_1UnitImpl_ac37af9b5e7fbe685bd5845e0ee4c9bce}{get\-Interceptors} () const 
\item 
virtual \hyperlink{classBWAPI_1_1Unit}{\-Unit} $\ast$ \hyperlink{classBWAPI_1_1UnitImpl_ae51f4d6a1b0d9ccdfe0601899b393f1c}{get\-Hatchery} () const 
\item 
virtual std\-::set$<$ \hyperlink{classBWAPI_1_1Unit}{\-Unit} $\ast$ $>$ \hyperlink{classBWAPI_1_1UnitImpl_a28f6746c075fed54ff914d517456bfd3}{get\-Larva} () const 
\item 
virtual std\-::set$<$ \hyperlink{classBWAPI_1_1Unit}{\-Unit} $\ast$ $>$ \& \hyperlink{classBWAPI_1_1UnitImpl_aa2c3f141debd6ba848c56c782ddc7fc5}{get\-Units\-In\-Radius} (int radius) const 
\item 
virtual std\-::set$<$ \hyperlink{classBWAPI_1_1Unit}{\-Unit} $\ast$ $>$ \& \hyperlink{classBWAPI_1_1UnitImpl_aba6566c611c27b330d38eead98d69ff6}{get\-Units\-In\-Weapon\-Range} (\hyperlink{classBWAPI_1_1WeaponType}{\-Weapon\-Type} weapon) const 
\item 
virtual bool \hyperlink{classBWAPI_1_1UnitImpl_a2bcbc0d72a484dbbf29bca2d2628867a}{exists} () const 
\item 
virtual bool \hyperlink{classBWAPI_1_1UnitImpl_a8f33169759f5166d70c148ab2702e9c0}{has\-Nuke} () const 
\item 
virtual bool \hyperlink{classBWAPI_1_1UnitImpl_abbb83a26462add1ce4b8f4055fd832bb}{is\-Accelerating} () const 
\item 
virtual bool \hyperlink{classBWAPI_1_1UnitImpl_a272ecabc41c032dea029e8f7e2f3a89e}{is\-Attacking} () const 
\item 
virtual bool \hyperlink{classBWAPI_1_1UnitImpl_afd4ce205f7aae3ecee70c71f9314a721}{is\-Attack\-Frame} () const 
\item 
virtual bool \hyperlink{classBWAPI_1_1UnitImpl_ae631c34040e16b00fa1b34ea2ec8b9d0}{is\-Being\-Constructed} () const 
\item 
virtual bool \hyperlink{classBWAPI_1_1UnitImpl_a8a44a4a5042202f67b773bf60369a0dc}{is\-Being\-Gathered} () const 
\item 
virtual bool \hyperlink{classBWAPI_1_1UnitImpl_ad26ee5fa032b1d99d8af49a40532b8af}{is\-Being\-Healed} () const 
\item 
virtual bool \hyperlink{classBWAPI_1_1UnitImpl_a623fd6861894f2203add2ae9f24fc873}{is\-Blind} () const 
\item 
virtual bool \hyperlink{classBWAPI_1_1UnitImpl_a1af36b4d29102229aa0899cb8e89dfef}{is\-Braking} () const 
\item 
virtual bool \hyperlink{classBWAPI_1_1UnitImpl_a2df03c5a2a03e8c9aeced4163160f07f}{is\-Burrowed} () const 
\item 
virtual bool \hyperlink{classBWAPI_1_1UnitImpl_a3f671f24d7f62aee047a82cc6e41d893}{is\-Carrying\-Gas} () const 
\item 
virtual bool \hyperlink{classBWAPI_1_1UnitImpl_a87c87e42024e8aa49b5ad1f5f9d3756d}{is\-Carrying\-Minerals} () const 
\item 
virtual bool \hyperlink{classBWAPI_1_1UnitImpl_ac73cbb2f6b920ddaae5bcaf806871f8a}{is\-Cloaked} () const 
\item 
virtual bool \hyperlink{classBWAPI_1_1UnitImpl_a6c3449f16aad5dd6556394e026ae5453}{is\-Completed} () const 
\item 
virtual bool \hyperlink{classBWAPI_1_1UnitImpl_a22b33b73dda4a1d882d16279cf84796f}{is\-Constructing} () const 
\item 
virtual bool \hyperlink{classBWAPI_1_1UnitImpl_ab16b08a306b5903f0c07a6869e68828a}{is\-Defense\-Matrixed} () const 
\item 
virtual bool \hyperlink{classBWAPI_1_1UnitImpl_a753757e7c31081b6170a95cf8f0307e4}{is\-Detected} () const 
\item 
virtual bool \hyperlink{classBWAPI_1_1UnitImpl_abaa3f35200345bd1522bcdb41cbac9b6}{is\-Ensnared} () const 
\item 
virtual bool \hyperlink{classBWAPI_1_1UnitImpl_afd891c03335070fff2d1bcc01c11b524}{is\-Following} () const 
\item 
virtual bool \hyperlink{classBWAPI_1_1UnitImpl_af5a782b471f22eee0f3b23f0b56c75ec}{is\-Gathering\-Gas} () const 
\item 
virtual bool \hyperlink{classBWAPI_1_1UnitImpl_a49abb8968b2bf752e92263ca0e8952d5}{is\-Gathering\-Minerals} () const 
\item 
virtual bool \hyperlink{classBWAPI_1_1UnitImpl_a8f34b8d6768555b3f39be2f106acbce1}{is\-Hallucination} () const 
\item 
virtual bool \hyperlink{classBWAPI_1_1UnitImpl_a38011ef3f2122a6eb94c1b52398ec312}{is\-Holding\-Position} () const 
\item 
virtual bool \hyperlink{classBWAPI_1_1UnitImpl_ae404b4bf4893b519854f4e2c89b64e0c}{is\-Idle} () const 
\item 
virtual bool \hyperlink{classBWAPI_1_1UnitImpl_a5d80881e8a2fedcd0506254f2db2d6ad}{is\-Interruptible} () const 
\item 
virtual bool \hyperlink{classBWAPI_1_1UnitImpl_a63c379f15ab3583c025d3d71a2ad319d}{is\-Invincible} () const 
\item 
virtual bool \hyperlink{classBWAPI_1_1UnitImpl_a5f613467683bda159b6984dfd6e54960}{is\-In\-Weapon\-Range} (\hyperlink{classBWAPI_1_1Unit}{\-Unit} $\ast$target) const 
\item 
virtual bool \hyperlink{classBWAPI_1_1UnitImpl_a8abe8bba4e9ad819611d3dc6332a4ba5}{is\-Irradiated} () const 
\item 
virtual bool \hyperlink{classBWAPI_1_1UnitImpl_afea6697381d5898408971633f3c71666}{is\-Lifted} () const 
\item 
virtual bool \hyperlink{classBWAPI_1_1UnitImpl_aa7a8c62362f974d5a3b5af4945d28277}{is\-Loaded} () const 
\item 
virtual bool \hyperlink{classBWAPI_1_1UnitImpl_ab1f1d3b78a8ad41eb207af2df07701a1}{is\-Locked\-Down} () const 
\item 
virtual bool \hyperlink{classBWAPI_1_1UnitImpl_a200eebb2dc87791b716b56fc883b4a84}{is\-Maelstrommed} () const 
\item 
virtual bool \hyperlink{classBWAPI_1_1UnitImpl_a4a199f1d09ab40c685e39df9c04c0205}{is\-Morphing} () const 
\item 
virtual bool \hyperlink{classBWAPI_1_1UnitImpl_ae2b51d076f5dc0077bab37cc8ed3b305}{is\-Moving} () const 
\item 
virtual bool \hyperlink{classBWAPI_1_1UnitImpl_a723a03d53c6f0ebf8a228096a10cf4d6}{is\-Parasited} () const 
\item 
virtual bool \hyperlink{classBWAPI_1_1UnitImpl_a4d4619caae1d498df1f643cae4413de6}{is\-Patrolling} () const 
\item 
virtual bool \hyperlink{classBWAPI_1_1UnitImpl_ab80c9b8accc4e9d79c242d0a9d4240dc}{is\-Plagued} () const 
\item 
virtual bool \hyperlink{classBWAPI_1_1UnitImpl_a85a668facaad70f607025cf8d0ea1b3f}{is\-Repairing} () const 
\item 
virtual bool \hyperlink{classBWAPI_1_1UnitImpl_a8efb4dca7ec814695d7ca08fa98ac12f}{is\-Researching} () const 
\item 
virtual bool \hyperlink{classBWAPI_1_1UnitImpl_a58dbcb14539b10600a61de2e3fc61877}{is\-Selected} () const 
\item 
virtual bool \hyperlink{classBWAPI_1_1UnitImpl_a166baac5f878b36f0fea0d4906408ba1}{is\-Sieged} () const 
\item 
virtual bool \hyperlink{classBWAPI_1_1UnitImpl_a9f325c66ea15a7bc7518393faf7c23e2}{is\-Starting\-Attack} () const 
\item 
virtual bool \hyperlink{classBWAPI_1_1UnitImpl_a9ef403bdab8ad3329a0feefce484d924}{is\-Stasised} () const 
\item 
virtual bool \hyperlink{classBWAPI_1_1UnitImpl_afc4188904f42985cc7cf8bc92fb87dbb}{is\-Stimmed} () const 
\item 
virtual bool \hyperlink{classBWAPI_1_1UnitImpl_acf526f2b82b5deb0c391ff9d85a5f606}{is\-Stuck} () const 
\item 
virtual bool \hyperlink{classBWAPI_1_1UnitImpl_a35e583ec55ecaa0362c8a8ecce29e102}{is\-Training} () const 
\item 
virtual bool \hyperlink{classBWAPI_1_1UnitImpl_a6e744ed65ea8e5768a5d8878d114f037}{is\-Under\-Storm} () const 
\item 
virtual bool \hyperlink{classBWAPI_1_1UnitImpl_abd964231c551ebd90b32c26264145bf8}{is\-Under\-Dark\-Swarm} () const 
\item 
virtual bool \hyperlink{classBWAPI_1_1UnitImpl_a400047dd56b234c4126101806b876f6e}{is\-Under\-Disruption\-Web} () const 
\item 
virtual bool \hyperlink{classBWAPI_1_1UnitImpl_a194762fa462efdc62e7daba7ddd3f46f}{is\-Unpowered} () const 
\item 
virtual bool \hyperlink{classBWAPI_1_1UnitImpl_a0ca70795a760b509695b7db16dfb8dc4}{is\-Upgrading} () const 
\item 
virtual bool \hyperlink{classBWAPI_1_1UnitImpl_aa8804b574d9fd69d7ad1719b3b9ec2bb}{is\-Visible} () const 
\item 
virtual bool \hyperlink{classBWAPI_1_1UnitImpl_aaeec40f653ba19c133e5b52eb2bfae15}{is\-Visible} (\hyperlink{classBWAPI_1_1Player}{\-Player} $\ast$player) const 
\item 
virtual bool \hyperlink{classBWAPI_1_1UnitImpl_a7a005532a4e7673212d35292f00fac02}{can\-Issue\-Command} (\hyperlink{classBWAPI_1_1UnitCommand}{\-Unit\-Command} command) const 
\item 
virtual bool \hyperlink{classBWAPI_1_1UnitImpl_a7580a6a379b5c32d66ac825f627bf152}{issue\-Command} (\hyperlink{classBWAPI_1_1UnitCommand}{\-Unit\-Command} command)
\item 
virtual bool \hyperlink{classBWAPI_1_1UnitImpl_a2024685cbb5e7da4fdbc56a24452a425}{attack} (\hyperlink{classBWAPI_1_1Position}{\-Position} target, bool shift\-Queue\-Command=false)
\item 
virtual bool \hyperlink{classBWAPI_1_1UnitImpl_a710d84fa80297d374d6ae3583601b746}{attack} (\hyperlink{classBWAPI_1_1Unit}{\-Unit} $\ast$target, bool shift\-Queue\-Command=false)
\item 
virtual bool \hyperlink{classBWAPI_1_1UnitImpl_a9a8195f24e2c67e89405d7d9146eef71}{build} (\hyperlink{classBWAPI_1_1TilePosition}{\-Tile\-Position} target, \hyperlink{classBWAPI_1_1UnitType}{\-Unit\-Type} type)
\item 
virtual bool \hyperlink{classBWAPI_1_1UnitImpl_ad9637b3a15a19f4a546a7110c619dc1e}{build\-Addon} (\hyperlink{classBWAPI_1_1UnitType}{\-Unit\-Type} type)
\item 
virtual bool \hyperlink{classBWAPI_1_1UnitImpl_a112271e0dc1269977c1c8a3b6d05bc5f}{train} (\hyperlink{classBWAPI_1_1UnitType}{\-Unit\-Type} type)
\item 
virtual bool \hyperlink{classBWAPI_1_1UnitImpl_abc4ea1e3bcca21f72b8aa771f655888b}{morph} (\hyperlink{classBWAPI_1_1UnitType}{\-Unit\-Type} type)
\item 
virtual bool \hyperlink{classBWAPI_1_1UnitImpl_a3264f23c079d7e94ce5d5370d1a52bcd}{research} (\hyperlink{classBWAPI_1_1TechType}{\-Tech\-Type} tech)
\item 
virtual bool \hyperlink{classBWAPI_1_1UnitImpl_aee7acf696af4dd6ba4c7f1019d73fbf1}{upgrade} (\hyperlink{classBWAPI_1_1UpgradeType}{\-Upgrade\-Type} \hyperlink{classBWAPI_1_1UnitImpl_aee7acf696af4dd6ba4c7f1019d73fbf1}{upgrade})
\item 
virtual bool \hyperlink{classBWAPI_1_1UnitImpl_aa6fa1849bb2ae728bf0fe2c74703b706}{set\-Rally\-Point} (\hyperlink{classBWAPI_1_1Position}{\-Position} target)
\item 
virtual bool \hyperlink{classBWAPI_1_1UnitImpl_ab543cd398721f748e1dcfb6a2cddb5e8}{set\-Rally\-Point} (\hyperlink{classBWAPI_1_1Unit}{\-Unit} $\ast$target)
\item 
virtual bool \hyperlink{classBWAPI_1_1UnitImpl_a8218091f869fc1b0db2fc8d3eda7f977}{move} (\hyperlink{classBWAPI_1_1Position}{\-Position} target, bool shift\-Queue\-Command=false)
\item 
virtual bool \hyperlink{classBWAPI_1_1UnitImpl_ac1ceff88cf74d53d7c875c35db71f044}{patrol} (\hyperlink{classBWAPI_1_1Position}{\-Position} target, bool shift\-Queue\-Command=false)
\item 
virtual bool \hyperlink{classBWAPI_1_1UnitImpl_a745a10420501a8c98b29ce52cdf4433f}{hold\-Position} (bool shift\-Queue\-Command=false)
\item 
virtual bool \hyperlink{classBWAPI_1_1UnitImpl_affd186dd0b50d8d222df6aa9439d5af5}{stop} (bool shift\-Queue\-Command=false)
\item 
virtual bool \hyperlink{classBWAPI_1_1UnitImpl_acdf71552c86213c58e8bcfcf22311412}{follow} (\hyperlink{classBWAPI_1_1Unit}{\-Unit} $\ast$target, bool shift\-Queue\-Command=false)
\item 
virtual bool \hyperlink{classBWAPI_1_1UnitImpl_a1e14be0dc12eb2c77edfc63daf7f07b8}{gather} (\hyperlink{classBWAPI_1_1Unit}{\-Unit} $\ast$target, bool shift\-Queue\-Command=false)
\item 
virtual bool \hyperlink{classBWAPI_1_1UnitImpl_a3e73cb04e276737814827e452c2f397c}{return\-Cargo} (bool shift\-Queue\-Command=false)
\item 
virtual bool \hyperlink{classBWAPI_1_1UnitImpl_a9e31b386d440753e74491d3a93c5a6f0}{repair} (\hyperlink{classBWAPI_1_1Unit}{\-Unit} $\ast$target, bool shift\-Queue\-Command=false)
\item 
virtual bool \hyperlink{classBWAPI_1_1UnitImpl_ac1d115d10c6701745106ae8bc8dc78bf}{burrow} ()
\item 
virtual bool \hyperlink{classBWAPI_1_1UnitImpl_ab5fa83991900d3a78246d162fe449791}{unburrow} ()
\item 
virtual bool \hyperlink{classBWAPI_1_1UnitImpl_a46da3b172a899af1a9fb199158751e4a}{cloak} ()
\item 
virtual bool \hyperlink{classBWAPI_1_1UnitImpl_a5c88c122c0c53dc8eab0e4ada2d7edd6}{decloak} ()
\item 
virtual bool \hyperlink{classBWAPI_1_1UnitImpl_a7363a73b03eb5b8f934b3843f275c49e}{siege} ()
\item 
virtual bool \hyperlink{classBWAPI_1_1UnitImpl_ad202fcec25eb49fff35f82f1cd5b7f62}{unsiege} ()
\item 
virtual bool \hyperlink{classBWAPI_1_1UnitImpl_a7a70563e80420fb680b2118aa264e84b}{lift} ()
\item 
virtual bool \hyperlink{classBWAPI_1_1UnitImpl_a37ee1717dd8158ec5644c1e483392033}{land} (\hyperlink{classBWAPI_1_1TilePosition}{\-Tile\-Position} target)
\item 
virtual bool \hyperlink{classBWAPI_1_1UnitImpl_a3a3954a92e57536101919d5df13f069f}{load} (\hyperlink{classBWAPI_1_1Unit}{\-Unit} $\ast$target, bool shift\-Queue\-Command=false)
\item 
virtual bool \hyperlink{classBWAPI_1_1UnitImpl_aff3af08ac741bacea320959a3acd6752}{unload} (\hyperlink{classBWAPI_1_1Unit}{\-Unit} $\ast$target)
\item 
virtual bool \hyperlink{classBWAPI_1_1UnitImpl_a290ba9c6719542c2e68ffc22278b421c}{unload\-All} (bool shift\-Queue\-Command=false)
\item 
virtual bool \hyperlink{classBWAPI_1_1UnitImpl_a909984eecf635df3e283dea23afd702e}{unload\-All} (\hyperlink{classBWAPI_1_1Position}{\-Position} target, bool shift\-Queue\-Command=false)
\item 
virtual bool \hyperlink{classBWAPI_1_1UnitImpl_a0ad15295eb6bf2d84564ef23b1e60fb1}{right\-Click} (\hyperlink{classBWAPI_1_1Position}{\-Position} target, bool shift\-Queue\-Command=false)
\item 
virtual bool \hyperlink{classBWAPI_1_1UnitImpl_a43e849eee8fe358e8436f686b5233416}{right\-Click} (\hyperlink{classBWAPI_1_1Unit}{\-Unit} $\ast$target, bool shift\-Queue\-Command=false)
\item 
virtual bool \hyperlink{classBWAPI_1_1UnitImpl_ad02f6b737d42e49be30b0b85217f26e4}{halt\-Construction} ()
\item 
virtual bool \hyperlink{classBWAPI_1_1UnitImpl_ad44d339a63793a0413483bfd288fdcfa}{cancel\-Construction} ()
\item 
virtual bool \hyperlink{classBWAPI_1_1UnitImpl_ae8ef4f2af3128a2a75768a83a8a02258}{cancel\-Addon} ()
\item 
virtual bool \hyperlink{classBWAPI_1_1UnitImpl_abbffda4e3f1f7e467102f37458cd349b}{cancel\-Train} (int slot=-\/2)
\item 
virtual bool \hyperlink{classBWAPI_1_1UnitImpl_a155c16ae7fb847b2723202346d7ebe4d}{cancel\-Morph} ()
\item 
virtual bool \hyperlink{classBWAPI_1_1UnitImpl_a52f152e119d9470e0563c4b5daa64a27}{cancel\-Research} ()
\item 
virtual bool \hyperlink{classBWAPI_1_1UnitImpl_a0eaf6fb98734e3f683dc8d1b84e8b3ee}{cancel\-Upgrade} ()
\item 
virtual bool \hyperlink{classBWAPI_1_1UnitImpl_ab20d2535a54b4311c871c0fc6e927ea3}{use\-Tech} (\hyperlink{classBWAPI_1_1TechType}{\-Tech\-Type} tech)
\item 
virtual bool \hyperlink{classBWAPI_1_1UnitImpl_a584e4fc0cf1fada83f6b54b1426b0c37}{use\-Tech} (\hyperlink{classBWAPI_1_1TechType}{\-Tech\-Type} tech, \hyperlink{classBWAPI_1_1Position}{\-Position} target)
\item 
virtual bool \hyperlink{classBWAPI_1_1UnitImpl_abbdf2cd4be495bab0578eda1e4ef5736}{use\-Tech} (\hyperlink{classBWAPI_1_1TechType}{\-Tech\-Type} tech, \hyperlink{classBWAPI_1_1Unit}{\-Unit} $\ast$target)
\item 
virtual void \hyperlink{classBWAPI_1_1UnitImpl_aa5c5325dca6f4c40dbdf9dc953f74577}{set\-Client\-Info} (void $\ast$clientinfo)
\item 
virtual void $\ast$ \hyperlink{classBWAPI_1_1UnitImpl_ae0c8c1ef199c04b092bf1812af757188}{get\-Client\-Info} () const 
\item 
virtual bool \hyperlink{classBWAPI_1_1UnitImpl_a9a96d27d96d54367952ffdd6c604fb30}{place\-C\-O\-P} (\hyperlink{classBWAPI_1_1TilePosition}{\-Tile\-Position} target)
\item 
virtual bool \hyperlink{classBWAPI_1_1UnitImpl_ab00a23844dafaab1656bb1d3b54a332f}{is\-Under\-Attack} () const 
\item 
virtual \hyperlink{classBWAPI_1_1Player}{\-B\-W\-A\-P\-I\-::\-Player} $\ast$ \hyperlink{classBWAPI_1_1UnitImpl_a3b905c2c354a9706746bfafada5121a0}{get\-Last\-Attacking\-Player} () const 
\end{DoxyCompactItemize}
\subsection*{\-Public \-Attributes}
\begin{DoxyCompactItemize}
\item 
\hyperlink{structBWAPI_1_1UnitData}{\-Unit\-Data} $\ast$ \hyperlink{classBWAPI_1_1UnitImpl_a08cd7100d083a21fe2bcdec0e68957f3}{self}
\item 
std\-::set$<$ \hyperlink{classBWAPI_1_1Unit}{\-Unit} $\ast$ $>$ \hyperlink{classBWAPI_1_1UnitImpl_a41ae0fadd5ac727c5ec3b6cdd20522c5}{connected\-Units}
\item 
std\-::set$<$ \hyperlink{classBWAPI_1_1Unit}{\-Unit} $\ast$ $>$ \hyperlink{classBWAPI_1_1UnitImpl_a48d2c10f3bb36f362992ea75afbaf1ed}{loaded\-Units}
\end{DoxyCompactItemize}
\subsection*{\-Private \-Attributes}
\begin{DoxyCompactItemize}
\item 
int \hyperlink{classBWAPI_1_1UnitImpl_a99615991758805845fab5e70f9a2ea6e}{id}
\item 
\hyperlink{classBWAPI_1_1UnitType}{\-Unit\-Type} \hyperlink{classBWAPI_1_1UnitImpl_af6d6fa22d3665a41713c06520bb41432}{initial\-Type}
\item 
int \hyperlink{classBWAPI_1_1UnitImpl_ac853b80c468d42a0a299c55f8fc996c2}{initial\-Resources}
\item 
int \hyperlink{classBWAPI_1_1UnitImpl_aa1c5ec4e6904d654abf9f9cba6c883ce}{initial\-Hit\-Points}
\item 
\hyperlink{classBWAPI_1_1Position}{\-Position} \hyperlink{classBWAPI_1_1UnitImpl_a559c39573af0c3c390bc2fccd9c354fe}{initial\-Position}
\item 
int \hyperlink{classBWAPI_1_1UnitImpl_a7e97eb101e4800b136ef315b8a39c10a}{last\-Command\-Frame}
\item 
\hyperlink{classBWAPI_1_1UnitCommand}{\-Unit\-Command} \hyperlink{classBWAPI_1_1UnitImpl_a247bd853c761b4a9b2180f7b4573e9ca}{last\-Command}
\item 
void $\ast$ \hyperlink{classBWAPI_1_1UnitImpl_ae89e34399c280a15e79fe7f69e08a6b1}{client\-Info}
\end{DoxyCompactItemize}


\subsection{\-Detailed \-Description}


\-Definition at line 10 of file \-Unit\-Impl.\-h.



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


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

\-Implements \hyperlink{classBWAPI_1_1Unit_a9cd107c8d8b083f61eb4def6f4bb091a}{\-B\-W\-A\-P\-I\-::\-Unit}.

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

\-Implements \hyperlink{classBWAPI_1_1Unit_a6186ab15fd22589a0382ffb9b1caea99}{\-B\-W\-A\-P\-I\-::\-Unit}.

\hypertarget{classBWAPI_1_1UnitImpl_a9a8195f24e2c67e89405d7d9146eef71}{\index{\-B\-W\-A\-P\-I\-::\-Unit\-Impl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}!build@{build}}
\index{build@{build}!BWAPI::UnitImpl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}}
\subsubsection[{build}]{\setlength{\rightskip}{0pt plus 5cm}virtual bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-Impl\-::build} (
\begin{DoxyParamCaption}
\item[{{\bf \-Tile\-Position}}]{target, }
\item[{{\bf \-Unit\-Type}}]{type}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}\label{classBWAPI_1_1UnitImpl_a9a8195f24e2c67e89405d7d9146eef71}
\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. 

\-Implements \hyperlink{classBWAPI_1_1Unit_a87ec26dd2b3366a12efdb700565de084}{\-B\-W\-A\-P\-I\-::\-Unit}.

\hypertarget{classBWAPI_1_1UnitImpl_ad9637b3a15a19f4a546a7110c619dc1e}{\index{\-B\-W\-A\-P\-I\-::\-Unit\-Impl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}!build\-Addon@{build\-Addon}}
\index{build\-Addon@{build\-Addon}!BWAPI::UnitImpl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}}
\subsubsection[{build\-Addon}]{\setlength{\rightskip}{0pt plus 5cm}virtual bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-Impl\-::build\-Addon} (
\begin{DoxyParamCaption}
\item[{{\bf \-Unit\-Type}}]{type}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}\label{classBWAPI_1_1UnitImpl_ad9637b3a15a19f4a546a7110c619dc1e}
\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. 

\-Implements \hyperlink{classBWAPI_1_1Unit_a809ada8bd7630668b8b404f68ed3ed19}{\-B\-W\-A\-P\-I\-::\-Unit}.

\hypertarget{classBWAPI_1_1UnitImpl_ac1d115d10c6701745106ae8bc8dc78bf}{\index{\-B\-W\-A\-P\-I\-::\-Unit\-Impl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}!burrow@{burrow}}
\index{burrow@{burrow}!BWAPI::UnitImpl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}}
\subsubsection[{burrow}]{\setlength{\rightskip}{0pt plus 5cm}virtual bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-Impl\-::burrow} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}\label{classBWAPI_1_1UnitImpl_ac1d115d10c6701745106ae8bc8dc78bf}
\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}


\-Implements \hyperlink{classBWAPI_1_1Unit_a66f0e66b4017a0b8bbc74de60804ab4b}{\-B\-W\-A\-P\-I\-::\-Unit}.

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

\-Implements \hyperlink{classBWAPI_1_1Unit_a28cf227476567e19aa600611563e2888}{\-B\-W\-A\-P\-I\-::\-Unit}.

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


\-Implements \hyperlink{classBWAPI_1_1Unit_a3af4d88a90c231372a92f2e15de14964}{\-B\-W\-A\-P\-I\-::\-Unit}.

\hypertarget{classBWAPI_1_1UnitImpl_a155c16ae7fb847b2723202346d7ebe4d}{\index{\-B\-W\-A\-P\-I\-::\-Unit\-Impl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}!cancel\-Morph@{cancel\-Morph}}
\index{cancel\-Morph@{cancel\-Morph}!BWAPI::UnitImpl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}}
\subsubsection[{cancel\-Morph}]{\setlength{\rightskip}{0pt plus 5cm}virtual bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-Impl\-::cancel\-Morph} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}\label{classBWAPI_1_1UnitImpl_a155c16ae7fb847b2723202346d7ebe4d}
\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}


\-Implements \hyperlink{classBWAPI_1_1Unit_a4931c3a42ec9faf82cd4071b65378734}{\-B\-W\-A\-P\-I\-::\-Unit}.

\hypertarget{classBWAPI_1_1UnitImpl_a52f152e119d9470e0563c4b5daa64a27}{\index{\-B\-W\-A\-P\-I\-::\-Unit\-Impl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}!cancel\-Research@{cancel\-Research}}
\index{cancel\-Research@{cancel\-Research}!BWAPI::UnitImpl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}}
\subsubsection[{cancel\-Research}]{\setlength{\rightskip}{0pt plus 5cm}virtual bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-Impl\-::cancel\-Research} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}\label{classBWAPI_1_1UnitImpl_a52f152e119d9470e0563c4b5daa64a27}
\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}


\-Implements \hyperlink{classBWAPI_1_1Unit_a4048993d8f18ccd359838a50d570086b}{\-B\-W\-A\-P\-I\-::\-Unit}.

\hypertarget{classBWAPI_1_1UnitImpl_abbffda4e3f1f7e467102f37458cd349b}{\index{\-B\-W\-A\-P\-I\-::\-Unit\-Impl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}!cancel\-Train@{cancel\-Train}}
\index{cancel\-Train@{cancel\-Train}!BWAPI::UnitImpl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}}
\subsubsection[{cancel\-Train}]{\setlength{\rightskip}{0pt plus 5cm}virtual bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-Impl\-::cancel\-Train} (
\begin{DoxyParamCaption}
\item[{int}]{slot = {\ttfamily -\/2}}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}\label{classBWAPI_1_1UnitImpl_abbffda4e3f1f7e467102f37458cd349b}
\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}


\-Implements \hyperlink{classBWAPI_1_1Unit_a87b8ca4640117d02d4c86d3512fe6e09}{\-B\-W\-A\-P\-I\-::\-Unit}.

\hypertarget{classBWAPI_1_1UnitImpl_a0eaf6fb98734e3f683dc8d1b84e8b3ee}{\index{\-B\-W\-A\-P\-I\-::\-Unit\-Impl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}!cancel\-Upgrade@{cancel\-Upgrade}}
\index{cancel\-Upgrade@{cancel\-Upgrade}!BWAPI::UnitImpl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}}
\subsubsection[{cancel\-Upgrade}]{\setlength{\rightskip}{0pt plus 5cm}virtual bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-Impl\-::cancel\-Upgrade} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}\label{classBWAPI_1_1UnitImpl_a0eaf6fb98734e3f683dc8d1b84e8b3ee}
\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}


\-Implements \hyperlink{classBWAPI_1_1Unit_a5350bd798bc2c0702d567ef07042d182}{\-B\-W\-A\-P\-I\-::\-Unit}.

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

\-Implements \hyperlink{classBWAPI_1_1Unit_a1a0b5ba80c16a4732f8ac5e4451d1fdf}{\-B\-W\-A\-P\-I\-::\-Unit}.

\hypertarget{classBWAPI_1_1UnitImpl_a3e823638c8f811726a4c128f6094cb81}{\index{\-B\-W\-A\-P\-I\-::\-Unit\-Impl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}!clear@{clear}}
\index{clear@{clear}!BWAPI::UnitImpl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}}
\subsubsection[{clear}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf \-B\-W\-A\-P\-I\-::\-Unit\-Impl\-::clear} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{classBWAPI_1_1UnitImpl_a3e823638c8f811726a4c128f6094cb81}
\hypertarget{classBWAPI_1_1UnitImpl_a46da3b172a899af1a9fb199158751e4a}{\index{\-B\-W\-A\-P\-I\-::\-Unit\-Impl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}!cloak@{cloak}}
\index{cloak@{cloak}!BWAPI::UnitImpl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}}
\subsubsection[{cloak}]{\setlength{\rightskip}{0pt plus 5cm}virtual bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-Impl\-::cloak} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}\label{classBWAPI_1_1UnitImpl_a46da3b172a899af1a9fb199158751e4a}
\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}


\-Implements \hyperlink{classBWAPI_1_1Unit_ae59ed0a9880b3e1f4a8786768c08bca8}{\-B\-W\-A\-P\-I\-::\-Unit}.

\hypertarget{classBWAPI_1_1UnitImpl_a5c88c122c0c53dc8eab0e4ada2d7edd6}{\index{\-B\-W\-A\-P\-I\-::\-Unit\-Impl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}!decloak@{decloak}}
\index{decloak@{decloak}!BWAPI::UnitImpl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}}
\subsubsection[{decloak}]{\setlength{\rightskip}{0pt plus 5cm}virtual bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-Impl\-::decloak} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}\label{classBWAPI_1_1UnitImpl_a5c88c122c0c53dc8eab0e4ada2d7edd6}
\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}


\-Implements \hyperlink{classBWAPI_1_1Unit_ad162117fae3ef34f3325395cb1ed7ef5}{\-B\-W\-A\-P\-I\-::\-Unit}.

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


\begin{DoxyItemize}
\item \-If \hyperlink{classBWAPI_1_1UnitImpl_a2bcbc0d72a484dbbf29bca2d2628867a}{exists()} returns true, the unit exists.
\item \-If \hyperlink{classBWAPI_1_1UnitImpl_a2bcbc0d72a484dbbf29bca2d2628867a}{exists()} returns false and the unit is owned by \hyperlink{classBWAPI_1_1UnitImpl_a08cd7100d083a21fe2bcdec0e68957f3}{self()}, then the unit does not exist.
\item \-If \hyperlink{classBWAPI_1_1UnitImpl_a2bcbc0d72a484dbbf29bca2d2628867a}{exists()} returns false and the unit is not owned by \hyperlink{classBWAPI_1_1UnitImpl_a08cd7100d083a21fe2bcdec0e68957f3}{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}


\-Implements \hyperlink{classBWAPI_1_1Unit_a504c79688ceeba71c6fcb2bd441b91f1}{\-B\-W\-A\-P\-I\-::\-Unit}.

\hypertarget{classBWAPI_1_1UnitImpl_acdf71552c86213c58e8bcfcf22311412}{\index{\-B\-W\-A\-P\-I\-::\-Unit\-Impl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}!follow@{follow}}
\index{follow@{follow}!BWAPI::UnitImpl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}}
\subsubsection[{follow}]{\setlength{\rightskip}{0pt plus 5cm}virtual bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-Impl\-::follow} (
\begin{DoxyParamCaption}
\item[{{\bf \-Unit} $\ast$}]{target, }
\item[{bool}]{shift\-Queue\-Command = {\ttfamily false}}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}\label{classBWAPI_1_1UnitImpl_acdf71552c86213c58e8bcfcf22311412}
\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}


\-Implements \hyperlink{classBWAPI_1_1Unit_a14e9015ffb05bdcadf7e103b9d28e8c5}{\-B\-W\-A\-P\-I\-::\-Unit}.

\hypertarget{classBWAPI_1_1UnitImpl_a1e14be0dc12eb2c77edfc63daf7f07b8}{\index{\-B\-W\-A\-P\-I\-::\-Unit\-Impl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}!gather@{gather}}
\index{gather@{gather}!BWAPI::UnitImpl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}}
\subsubsection[{gather}]{\setlength{\rightskip}{0pt plus 5cm}virtual bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-Impl\-::gather} (
\begin{DoxyParamCaption}
\item[{{\bf \-Unit} $\ast$}]{target, }
\item[{bool}]{shift\-Queue\-Command = {\ttfamily false}}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}\label{classBWAPI_1_1UnitImpl_a1e14be0dc12eb2c77edfc63daf7f07b8}
\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}


\-Implements \hyperlink{classBWAPI_1_1Unit_ada285d5e398295fefec503c4fc0f7182}{\-B\-W\-A\-P\-I\-::\-Unit}.

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

\-Implements \hyperlink{classBWAPI_1_1Unit_ad7ba91eece7fa01d7739e2eebe297250}{\-B\-W\-A\-P\-I\-::\-Unit}.

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

\-Implements \hyperlink{classBWAPI_1_1Unit_a8524443ba71be8181e2181ef37785517}{\-B\-W\-A\-P\-I\-::\-Unit}.

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

\-Implements \hyperlink{classBWAPI_1_1Unit_a493012f34983859cbd8746c7ffd2793e}{\-B\-W\-A\-P\-I\-::\-Unit}.

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

\-Implements \hyperlink{classBWAPI_1_1Unit_a2410a3c1ec90b4ab4c5ab945c6535f4d}{\-B\-W\-A\-P\-I\-::\-Unit}.

\hypertarget{classBWAPI_1_1UnitImpl_a401228703cdc9652356d6141b2a9d197}{\index{\-B\-W\-A\-P\-I\-::\-Unit\-Impl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}!get\-Build\-Type@{get\-Build\-Type}}
\index{get\-Build\-Type@{get\-Build\-Type}!BWAPI::UnitImpl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}}
\subsubsection[{get\-Build\-Type}]{\setlength{\rightskip}{0pt plus 5cm}virtual {\bf \-Unit\-Type} {\bf \-B\-W\-A\-P\-I\-::\-Unit\-Impl\-::get\-Build\-Type} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}\label{classBWAPI_1_1UnitImpl_a401228703cdc9652356d6141b2a9d197}
\-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. 

\-Implements \hyperlink{classBWAPI_1_1Unit_a5ee7269d0f6c4ff892aec046dfe28d30}{\-B\-W\-A\-P\-I\-::\-Unit}.

\hypertarget{classBWAPI_1_1UnitImpl_a365670b844e72d6155667033530d0d44}{\index{\-B\-W\-A\-P\-I\-::\-Unit\-Impl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}!get\-Build\-Unit@{get\-Build\-Unit}}
\index{get\-Build\-Unit@{get\-Build\-Unit}!BWAPI::UnitImpl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}}
\subsubsection[{get\-Build\-Unit}]{\setlength{\rightskip}{0pt plus 5cm}virtual {\bf \-Unit}$\ast$ {\bf \-B\-W\-A\-P\-I\-::\-Unit\-Impl\-::get\-Build\-Unit} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}\label{classBWAPI_1_1UnitImpl_a365670b844e72d6155667033530d0d44}
\-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. 

\-Implements \hyperlink{classBWAPI_1_1Unit_a6f02b6717895a725003c96273f0c723c}{\-B\-W\-A\-P\-I\-::\-Unit}.

\hypertarget{classBWAPI_1_1UnitImpl_a53c8d7d250c48ea400f00eb320f8b09b}{\index{\-B\-W\-A\-P\-I\-::\-Unit\-Impl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}!get\-Carrier@{get\-Carrier}}
\index{get\-Carrier@{get\-Carrier}!BWAPI::UnitImpl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}}
\subsubsection[{get\-Carrier}]{\setlength{\rightskip}{0pt plus 5cm}virtual {\bf \-Unit}$\ast$ {\bf \-B\-W\-A\-P\-I\-::\-Unit\-Impl\-::get\-Carrier} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}\label{classBWAPI_1_1UnitImpl_a53c8d7d250c48ea400f00eb320f8b09b}
\-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. 

\-Implements \hyperlink{classBWAPI_1_1Unit_af1f1c6b757f18267abec3f9b1497c106}{\-B\-W\-A\-P\-I\-::\-Unit}.

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

\-Implements \hyperlink{classBWAPI_1_1Unit_ae9aa8bc49aad819dc45137509573735a}{\-B\-W\-A\-P\-I\-::\-Unit}.

\hypertarget{classBWAPI_1_1UnitImpl_afc07a71503b3dc2d2d4b73ceefa70655}{\index{\-B\-W\-A\-P\-I\-::\-Unit\-Impl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}!get\-Defense\-Matrix\-Points@{get\-Defense\-Matrix\-Points}}
\index{get\-Defense\-Matrix\-Points@{get\-Defense\-Matrix\-Points}!BWAPI::UnitImpl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}}
\subsubsection[{get\-Defense\-Matrix\-Points}]{\setlength{\rightskip}{0pt plus 5cm}virtual int {\bf \-B\-W\-A\-P\-I\-::\-Unit\-Impl\-::get\-Defense\-Matrix\-Points} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}\label{classBWAPI_1_1UnitImpl_afc07a71503b3dc2d2d4b73ceefa70655}
\-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}


\-Implements \hyperlink{classBWAPI_1_1Unit_a3981bd29b6add09fb447e8eee1a9bd45}{\-B\-W\-A\-P\-I\-::\-Unit}.

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

\-Implements \hyperlink{classBWAPI_1_1Unit_a67031f8c07d27ec582ff76a5dafa4d43}{\-B\-W\-A\-P\-I\-::\-Unit}.

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

\-Implements \hyperlink{classBWAPI_1_1Unit_ab0e99345a86ebd314b13da0a0fe97553}{\-B\-W\-A\-P\-I\-::\-Unit}.

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

\-Implements \hyperlink{classBWAPI_1_1Unit_a3ba8b97769ad9e7619d413726d6aa58c}{\-B\-W\-A\-P\-I\-::\-Unit}.

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

\-Implements \hyperlink{classBWAPI_1_1Unit_a580a57b6e328406fb3fea690b50cec68}{\-B\-W\-A\-P\-I\-::\-Unit}.

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

\-Implements \hyperlink{classBWAPI_1_1Unit_a2de6af502a1ae1e7e65397282da708fb}{\-B\-W\-A\-P\-I\-::\-Unit}.

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

\-Implements \hyperlink{classBWAPI_1_1Unit_a2854649fe52ef18b9f303145de6c1ac7}{\-B\-W\-A\-P\-I\-::\-Unit}.

\hypertarget{classBWAPI_1_1UnitImpl_ae51f4d6a1b0d9ccdfe0601899b393f1c}{\index{\-B\-W\-A\-P\-I\-::\-Unit\-Impl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}!get\-Hatchery@{get\-Hatchery}}
\index{get\-Hatchery@{get\-Hatchery}!BWAPI::UnitImpl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}}
\subsubsection[{get\-Hatchery}]{\setlength{\rightskip}{0pt plus 5cm}virtual {\bf \-Unit}$\ast$ {\bf \-B\-W\-A\-P\-I\-::\-Unit\-Impl\-::get\-Hatchery} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}\label{classBWAPI_1_1UnitImpl_ae51f4d6a1b0d9ccdfe0601899b393f1c}
\-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. 

\-Implements \hyperlink{classBWAPI_1_1Unit_a42baa6c49ef8e687fefc9bf40eb6aaaf}{\-B\-W\-A\-P\-I\-::\-Unit}.

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

\-Implements \hyperlink{classBWAPI_1_1Unit_a5413db332f2fc743fdca1e68bf8e6546}{\-B\-W\-A\-P\-I\-::\-Unit}.

\hypertarget{classBWAPI_1_1UnitImpl_a67e644a9dbb4f3b978e6f2838a86bf2c}{\index{\-B\-W\-A\-P\-I\-::\-Unit\-Impl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}!get\-I\-D@{get\-I\-D}}
\index{get\-I\-D@{get\-I\-D}!BWAPI::UnitImpl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}}
\subsubsection[{get\-I\-D}]{\setlength{\rightskip}{0pt plus 5cm}virtual int {\bf \-B\-W\-A\-P\-I\-::\-Unit\-Impl\-::get\-I\-D} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}\label{classBWAPI_1_1UnitImpl_a67e644a9dbb4f3b978e6f2838a86bf2c}
\-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. 

\-Implements \hyperlink{classBWAPI_1_1Unit_adffa706cce7eb05c50573642cc80a5e2}{\-B\-W\-A\-P\-I\-::\-Unit}.

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

\-Implements \hyperlink{classBWAPI_1_1Unit_a258670943dffb68571e81d37ba226980}{\-B\-W\-A\-P\-I\-::\-Unit}.

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

\-Implements \hyperlink{classBWAPI_1_1Unit_a72becf005a5cb3b98729d697c21b36eb}{\-B\-W\-A\-P\-I\-::\-Unit}.

\hypertarget{classBWAPI_1_1UnitImpl_a9467a24179e0521bb7d549d6c5dd70fe}{\index{\-B\-W\-A\-P\-I\-::\-Unit\-Impl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}!get\-Initial\-Resources@{get\-Initial\-Resources}}
\index{get\-Initial\-Resources@{get\-Initial\-Resources}!BWAPI::UnitImpl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}}
\subsubsection[{get\-Initial\-Resources}]{\setlength{\rightskip}{0pt plus 5cm}virtual int {\bf \-B\-W\-A\-P\-I\-::\-Unit\-Impl\-::get\-Initial\-Resources} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}\label{classBWAPI_1_1UnitImpl_a9467a24179e0521bb7d549d6c5dd70fe}
\-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. 

\-Implements \hyperlink{classBWAPI_1_1Unit_aac1b1728d592c15b80442196683eb0ab}{\-B\-W\-A\-P\-I\-::\-Unit}.

\hypertarget{classBWAPI_1_1UnitImpl_ac227778458b099a1621623516310b03e}{\index{\-B\-W\-A\-P\-I\-::\-Unit\-Impl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}!get\-Initial\-Tile\-Position@{get\-Initial\-Tile\-Position}}
\index{get\-Initial\-Tile\-Position@{get\-Initial\-Tile\-Position}!BWAPI::UnitImpl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}}
\subsubsection[{get\-Initial\-Tile\-Position}]{\setlength{\rightskip}{0pt plus 5cm}virtual {\bf \-Tile\-Position} {\bf \-B\-W\-A\-P\-I\-::\-Unit\-Impl\-::get\-Initial\-Tile\-Position} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}\label{classBWAPI_1_1UnitImpl_ac227778458b099a1621623516310b03e}
\-Returns the initial build tile position of the unit on the map, or \hyperlink{namespaceBWAPI_1_1TilePositions_a7e9fdad1975d735ff9f642f106b80264}{\-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. 

\-Implements \hyperlink{classBWAPI_1_1Unit_a00692c8624ce7b91508a51a9a2f65bd2}{\-B\-W\-A\-P\-I\-::\-Unit}.

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

\-Implements \hyperlink{classBWAPI_1_1Unit_a71b3baed8c04b17d7192d2c9d4dfb84f}{\-B\-W\-A\-P\-I\-::\-Unit}.

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

\-Implements \hyperlink{classBWAPI_1_1Unit_ae22ae37bc5535e6dfa318621052e7124}{\-B\-W\-A\-P\-I\-::\-Unit}.

\hypertarget{classBWAPI_1_1UnitImpl_ac37af9b5e7fbe685bd5845e0ee4c9bce}{\index{\-B\-W\-A\-P\-I\-::\-Unit\-Impl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}!get\-Interceptors@{get\-Interceptors}}
\index{get\-Interceptors@{get\-Interceptors}!BWAPI::UnitImpl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}}
\subsubsection[{get\-Interceptors}]{\setlength{\rightskip}{0pt plus 5cm}virtual std\-::set$<${\bf \-Unit}$\ast$$>$ {\bf \-B\-W\-A\-P\-I\-::\-Unit\-Impl\-::get\-Interceptors} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}\label{classBWAPI_1_1UnitImpl_ac37af9b5e7fbe685bd5845e0ee4c9bce}
\-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. 

\-Implements \hyperlink{classBWAPI_1_1Unit_a821a01e58bc8ecd46fdb3dfdfd81a0fe}{\-B\-W\-A\-P\-I\-::\-Unit}.

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

\-Implements \hyperlink{classBWAPI_1_1Unit_a36f9aade1317691c35abc40d33cdf4bf}{\-B\-W\-A\-P\-I\-::\-Unit}.

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

\-Implements \hyperlink{classBWAPI_1_1Unit_a6aa00eab8d9fbce8badb393b5a8257d1}{\-B\-W\-A\-P\-I\-::\-Unit}.

\hypertarget{classBWAPI_1_1UnitImpl_a28f6746c075fed54ff914d517456bfd3}{\index{\-B\-W\-A\-P\-I\-::\-Unit\-Impl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}!get\-Larva@{get\-Larva}}
\index{get\-Larva@{get\-Larva}!BWAPI::UnitImpl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}}
\subsubsection[{get\-Larva}]{\setlength{\rightskip}{0pt plus 5cm}virtual std\-::set$<${\bf \-Unit}$\ast$$>$ {\bf \-B\-W\-A\-P\-I\-::\-Unit\-Impl\-::get\-Larva} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}\label{classBWAPI_1_1UnitImpl_a28f6746c075fed54ff914d517456bfd3}
\-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. 

\-Implements \hyperlink{classBWAPI_1_1Unit_a7c78da21f076c91d3a55467a14d684c4}{\-B\-W\-A\-P\-I\-::\-Unit}.

\hypertarget{classBWAPI_1_1UnitImpl_a3b905c2c354a9706746bfafada5121a0}{\index{\-B\-W\-A\-P\-I\-::\-Unit\-Impl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}!get\-Last\-Attacking\-Player@{get\-Last\-Attacking\-Player}}
\index{get\-Last\-Attacking\-Player@{get\-Last\-Attacking\-Player}!BWAPI::UnitImpl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}}
\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\-Impl\-::get\-Last\-Attacking\-Player} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}\label{classBWAPI_1_1UnitImpl_a3b905c2c354a9706746bfafada5121a0}
\-Returns the player that last attacked this unit. 

\-Implements \hyperlink{classBWAPI_1_1Unit_a9ddb7a68c6beed29d774b2effc8088dd}{\-B\-W\-A\-P\-I\-::\-Unit}.

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

\-Implements \hyperlink{classBWAPI_1_1Unit_a9dbba44b367fa3ee74d9bb35fb66facd}{\-B\-W\-A\-P\-I\-::\-Unit}.

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

\-Implements \hyperlink{classBWAPI_1_1Unit_aeb64064c396d38ee141410dfb7901041}{\-B\-W\-A\-P\-I\-::\-Unit}.

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

\-Implements \hyperlink{classBWAPI_1_1Unit_a466e67482801bc8c6c2faac092e5f4cd}{\-B\-W\-A\-P\-I\-::\-Unit}.

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

\-Implements \hyperlink{classBWAPI_1_1Unit_ae43eabef9e08e695b884c2384ddaee2a}{\-B\-W\-A\-P\-I\-::\-Unit}.

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

\-Implements \hyperlink{classBWAPI_1_1Unit_ad72f29f6e5f813d911337ea73b81a799}{\-B\-W\-A\-P\-I\-::\-Unit}.

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

\-Implements \hyperlink{classBWAPI_1_1Unit_a7d799b2cd6e7a44b43aa47d82b1829de}{\-B\-W\-A\-P\-I\-::\-Unit}.

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


\-Implements \hyperlink{classBWAPI_1_1Unit_a31b5096167e31ee85af6c6686956b8c1}{\-B\-W\-A\-P\-I\-::\-Unit}.

\hypertarget{classBWAPI_1_1UnitImpl_a098d658c1d60c960cc8570a206605863}{\index{\-B\-W\-A\-P\-I\-::\-Unit\-Impl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}!get\-Order\-Target@{get\-Order\-Target}}
\index{get\-Order\-Target@{get\-Order\-Target}!BWAPI::UnitImpl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}}
\subsubsection[{get\-Order\-Target}]{\setlength{\rightskip}{0pt plus 5cm}virtual {\bf \-Unit}$\ast$ {\bf \-B\-W\-A\-P\-I\-::\-Unit\-Impl\-::get\-Order\-Target} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}\label{classBWAPI_1_1UnitImpl_a098d658c1d60c960cc8570a206605863}
\-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. 

\-Implements \hyperlink{classBWAPI_1_1Unit_ab1748b09ea9c92fde53d459eb58276cd}{\-B\-W\-A\-P\-I\-::\-Unit}.

\hypertarget{classBWAPI_1_1UnitImpl_a410e4d4c1c508633d496d8d77bf39897}{\index{\-B\-W\-A\-P\-I\-::\-Unit\-Impl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}!get\-Order\-Target\-Position@{get\-Order\-Target\-Position}}
\index{get\-Order\-Target\-Position@{get\-Order\-Target\-Position}!BWAPI::UnitImpl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}}
\subsubsection[{get\-Order\-Target\-Position}]{\setlength{\rightskip}{0pt plus 5cm}virtual {\bf \-Position} {\bf \-B\-W\-A\-P\-I\-::\-Unit\-Impl\-::get\-Order\-Target\-Position} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}\label{classBWAPI_1_1UnitImpl_a410e4d4c1c508633d496d8d77bf39897}
\-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. 

\-Implements \hyperlink{classBWAPI_1_1Unit_a4bc269c8428775b0cd8f6e4ecc29f817}{\-B\-W\-A\-P\-I\-::\-Unit}.

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


\-Implements \hyperlink{classBWAPI_1_1Unit_a43ccc223fac9367695b91577455db446}{\-B\-W\-A\-P\-I\-::\-Unit}.

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

\-Implements \hyperlink{classBWAPI_1_1Unit_a4703abc761d72f1d1fa92268f600a765}{\-B\-W\-A\-P\-I\-::\-Unit}.

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

\-Implements \hyperlink{classBWAPI_1_1Unit_a8b1d6759c55aa2c96ad69b481a5793f4}{\-B\-W\-A\-P\-I\-::\-Unit}.

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

\-Implements \hyperlink{classBWAPI_1_1Unit_a22fb4f0b326eaf616801bd74903eae2d}{\-B\-W\-A\-P\-I\-::\-Unit}.

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

\-Implements \hyperlink{classBWAPI_1_1Unit_a690da81bc27427b52b915c7e604448bd}{\-B\-W\-A\-P\-I\-::\-Unit}.

\hypertarget{classBWAPI_1_1UnitImpl_a911f6566da0f7bf696857741b0f57fad}{\index{\-B\-W\-A\-P\-I\-::\-Unit\-Impl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}!get\-Rally\-Position@{get\-Rally\-Position}}
\index{get\-Rally\-Position@{get\-Rally\-Position}!BWAPI::UnitImpl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}}
\subsubsection[{get\-Rally\-Position}]{\setlength{\rightskip}{0pt plus 5cm}virtual {\bf \-Position} {\bf \-B\-W\-A\-P\-I\-::\-Unit\-Impl\-::get\-Rally\-Position} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}\label{classBWAPI_1_1UnitImpl_a911f6566da0f7bf696857741b0f57fad}
\-Returns the position the building is rallied to. \-If the building does not produce units, \hyperlink{namespaceBWAPI_1_1Positions_a7275e30a7c9f7113610178d4405dec9a}{\-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}


\-Implements \hyperlink{classBWAPI_1_1Unit_a20841c377bd9741c191db0fc98ad4f98}{\-B\-W\-A\-P\-I\-::\-Unit}.

\hypertarget{classBWAPI_1_1UnitImpl_a7bff1618d663bf56906d021b69a2a302}{\index{\-B\-W\-A\-P\-I\-::\-Unit\-Impl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}!get\-Rally\-Unit@{get\-Rally\-Unit}}
\index{get\-Rally\-Unit@{get\-Rally\-Unit}!BWAPI::UnitImpl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}}
\subsubsection[{get\-Rally\-Unit}]{\setlength{\rightskip}{0pt plus 5cm}virtual {\bf \-Unit}$\ast$ {\bf \-B\-W\-A\-P\-I\-::\-Unit\-Impl\-::get\-Rally\-Unit} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}\label{classBWAPI_1_1UnitImpl_a7bff1618d663bf56906d021b69a2a302}
\-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}


\-Implements \hyperlink{classBWAPI_1_1Unit_a68f089b52185206ee3e949ea19d1c274}{\-B\-W\-A\-P\-I\-::\-Unit}.

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

\-Implements \hyperlink{classBWAPI_1_1Unit_afbf6ffcf859aece1f02d7539eecb1a31}{\-B\-W\-A\-P\-I\-::\-Unit}.

\hypertarget{classBWAPI_1_1UnitImpl_a781e398752984954294c8d9652dd01fd}{\index{\-B\-W\-A\-P\-I\-::\-Unit\-Impl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}!get\-Remaining\-Research\-Time@{get\-Remaining\-Research\-Time}}
\index{get\-Remaining\-Research\-Time@{get\-Remaining\-Research\-Time}!BWAPI::UnitImpl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}}
\subsubsection[{get\-Remaining\-Research\-Time}]{\setlength{\rightskip}{0pt plus 5cm}virtual int {\bf \-B\-W\-A\-P\-I\-::\-Unit\-Impl\-::get\-Remaining\-Research\-Time} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}\label{classBWAPI_1_1UnitImpl_a781e398752984954294c8d9652dd01fd}
\-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}


\-Implements \hyperlink{classBWAPI_1_1Unit_ae04e5e00f01f08fbaaf970369f01a2cb}{\-B\-W\-A\-P\-I\-::\-Unit}.

\hypertarget{classBWAPI_1_1UnitImpl_abbd571fff76bba10ec817b10b9b890b9}{\index{\-B\-W\-A\-P\-I\-::\-Unit\-Impl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}!get\-Remaining\-Train\-Time@{get\-Remaining\-Train\-Time}}
\index{get\-Remaining\-Train\-Time@{get\-Remaining\-Train\-Time}!BWAPI::UnitImpl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}}
\subsubsection[{get\-Remaining\-Train\-Time}]{\setlength{\rightskip}{0pt plus 5cm}virtual int {\bf \-B\-W\-A\-P\-I\-::\-Unit\-Impl\-::get\-Remaining\-Train\-Time} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}\label{classBWAPI_1_1UnitImpl_abbd571fff76bba10ec817b10b9b890b9}
\-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. 

\-Implements \hyperlink{classBWAPI_1_1Unit_affd47d2908b669c3fd3972ec06f08164}{\-B\-W\-A\-P\-I\-::\-Unit}.

\hypertarget{classBWAPI_1_1UnitImpl_af3d0697349e5eba8799f9be6eadbb70f}{\index{\-B\-W\-A\-P\-I\-::\-Unit\-Impl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}!get\-Remaining\-Upgrade\-Time@{get\-Remaining\-Upgrade\-Time}}
\index{get\-Remaining\-Upgrade\-Time@{get\-Remaining\-Upgrade\-Time}!BWAPI::UnitImpl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}}
\subsubsection[{get\-Remaining\-Upgrade\-Time}]{\setlength{\rightskip}{0pt plus 5cm}virtual int {\bf \-B\-W\-A\-P\-I\-::\-Unit\-Impl\-::get\-Remaining\-Upgrade\-Time} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}\label{classBWAPI_1_1UnitImpl_af3d0697349e5eba8799f9be6eadbb70f}
\-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}


\-Implements \hyperlink{classBWAPI_1_1Unit_a0173d7266e891fb61e66386b9696f696}{\-B\-W\-A\-P\-I\-::\-Unit}.

\hypertarget{classBWAPI_1_1UnitImpl_a81eaeb657ed602447b5cb6fba83dd408}{\index{\-B\-W\-A\-P\-I\-::\-Unit\-Impl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}!get\-Remove\-Timer@{get\-Remove\-Timer}}
\index{get\-Remove\-Timer@{get\-Remove\-Timer}!BWAPI::UnitImpl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}}
\subsubsection[{get\-Remove\-Timer}]{\setlength{\rightskip}{0pt plus 5cm}virtual int {\bf \-B\-W\-A\-P\-I\-::\-Unit\-Impl\-::get\-Remove\-Timer} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}\label{classBWAPI_1_1UnitImpl_a81eaeb657ed602447b5cb6fba83dd408}
\-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. 

\-Implements \hyperlink{classBWAPI_1_1Unit_aef7e604358685fd73960d3aecb5ec5a3}{\-B\-W\-A\-P\-I\-::\-Unit}.

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

\-Implements \hyperlink{classBWAPI_1_1Unit_ac579b5d13bf29062accea74cfc324d28}{\-B\-W\-A\-P\-I\-::\-Unit}.

\hypertarget{classBWAPI_1_1UnitImpl_af79ac08c1c62db23faace55e0580bc16}{\index{\-B\-W\-A\-P\-I\-::\-Unit\-Impl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}!get\-Resources@{get\-Resources}}
\index{get\-Resources@{get\-Resources}!BWAPI::UnitImpl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}}
\subsubsection[{get\-Resources}]{\setlength{\rightskip}{0pt plus 5cm}virtual int {\bf \-B\-W\-A\-P\-I\-::\-Unit\-Impl\-::get\-Resources} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}\label{classBWAPI_1_1UnitImpl_af79ac08c1c62db23faace55e0580bc16}
\-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). 

\-Implements \hyperlink{classBWAPI_1_1Unit_a3b12c07b5b2e27c2f26f7cecbcdef2e9}{\-B\-W\-A\-P\-I\-::\-Unit}.

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

\-Implements \hyperlink{classBWAPI_1_1Unit_a9764beeb5c4bbbf9157c0fdd30cdfd9e}{\-B\-W\-A\-P\-I\-::\-Unit}.

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


\-Implements \hyperlink{classBWAPI_1_1Unit_ae13b78b1852c94398547bf43659d4df4}{\-B\-W\-A\-P\-I\-::\-Unit}.

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

\-Implements \hyperlink{classBWAPI_1_1Unit_ad4f0d36c28951710bb8134290d78bdb1}{\-B\-W\-A\-P\-I\-::\-Unit}.

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

\-Implements \hyperlink{classBWAPI_1_1Unit_ad3cbedbad797cc0e75e985d1c5faa460}{\-B\-W\-A\-P\-I\-::\-Unit}.

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

\-Implements \hyperlink{classBWAPI_1_1Unit_a75c61cb95640f3a6021c05609172b036}{\-B\-W\-A\-P\-I\-::\-Unit}.

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

\-Implements \hyperlink{classBWAPI_1_1Unit_a231eae31282146aa023f51c5048627a6}{\-B\-W\-A\-P\-I\-::\-Unit}.

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

\-Implements \hyperlink{classBWAPI_1_1Unit_a4a72d2f6cd7b37a38bb2f5ba2d6b08ad}{\-B\-W\-A\-P\-I\-::\-Unit}.

\hypertarget{classBWAPI_1_1UnitImpl_ace73f77baf5bdf813b295c9f5b4e2ff1}{\index{\-B\-W\-A\-P\-I\-::\-Unit\-Impl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}!get\-Target@{get\-Target}}
\index{get\-Target@{get\-Target}!BWAPI::UnitImpl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}}
\subsubsection[{get\-Target}]{\setlength{\rightskip}{0pt plus 5cm}virtual {\bf \-Unit}$\ast$ {\bf \-B\-W\-A\-P\-I\-::\-Unit\-Impl\-::get\-Target} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}\label{classBWAPI_1_1UnitImpl_ace73f77baf5bdf813b295c9f5b4e2ff1}
\-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. 

\-Implements \hyperlink{classBWAPI_1_1Unit_ab78468beae4a20dba9f0a4ff3d7277e9}{\-B\-W\-A\-P\-I\-::\-Unit}.

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

\-Implements \hyperlink{classBWAPI_1_1Unit_a19efc735ffc2238b26c90eca33788010}{\-B\-W\-A\-P\-I\-::\-Unit}.

\hypertarget{classBWAPI_1_1UnitImpl_a04852614cd18062e367eb13859616726}{\index{\-B\-W\-A\-P\-I\-::\-Unit\-Impl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}!get\-Tech@{get\-Tech}}
\index{get\-Tech@{get\-Tech}!BWAPI::UnitImpl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}}
\subsubsection[{get\-Tech}]{\setlength{\rightskip}{0pt plus 5cm}virtual {\bf \-Tech\-Type} {\bf \-B\-W\-A\-P\-I\-::\-Unit\-Impl\-::get\-Tech} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}\label{classBWAPI_1_1UnitImpl_a04852614cd18062e367eb13859616726}
\-Returns the tech that the unit is currently researching. \-If the unit is not researching anything, \hyperlink{namespaceBWAPI_1_1TechTypes_a888026c44fa65bbcc338fcca795c4d25}{\-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}


\-Implements \hyperlink{classBWAPI_1_1Unit_a11331855e5119240177a08b1382563e6}{\-B\-W\-A\-P\-I\-::\-Unit}.

\hypertarget{classBWAPI_1_1UnitImpl_aeb438979699e71e5a2297942a8eb9710}{\index{\-B\-W\-A\-P\-I\-::\-Unit\-Impl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}!get\-Tile\-Position@{get\-Tile\-Position}}
\index{get\-Tile\-Position@{get\-Tile\-Position}!BWAPI::UnitImpl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}}
\subsubsection[{get\-Tile\-Position}]{\setlength{\rightskip}{0pt plus 5cm}virtual {\bf \-Tile\-Position} {\bf \-B\-W\-A\-P\-I\-::\-Unit\-Impl\-::get\-Tile\-Position} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}\label{classBWAPI_1_1UnitImpl_aeb438979699e71e5a2297942a8eb9710}
\-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. 

\-Implements \hyperlink{classBWAPI_1_1Unit_a1893de005e5d3df771baf7cd157fbe2f}{\-B\-W\-A\-P\-I\-::\-Unit}.

\hypertarget{classBWAPI_1_1UnitImpl_a8901e9072b77d658a5c6fce76ab987cd}{\index{\-B\-W\-A\-P\-I\-::\-Unit\-Impl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}!get\-Training\-Queue@{get\-Training\-Queue}}
\index{get\-Training\-Queue@{get\-Training\-Queue}!BWAPI::UnitImpl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}}
\subsubsection[{get\-Training\-Queue}]{\setlength{\rightskip}{0pt plus 5cm}virtual std\-::list$<${\bf \-Unit\-Type}$>$ {\bf \-B\-W\-A\-P\-I\-::\-Unit\-Impl\-::get\-Training\-Queue} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}\label{classBWAPI_1_1UnitImpl_a8901e9072b77d658a5c6fce76ab987cd}
\-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}


\-Implements \hyperlink{classBWAPI_1_1Unit_af81ad84273036f2c093df418ae3f5224}{\-B\-W\-A\-P\-I\-::\-Unit}.

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

\-Implements \hyperlink{classBWAPI_1_1Unit_a3a336f06d42d2b9d8285795810714ea9}{\-B\-W\-A\-P\-I\-::\-Unit}.

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

\-Implements \hyperlink{classBWAPI_1_1Unit_a29a8e8fae93eac8615e82911f11445d9}{\-B\-W\-A\-P\-I\-::\-Unit}.

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

\-Implements \hyperlink{classBWAPI_1_1Unit_a9db22055c652e60243ad900a74331cbf}{\-B\-W\-A\-P\-I\-::\-Unit}.

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

\-Implements \hyperlink{classBWAPI_1_1Unit_ac0dd082dbc58cf54caa71a6ab729c5a8}{\-B\-W\-A\-P\-I\-::\-Unit}.

\hypertarget{classBWAPI_1_1UnitImpl_a29ccfa3388f9387d7486028d8846a8c4}{\index{\-B\-W\-A\-P\-I\-::\-Unit\-Impl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}!get\-Upgrade@{get\-Upgrade}}
\index{get\-Upgrade@{get\-Upgrade}!BWAPI::UnitImpl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}}
\subsubsection[{get\-Upgrade}]{\setlength{\rightskip}{0pt plus 5cm}virtual {\bf \-Upgrade\-Type} {\bf \-B\-W\-A\-P\-I\-::\-Unit\-Impl\-::get\-Upgrade} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}\label{classBWAPI_1_1UnitImpl_a29ccfa3388f9387d7486028d8846a8c4}
\-Returns the upgrade that the unit is currently upgrading. \-If the unit is not upgrading anything, \hyperlink{namespaceBWAPI_1_1UpgradeTypes_aee29b529dd83d6bb9d7230dcdce1c451}{\-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}


\-Implements \hyperlink{classBWAPI_1_1Unit_a628a6901e954b6a2708f9d1d16acedf4}{\-B\-W\-A\-P\-I\-::\-Unit}.

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

\-Implements \hyperlink{classBWAPI_1_1Unit_a2dd67c165b43427fb60d5fd4e9852981}{\-B\-W\-A\-P\-I\-::\-Unit}.

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

\-Implements \hyperlink{classBWAPI_1_1Unit_a2948fe7c712bbcb376665a13726b80a6}{\-B\-W\-A\-P\-I\-::\-Unit}.

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

\-Implements \hyperlink{classBWAPI_1_1Unit_ab1a13771d1122b6cd81a41a9575d9cde}{\-B\-W\-A\-P\-I\-::\-Unit}.

\hypertarget{classBWAPI_1_1UnitImpl_ad02f6b737d42e49be30b0b85217f26e4}{\index{\-B\-W\-A\-P\-I\-::\-Unit\-Impl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}!halt\-Construction@{halt\-Construction}}
\index{halt\-Construction@{halt\-Construction}!BWAPI::UnitImpl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}}
\subsubsection[{halt\-Construction}]{\setlength{\rightskip}{0pt plus 5cm}virtual bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-Impl\-::halt\-Construction} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}\label{classBWAPI_1_1UnitImpl_ad02f6b737d42e49be30b0b85217f26e4}
\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}


\-Implements \hyperlink{classBWAPI_1_1Unit_a20d564b9f828e6fb0ec04494bdc383e4}{\-B\-W\-A\-P\-I\-::\-Unit}.

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


\-Implements \hyperlink{classBWAPI_1_1Unit_aeb5c9d5e0e77ede32ade74fa23a95990}{\-B\-W\-A\-P\-I\-::\-Unit}.

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

\-Implements \hyperlink{classBWAPI_1_1Unit_a0db92748938a9d802520fbab06da4339}{\-B\-W\-A\-P\-I\-::\-Unit}.

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

\-Implements \hyperlink{classBWAPI_1_1Unit_ae4a20dc2438fe3f80987287b1939b318}{\-B\-W\-A\-P\-I\-::\-Unit}.

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

\-Implements \hyperlink{classBWAPI_1_1Unit_a57e5146674f44a551eeb34e82598a01a}{\-B\-W\-A\-P\-I\-::\-Unit}.

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

\-Implements \hyperlink{classBWAPI_1_1Unit_a9c1c2242343e24c1bd3eadc63c2129e0}{\-B\-W\-A\-P\-I\-::\-Unit}.

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


\-Implements \hyperlink{classBWAPI_1_1Unit_a78548308898e4fb76fd62835fefb41bf}{\-B\-W\-A\-P\-I\-::\-Unit}.

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


\-Implements \hyperlink{classBWAPI_1_1Unit_a025adc0cec859af70f80e3575a4117ef}{\-B\-W\-A\-P\-I\-::\-Unit}.

\hypertarget{classBWAPI_1_1UnitImpl_ae631c34040e16b00fa1b34ea2ec8b9d0}{\index{\-B\-W\-A\-P\-I\-::\-Unit\-Impl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}!is\-Being\-Constructed@{is\-Being\-Constructed}}
\index{is\-Being\-Constructed@{is\-Being\-Constructed}!BWAPI::UnitImpl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}}
\subsubsection[{is\-Being\-Constructed}]{\setlength{\rightskip}{0pt plus 5cm}virtual bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-Impl\-::is\-Being\-Constructed} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}\label{classBWAPI_1_1UnitImpl_ae631c34040e16b00fa1b34ea2ec8b9d0}
\-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}


\-Implements \hyperlink{classBWAPI_1_1Unit_a37612d58659e6efdae1620d62ddd4046}{\-B\-W\-A\-P\-I\-::\-Unit}.

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

\-Implements \hyperlink{classBWAPI_1_1Unit_a7d00e38c73d4aa014d2dfceb4471c135}{\-B\-W\-A\-P\-I\-::\-Unit}.

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

\-Implements \hyperlink{classBWAPI_1_1Unit_a6bf788249c6865696e6f39485a959b2e}{\-B\-W\-A\-P\-I\-::\-Unit}.

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

\-Implements \hyperlink{classBWAPI_1_1Unit_a6bf5552cf9ad3bcd8867ac54950fa2a5}{\-B\-W\-A\-P\-I\-::\-Unit}.

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

\-Implements \hyperlink{classBWAPI_1_1Unit_aa60e331b93718b523a971b8de81375ce}{\-B\-W\-A\-P\-I\-::\-Unit}.

\hypertarget{classBWAPI_1_1UnitImpl_a2df03c5a2a03e8c9aeced4163160f07f}{\index{\-B\-W\-A\-P\-I\-::\-Unit\-Impl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}!is\-Burrowed@{is\-Burrowed}}
\index{is\-Burrowed@{is\-Burrowed}!BWAPI::UnitImpl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}}
\subsubsection[{is\-Burrowed}]{\setlength{\rightskip}{0pt plus 5cm}virtual bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-Impl\-::is\-Burrowed} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}\label{classBWAPI_1_1UnitImpl_a2df03c5a2a03e8c9aeced4163160f07f}
\-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}


\-Implements \hyperlink{classBWAPI_1_1Unit_a1117bce4ca4edd95cdf84280e0b00fdd}{\-B\-W\-A\-P\-I\-::\-Unit}.

\hypertarget{classBWAPI_1_1UnitImpl_a3f671f24d7f62aee047a82cc6e41d893}{\index{\-B\-W\-A\-P\-I\-::\-Unit\-Impl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}!is\-Carrying\-Gas@{is\-Carrying\-Gas}}
\index{is\-Carrying\-Gas@{is\-Carrying\-Gas}!BWAPI::UnitImpl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}}
\subsubsection[{is\-Carrying\-Gas}]{\setlength{\rightskip}{0pt plus 5cm}virtual bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-Impl\-::is\-Carrying\-Gas} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}\label{classBWAPI_1_1UnitImpl_a3f671f24d7f62aee047a82cc6e41d893}
\-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}


\-Implements \hyperlink{classBWAPI_1_1Unit_a84d6614da57d7385be11f58ed1457f4c}{\-B\-W\-A\-P\-I\-::\-Unit}.

\hypertarget{classBWAPI_1_1UnitImpl_a87c87e42024e8aa49b5ad1f5f9d3756d}{\index{\-B\-W\-A\-P\-I\-::\-Unit\-Impl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}!is\-Carrying\-Minerals@{is\-Carrying\-Minerals}}
\index{is\-Carrying\-Minerals@{is\-Carrying\-Minerals}!BWAPI::UnitImpl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}}
\subsubsection[{is\-Carrying\-Minerals}]{\setlength{\rightskip}{0pt plus 5cm}virtual bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-Impl\-::is\-Carrying\-Minerals} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}\label{classBWAPI_1_1UnitImpl_a87c87e42024e8aa49b5ad1f5f9d3756d}
\-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}


\-Implements \hyperlink{classBWAPI_1_1Unit_a09aa92e8eb287f75e654b0642819b0b9}{\-B\-W\-A\-P\-I\-::\-Unit}.

\hypertarget{classBWAPI_1_1UnitImpl_ac73cbb2f6b920ddaae5bcaf806871f8a}{\index{\-B\-W\-A\-P\-I\-::\-Unit\-Impl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}!is\-Cloaked@{is\-Cloaked}}
\index{is\-Cloaked@{is\-Cloaked}!BWAPI::UnitImpl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}}
\subsubsection[{is\-Cloaked}]{\setlength{\rightskip}{0pt plus 5cm}virtual bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-Impl\-::is\-Cloaked} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}\label{classBWAPI_1_1UnitImpl_ac73cbb2f6b920ddaae5bcaf806871f8a}
\-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}


\-Implements \hyperlink{classBWAPI_1_1Unit_a36733f38d84d313ee1fda4aba8288156}{\-B\-W\-A\-P\-I\-::\-Unit}.

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

\-Implements \hyperlink{classBWAPI_1_1Unit_aaf457f2809efcc1af1e2ba5f68378764}{\-B\-W\-A\-P\-I\-::\-Unit}.

\hypertarget{classBWAPI_1_1UnitImpl_a22b33b73dda4a1d882d16279cf84796f}{\index{\-B\-W\-A\-P\-I\-::\-Unit\-Impl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}!is\-Constructing@{is\-Constructing}}
\index{is\-Constructing@{is\-Constructing}!BWAPI::UnitImpl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}}
\subsubsection[{is\-Constructing}]{\setlength{\rightskip}{0pt plus 5cm}virtual bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-Impl\-::is\-Constructing} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}\label{classBWAPI_1_1UnitImpl_a22b33b73dda4a1d882d16279cf84796f}
\-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}


\-Implements \hyperlink{classBWAPI_1_1Unit_ac5be71081aa7eb1a2c7fbbc39220ba13}{\-B\-W\-A\-P\-I\-::\-Unit}.

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

\-Implements \hyperlink{classBWAPI_1_1Unit_a3fd07acb8cfbd9a49fd77f391af9368b}{\-B\-W\-A\-P\-I\-::\-Unit}.

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

\-Implements \hyperlink{classBWAPI_1_1Unit_aeea08cdfae41fdc570c92f4bba917bb8}{\-B\-W\-A\-P\-I\-::\-Unit}.

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

\-Implements \hyperlink{classBWAPI_1_1Unit_a59c0128e16533f8e0fe75881d98e2811}{\-B\-W\-A\-P\-I\-::\-Unit}.

\hypertarget{classBWAPI_1_1UnitImpl_afd891c03335070fff2d1bcc01c11b524}{\index{\-B\-W\-A\-P\-I\-::\-Unit\-Impl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}!is\-Following@{is\-Following}}
\index{is\-Following@{is\-Following}!BWAPI::UnitImpl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}}
\subsubsection[{is\-Following}]{\setlength{\rightskip}{0pt plus 5cm}virtual bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-Impl\-::is\-Following} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}\label{classBWAPI_1_1UnitImpl_afd891c03335070fff2d1bcc01c11b524}
\-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}


\-Implements \hyperlink{classBWAPI_1_1Unit_a157320cd9e0becb4f91e917cfbc86b70}{\-B\-W\-A\-P\-I\-::\-Unit}.

\hypertarget{classBWAPI_1_1UnitImpl_af5a782b471f22eee0f3b23f0b56c75ec}{\index{\-B\-W\-A\-P\-I\-::\-Unit\-Impl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}!is\-Gathering\-Gas@{is\-Gathering\-Gas}}
\index{is\-Gathering\-Gas@{is\-Gathering\-Gas}!BWAPI::UnitImpl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}}
\subsubsection[{is\-Gathering\-Gas}]{\setlength{\rightskip}{0pt plus 5cm}virtual bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-Impl\-::is\-Gathering\-Gas} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}\label{classBWAPI_1_1UnitImpl_af5a782b471f22eee0f3b23f0b56c75ec}
\-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}


\-Implements \hyperlink{classBWAPI_1_1Unit_ade805fbc2814eede4a88c1160e91be55}{\-B\-W\-A\-P\-I\-::\-Unit}.

\hypertarget{classBWAPI_1_1UnitImpl_a49abb8968b2bf752e92263ca0e8952d5}{\index{\-B\-W\-A\-P\-I\-::\-Unit\-Impl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}!is\-Gathering\-Minerals@{is\-Gathering\-Minerals}}
\index{is\-Gathering\-Minerals@{is\-Gathering\-Minerals}!BWAPI::UnitImpl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}}
\subsubsection[{is\-Gathering\-Minerals}]{\setlength{\rightskip}{0pt plus 5cm}virtual bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-Impl\-::is\-Gathering\-Minerals} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}\label{classBWAPI_1_1UnitImpl_a49abb8968b2bf752e92263ca0e8952d5}
\-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}


\-Implements \hyperlink{classBWAPI_1_1Unit_a4e462889f20394c482db6b8e7113c27f}{\-B\-W\-A\-P\-I\-::\-Unit}.

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


\-Implements \hyperlink{classBWAPI_1_1Unit_a669d03b9e93009fa9955e645522db0be}{\-B\-W\-A\-P\-I\-::\-Unit}.

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


\-Implements \hyperlink{classBWAPI_1_1Unit_a877f4b86f5e41dc87d9740d2aaa6c62a}{\-B\-W\-A\-P\-I\-::\-Unit}.

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


\-Implements \hyperlink{classBWAPI_1_1Unit_aac037e66a738520c13ecbf3d83151d97}{\-B\-W\-A\-P\-I\-::\-Unit}.

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

\-Implements \hyperlink{classBWAPI_1_1Unit_ae7714897682ecf58d25dd7ab05b7eff9}{\-B\-W\-A\-P\-I\-::\-Unit}.

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

\-Implements \hyperlink{classBWAPI_1_1Unit_ab601cded08e572eb7eec17d8a3d80344}{\-B\-W\-A\-P\-I\-::\-Unit}.

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

\-Implements \hyperlink{classBWAPI_1_1Unit_a10b77ef9e2ac04a36108f0a9d7a92661}{\-B\-W\-A\-P\-I\-::\-Unit}.

\hypertarget{classBWAPI_1_1UnitImpl_a8abe8bba4e9ad819611d3dc6332a4ba5}{\index{\-B\-W\-A\-P\-I\-::\-Unit\-Impl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}!is\-Irradiated@{is\-Irradiated}}
\index{is\-Irradiated@{is\-Irradiated}!BWAPI::UnitImpl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}}
\subsubsection[{is\-Irradiated}]{\setlength{\rightskip}{0pt plus 5cm}virtual bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-Impl\-::is\-Irradiated} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}\label{classBWAPI_1_1UnitImpl_a8abe8bba4e9ad819611d3dc6332a4ba5}
\-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}


\-Implements \hyperlink{classBWAPI_1_1Unit_af538411657b1219b45a35dca6dd75733}{\-B\-W\-A\-P\-I\-::\-Unit}.

\hypertarget{classBWAPI_1_1UnitImpl_afea6697381d5898408971633f3c71666}{\index{\-B\-W\-A\-P\-I\-::\-Unit\-Impl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}!is\-Lifted@{is\-Lifted}}
\index{is\-Lifted@{is\-Lifted}!BWAPI::UnitImpl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}}
\subsubsection[{is\-Lifted}]{\setlength{\rightskip}{0pt plus 5cm}virtual bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-Impl\-::is\-Lifted} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}\label{classBWAPI_1_1UnitImpl_afea6697381d5898408971633f3c71666}
\-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}


\-Implements \hyperlink{classBWAPI_1_1Unit_a594243c972c919472c31de494e33be1a}{\-B\-W\-A\-P\-I\-::\-Unit}.

\hypertarget{classBWAPI_1_1UnitImpl_aa7a8c62362f974d5a3b5af4945d28277}{\index{\-B\-W\-A\-P\-I\-::\-Unit\-Impl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}!is\-Loaded@{is\-Loaded}}
\index{is\-Loaded@{is\-Loaded}!BWAPI::UnitImpl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}}
\subsubsection[{is\-Loaded}]{\setlength{\rightskip}{0pt plus 5cm}virtual bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-Impl\-::is\-Loaded} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}\label{classBWAPI_1_1UnitImpl_aa7a8c62362f974d5a3b5af4945d28277}
\-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}


\-Implements \hyperlink{classBWAPI_1_1Unit_aea692c03778837fe3a4b7e45024c728a}{\-B\-W\-A\-P\-I\-::\-Unit}.

\hypertarget{classBWAPI_1_1UnitImpl_ab1f1d3b78a8ad41eb207af2df07701a1}{\index{\-B\-W\-A\-P\-I\-::\-Unit\-Impl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}!is\-Locked\-Down@{is\-Locked\-Down}}
\index{is\-Locked\-Down@{is\-Locked\-Down}!BWAPI::UnitImpl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}}
\subsubsection[{is\-Locked\-Down}]{\setlength{\rightskip}{0pt plus 5cm}virtual bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-Impl\-::is\-Locked\-Down} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}\label{classBWAPI_1_1UnitImpl_ab1f1d3b78a8ad41eb207af2df07701a1}
\-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}


\-Implements \hyperlink{classBWAPI_1_1Unit_a2506c7f8c6f8536122fbe7547b618ea9}{\-B\-W\-A\-P\-I\-::\-Unit}.

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


\-Implements \hyperlink{classBWAPI_1_1Unit_a1716bac4cf402b689c9b2a3f6274633c}{\-B\-W\-A\-P\-I\-::\-Unit}.

\hypertarget{classBWAPI_1_1UnitImpl_a4a199f1d09ab40c685e39df9c04c0205}{\index{\-B\-W\-A\-P\-I\-::\-Unit\-Impl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}!is\-Morphing@{is\-Morphing}}
\index{is\-Morphing@{is\-Morphing}!BWAPI::UnitImpl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}}
\subsubsection[{is\-Morphing}]{\setlength{\rightskip}{0pt plus 5cm}virtual bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-Impl\-::is\-Morphing} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}\label{classBWAPI_1_1UnitImpl_a4a199f1d09ab40c685e39df9c04c0205}
\-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}


\-Implements \hyperlink{classBWAPI_1_1Unit_a4e662fdd2d99caa654e9ed8dd25d6872}{\-B\-W\-A\-P\-I\-::\-Unit}.

\hypertarget{classBWAPI_1_1UnitImpl_ae2b51d076f5dc0077bab37cc8ed3b305}{\index{\-B\-W\-A\-P\-I\-::\-Unit\-Impl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}!is\-Moving@{is\-Moving}}
\index{is\-Moving@{is\-Moving}!BWAPI::UnitImpl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}}
\subsubsection[{is\-Moving}]{\setlength{\rightskip}{0pt plus 5cm}virtual bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-Impl\-::is\-Moving} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}\label{classBWAPI_1_1UnitImpl_ae2b51d076f5dc0077bab37cc8ed3b305}
\-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}


\-Implements \hyperlink{classBWAPI_1_1Unit_a4e06d257144dcbe41b2c850308a55d4f}{\-B\-W\-A\-P\-I\-::\-Unit}.

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

\-Implements \hyperlink{classBWAPI_1_1Unit_a547fc2dec7133b2edb97236e190bb09c}{\-B\-W\-A\-P\-I\-::\-Unit}.

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


\-Implements \hyperlink{classBWAPI_1_1Unit_a11ade36634a3635b55de1071b4deda0e}{\-B\-W\-A\-P\-I\-::\-Unit}.

\hypertarget{classBWAPI_1_1UnitImpl_ab80c9b8accc4e9d79c242d0a9d4240dc}{\index{\-B\-W\-A\-P\-I\-::\-Unit\-Impl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}!is\-Plagued@{is\-Plagued}}
\index{is\-Plagued@{is\-Plagued}!BWAPI::UnitImpl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}}
\subsubsection[{is\-Plagued}]{\setlength{\rightskip}{0pt plus 5cm}virtual bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-Impl\-::is\-Plagued} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}\label{classBWAPI_1_1UnitImpl_ab80c9b8accc4e9d79c242d0a9d4240dc}
\-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}


\-Implements \hyperlink{classBWAPI_1_1Unit_add5194d73a2a433bc081208914d66b5e}{\-B\-W\-A\-P\-I\-::\-Unit}.

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

\-Implements \hyperlink{classBWAPI_1_1Unit_a78f3646b700a811d8a3fe5f53ee42a68}{\-B\-W\-A\-P\-I\-::\-Unit}.

\hypertarget{classBWAPI_1_1UnitImpl_a8efb4dca7ec814695d7ca08fa98ac12f}{\index{\-B\-W\-A\-P\-I\-::\-Unit\-Impl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}!is\-Researching@{is\-Researching}}
\index{is\-Researching@{is\-Researching}!BWAPI::UnitImpl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}}
\subsubsection[{is\-Researching}]{\setlength{\rightskip}{0pt plus 5cm}virtual bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-Impl\-::is\-Researching} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}\label{classBWAPI_1_1UnitImpl_a8efb4dca7ec814695d7ca08fa98ac12f}
\-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}


\-Implements \hyperlink{classBWAPI_1_1Unit_adb6b194a351402b958dd9df9d3ca5109}{\-B\-W\-A\-P\-I\-::\-Unit}.

\hypertarget{classBWAPI_1_1UnitImpl_a58dbcb14539b10600a61de2e3fc61877}{\index{\-B\-W\-A\-P\-I\-::\-Unit\-Impl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}!is\-Selected@{is\-Selected}}
\index{is\-Selected@{is\-Selected}!BWAPI::UnitImpl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}}
\subsubsection[{is\-Selected}]{\setlength{\rightskip}{0pt plus 5cm}virtual bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-Impl\-::is\-Selected} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}\label{classBWAPI_1_1UnitImpl_a58dbcb14539b10600a61de2e3fc61877}
\-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_aa1068e4f30fd50cb52a678bbf7a7c6f9}{\-A\-I\-Module\-::on\-Start}. \begin{DoxySeeAlso}{\-See also}
\hyperlink{classBWAPI_1_1Game_ad34009dc2084ac5b67d5e4b14c0dee90}{\-Game\-::get\-Selected\-Units}. 
\end{DoxySeeAlso}


\-Implements \hyperlink{classBWAPI_1_1Unit_adb622183a8ab01c6908d1c3b8db9f9ab}{\-B\-W\-A\-P\-I\-::\-Unit}.

\hypertarget{classBWAPI_1_1UnitImpl_a166baac5f878b36f0fea0d4906408ba1}{\index{\-B\-W\-A\-P\-I\-::\-Unit\-Impl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}!is\-Sieged@{is\-Sieged}}
\index{is\-Sieged@{is\-Sieged}!BWAPI::UnitImpl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}}
\subsubsection[{is\-Sieged}]{\setlength{\rightskip}{0pt plus 5cm}virtual bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-Impl\-::is\-Sieged} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}\label{classBWAPI_1_1UnitImpl_a166baac5f878b36f0fea0d4906408ba1}
\-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}


\-Implements \hyperlink{classBWAPI_1_1Unit_ad77270a241d6d91cb9b1aa8500321282}{\-B\-W\-A\-P\-I\-::\-Unit}.

\hypertarget{classBWAPI_1_1UnitImpl_a9f325c66ea15a7bc7518393faf7c23e2}{\index{\-B\-W\-A\-P\-I\-::\-Unit\-Impl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}!is\-Starting\-Attack@{is\-Starting\-Attack}}
\index{is\-Starting\-Attack@{is\-Starting\-Attack}!BWAPI::UnitImpl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}}
\subsubsection[{is\-Starting\-Attack}]{\setlength{\rightskip}{0pt plus 5cm}virtual bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-Impl\-::is\-Starting\-Attack} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}\label{classBWAPI_1_1UnitImpl_a9f325c66ea15a7bc7518393faf7c23e2}
\-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}


\-Implements \hyperlink{classBWAPI_1_1Unit_a47d1ea7e07cb0fc6f4579e699129c90b}{\-B\-W\-A\-P\-I\-::\-Unit}.

\hypertarget{classBWAPI_1_1UnitImpl_a9ef403bdab8ad3329a0feefce484d924}{\index{\-B\-W\-A\-P\-I\-::\-Unit\-Impl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}!is\-Stasised@{is\-Stasised}}
\index{is\-Stasised@{is\-Stasised}!BWAPI::UnitImpl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}}
\subsubsection[{is\-Stasised}]{\setlength{\rightskip}{0pt plus 5cm}virtual bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-Impl\-::is\-Stasised} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}\label{classBWAPI_1_1UnitImpl_a9ef403bdab8ad3329a0feefce484d924}
\-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}


\-Implements \hyperlink{classBWAPI_1_1Unit_afbf87083c9be9f4a3a9f979944ab8285}{\-B\-W\-A\-P\-I\-::\-Unit}.

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


\-Implements \hyperlink{classBWAPI_1_1Unit_a4dc922bd5d06c48d8434635be5642d52}{\-B\-W\-A\-P\-I\-::\-Unit}.

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

\-Implements \hyperlink{classBWAPI_1_1Unit_ac1e4d5089001253b638378afc72c921a}{\-B\-W\-A\-P\-I\-::\-Unit}.

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

\-Implements \hyperlink{classBWAPI_1_1Unit_a2eef36e10eaacd8c99eead9b9025e093}{\-B\-W\-A\-P\-I\-::\-Unit}.

\hypertarget{classBWAPI_1_1UnitImpl_a35e583ec55ecaa0362c8a8ecce29e102}{\index{\-B\-W\-A\-P\-I\-::\-Unit\-Impl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}!is\-Training@{is\-Training}}
\index{is\-Training@{is\-Training}!BWAPI::UnitImpl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}}
\subsubsection[{is\-Training}]{\setlength{\rightskip}{0pt plus 5cm}virtual bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-Impl\-::is\-Training} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}\label{classBWAPI_1_1UnitImpl_a35e583ec55ecaa0362c8a8ecce29e102}
\-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}


\-Implements \hyperlink{classBWAPI_1_1Unit_a18683985e87770b2695a0662ef340ab1}{\-B\-W\-A\-P\-I\-::\-Unit}.

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

\-Implements \hyperlink{classBWAPI_1_1Unit_ae1b36036c54e05b9dac26e2dc3295752}{\-B\-W\-A\-P\-I\-::\-Unit}.

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

\-Implements \hyperlink{classBWAPI_1_1Unit_af9debab6e509c10547ea5a5408b5a72c}{\-B\-W\-A\-P\-I\-::\-Unit}.

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

\-Implements \hyperlink{classBWAPI_1_1Unit_a22b9a4ef1ead68e176d6aabfd904128a}{\-B\-W\-A\-P\-I\-::\-Unit}.

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

\-Implements \hyperlink{classBWAPI_1_1Unit_afcf416f91e37f20b8380dca2a1d43eae}{\-B\-W\-A\-P\-I\-::\-Unit}.

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

\-Implements \hyperlink{classBWAPI_1_1Unit_a8370fe1d617a7dbc349f29150b674aed}{\-B\-W\-A\-P\-I\-::\-Unit}.

\hypertarget{classBWAPI_1_1UnitImpl_a0ca70795a760b509695b7db16dfb8dc4}{\index{\-B\-W\-A\-P\-I\-::\-Unit\-Impl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}!is\-Upgrading@{is\-Upgrading}}
\index{is\-Upgrading@{is\-Upgrading}!BWAPI::UnitImpl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}}
\subsubsection[{is\-Upgrading}]{\setlength{\rightskip}{0pt plus 5cm}virtual bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-Impl\-::is\-Upgrading} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}\label{classBWAPI_1_1UnitImpl_a0ca70795a760b509695b7db16dfb8dc4}
\-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}


\-Implements \hyperlink{classBWAPI_1_1Unit_ac0535f3af62cfdb352c982371421d48b}{\-B\-W\-A\-P\-I\-::\-Unit}.

\hypertarget{classBWAPI_1_1UnitImpl_aa8804b574d9fd69d7ad1719b3b9ec2bb}{\index{\-B\-W\-A\-P\-I\-::\-Unit\-Impl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}!is\-Visible@{is\-Visible}}
\index{is\-Visible@{is\-Visible}!BWAPI::UnitImpl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}}
\subsubsection[{is\-Visible}]{\setlength{\rightskip}{0pt plus 5cm}virtual bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-Impl\-::is\-Visible} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}\label{classBWAPI_1_1UnitImpl_aa8804b574d9fd69d7ad1719b3b9ec2bb}
\-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}


\-Implements \hyperlink{classBWAPI_1_1Unit_a89f80dff4a1f766c1c82957404451949}{\-B\-W\-A\-P\-I\-::\-Unit}.

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


\-Implements \hyperlink{classBWAPI_1_1Unit_a7aa7dfa2664ef2a82a5791bb79b1d9ac}{\-B\-W\-A\-P\-I\-::\-Unit}.

\hypertarget{classBWAPI_1_1UnitImpl_a37ee1717dd8158ec5644c1e483392033}{\index{\-B\-W\-A\-P\-I\-::\-Unit\-Impl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}!land@{land}}
\index{land@{land}!BWAPI::UnitImpl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}}
\subsubsection[{land}]{\setlength{\rightskip}{0pt plus 5cm}virtual bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-Impl\-::land} (
\begin{DoxyParamCaption}
\item[{{\bf \-Tile\-Position}}]{target}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}\label{classBWAPI_1_1UnitImpl_a37ee1717dd8158ec5644c1e483392033}
\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}


\-Implements \hyperlink{classBWAPI_1_1Unit_affda870d56dd74d695412f6e4702e2c8}{\-B\-W\-A\-P\-I\-::\-Unit}.

\hypertarget{classBWAPI_1_1UnitImpl_a7a70563e80420fb680b2118aa264e84b}{\index{\-B\-W\-A\-P\-I\-::\-Unit\-Impl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}!lift@{lift}}
\index{lift@{lift}!BWAPI::UnitImpl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}}
\subsubsection[{lift}]{\setlength{\rightskip}{0pt plus 5cm}virtual bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-Impl\-::lift} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}\label{classBWAPI_1_1UnitImpl_a7a70563e80420fb680b2118aa264e84b}
\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}


\-Implements \hyperlink{classBWAPI_1_1Unit_ae20b6434bbd4fdcff8ad3970898f3db0}{\-B\-W\-A\-P\-I\-::\-Unit}.

\hypertarget{classBWAPI_1_1UnitImpl_a3a3954a92e57536101919d5df13f069f}{\index{\-B\-W\-A\-P\-I\-::\-Unit\-Impl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}!load@{load}}
\index{load@{load}!BWAPI::UnitImpl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}}
\subsubsection[{load}]{\setlength{\rightskip}{0pt plus 5cm}virtual bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-Impl\-::load} (
\begin{DoxyParamCaption}
\item[{{\bf \-Unit} $\ast$}]{target, }
\item[{bool}]{shift\-Queue\-Command = {\ttfamily false}}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}\label{classBWAPI_1_1UnitImpl_a3a3954a92e57536101919d5df13f069f}
\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_1UnitImpl_aa7a8c62362f974d5a3b5af4945d28277}{is\-Loaded}. 
\end{DoxySeeAlso}


\-Implements \hyperlink{classBWAPI_1_1Unit_a46fc8801abc507e40ab65423ef2299bf}{\-B\-W\-A\-P\-I\-::\-Unit}.

\hypertarget{classBWAPI_1_1UnitImpl_abc4ea1e3bcca21f72b8aa771f655888b}{\index{\-B\-W\-A\-P\-I\-::\-Unit\-Impl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}!morph@{morph}}
\index{morph@{morph}!BWAPI::UnitImpl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}}
\subsubsection[{morph}]{\setlength{\rightskip}{0pt plus 5cm}virtual bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-Impl\-::morph} (
\begin{DoxyParamCaption}
\item[{{\bf \-Unit\-Type}}]{type}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}\label{classBWAPI_1_1UnitImpl_abc4ea1e3bcca21f72b8aa771f655888b}
\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}


\-Implements \hyperlink{classBWAPI_1_1Unit_a31531f0f10ecd132cc400d2d8b2d7435}{\-B\-W\-A\-P\-I\-::\-Unit}.

\hypertarget{classBWAPI_1_1UnitImpl_a8218091f869fc1b0db2fc8d3eda7f977}{\index{\-B\-W\-A\-P\-I\-::\-Unit\-Impl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}!move@{move}}
\index{move@{move}!BWAPI::UnitImpl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}}
\subsubsection[{move}]{\setlength{\rightskip}{0pt plus 5cm}virtual bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-Impl\-::move} (
\begin{DoxyParamCaption}
\item[{{\bf \-Position}}]{target, }
\item[{bool}]{shift\-Queue\-Command = {\ttfamily false}}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}\label{classBWAPI_1_1UnitImpl_a8218091f869fc1b0db2fc8d3eda7f977}
\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}


\-Implements \hyperlink{classBWAPI_1_1Unit_aed7a525a69da25440c7f7b727da65a2d}{\-B\-W\-A\-P\-I\-::\-Unit}.

\hypertarget{classBWAPI_1_1UnitImpl_ac1ceff88cf74d53d7c875c35db71f044}{\index{\-B\-W\-A\-P\-I\-::\-Unit\-Impl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}!patrol@{patrol}}
\index{patrol@{patrol}!BWAPI::UnitImpl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}}
\subsubsection[{patrol}]{\setlength{\rightskip}{0pt plus 5cm}virtual bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-Impl\-::patrol} (
\begin{DoxyParamCaption}
\item[{{\bf \-Position}}]{target, }
\item[{bool}]{shift\-Queue\-Command = {\ttfamily false}}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}\label{classBWAPI_1_1UnitImpl_ac1ceff88cf74d53d7c875c35db71f044}
\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}


\-Implements \hyperlink{classBWAPI_1_1Unit_acdb362719f41255f9566f798f1c61892}{\-B\-W\-A\-P\-I\-::\-Unit}.

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

\-Implements \hyperlink{classBWAPI_1_1Unit_ab425a1e7280e9931a32d13dac00fcd22}{\-B\-W\-A\-P\-I\-::\-Unit}.

\hypertarget{classBWAPI_1_1UnitImpl_a9e31b386d440753e74491d3a93c5a6f0}{\index{\-B\-W\-A\-P\-I\-::\-Unit\-Impl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}!repair@{repair}}
\index{repair@{repair}!BWAPI::UnitImpl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}}
\subsubsection[{repair}]{\setlength{\rightskip}{0pt plus 5cm}virtual bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-Impl\-::repair} (
\begin{DoxyParamCaption}
\item[{{\bf \-Unit} $\ast$}]{target, }
\item[{bool}]{shift\-Queue\-Command = {\ttfamily false}}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}\label{classBWAPI_1_1UnitImpl_a9e31b386d440753e74491d3a93c5a6f0}
\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}


\-Implements \hyperlink{classBWAPI_1_1Unit_a602fe7e2c44a17c7ec31728eebd9acf9}{\-B\-W\-A\-P\-I\-::\-Unit}.

\hypertarget{classBWAPI_1_1UnitImpl_a3264f23c079d7e94ce5d5370d1a52bcd}{\index{\-B\-W\-A\-P\-I\-::\-Unit\-Impl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}!research@{research}}
\index{research@{research}!BWAPI::UnitImpl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}}
\subsubsection[{research}]{\setlength{\rightskip}{0pt plus 5cm}virtual bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-Impl\-::research} (
\begin{DoxyParamCaption}
\item[{{\bf \-Tech\-Type}}]{tech}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}\label{classBWAPI_1_1UnitImpl_a3264f23c079d7e94ce5d5370d1a52bcd}
\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}


\-Implements \hyperlink{classBWAPI_1_1Unit_a6d7ad38052b28cb8f359168d64a862b5}{\-B\-W\-A\-P\-I\-::\-Unit}.

\hypertarget{classBWAPI_1_1UnitImpl_a3e73cb04e276737814827e452c2f397c}{\index{\-B\-W\-A\-P\-I\-::\-Unit\-Impl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}!return\-Cargo@{return\-Cargo}}
\index{return\-Cargo@{return\-Cargo}!BWAPI::UnitImpl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}}
\subsubsection[{return\-Cargo}]{\setlength{\rightskip}{0pt plus 5cm}virtual bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-Impl\-::return\-Cargo} (
\begin{DoxyParamCaption}
\item[{bool}]{shift\-Queue\-Command = {\ttfamily false}}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}\label{classBWAPI_1_1UnitImpl_a3e73cb04e276737814827e452c2f397c}
\hyperlink{namespaceBWAPI_1_1Orders}{\-Orders} the unit to return its cargo to a nearby resource depot such as a \-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}


\-Implements \hyperlink{classBWAPI_1_1Unit_a4746cbb14a79728da63bdae7711e9cb6}{\-B\-W\-A\-P\-I\-::\-Unit}.

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

\-Implements \hyperlink{classBWAPI_1_1Unit_a8f3e60dc932fa3608526d52a2eaf30a2}{\-B\-W\-A\-P\-I\-::\-Unit}.

\hypertarget{classBWAPI_1_1UnitImpl_a43e849eee8fe358e8436f686b5233416}{\index{\-B\-W\-A\-P\-I\-::\-Unit\-Impl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}!right\-Click@{right\-Click}}
\index{right\-Click@{right\-Click}!BWAPI::UnitImpl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}}
\subsubsection[{right\-Click}]{\setlength{\rightskip}{0pt plus 5cm}virtual bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-Impl\-::right\-Click} (
\begin{DoxyParamCaption}
\item[{{\bf \-Unit} $\ast$}]{target, }
\item[{bool}]{shift\-Queue\-Command = {\ttfamily false}}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}\label{classBWAPI_1_1UnitImpl_a43e849eee8fe358e8436f686b5233416}
\-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. 

\-Implements \hyperlink{classBWAPI_1_1Unit_ad33d76392fac74dd2b3905aa0a899b54}{\-B\-W\-A\-P\-I\-::\-Unit}.

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

\-Implements \hyperlink{classBWAPI_1_1Unit_a1005139a09fd0fd5de310913ac990d60}{\-B\-W\-A\-P\-I\-::\-Unit}.

\hypertarget{classBWAPI_1_1UnitImpl_aa6fa1849bb2ae728bf0fe2c74703b706}{\index{\-B\-W\-A\-P\-I\-::\-Unit\-Impl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}!set\-Rally\-Point@{set\-Rally\-Point}}
\index{set\-Rally\-Point@{set\-Rally\-Point}!BWAPI::UnitImpl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}}
\subsubsection[{set\-Rally\-Point}]{\setlength{\rightskip}{0pt plus 5cm}virtual bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-Impl\-::set\-Rally\-Point} (
\begin{DoxyParamCaption}
\item[{{\bf \-Position}}]{target}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}\label{classBWAPI_1_1UnitImpl_aa6fa1849bb2ae728bf0fe2c74703b706}
\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}


\-Implements \hyperlink{classBWAPI_1_1Unit_a8c1c5ce8aa91c3804794b6fc057df6df}{\-B\-W\-A\-P\-I\-::\-Unit}.

\hypertarget{classBWAPI_1_1UnitImpl_ab543cd398721f748e1dcfb6a2cddb5e8}{\index{\-B\-W\-A\-P\-I\-::\-Unit\-Impl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}!set\-Rally\-Point@{set\-Rally\-Point}}
\index{set\-Rally\-Point@{set\-Rally\-Point}!BWAPI::UnitImpl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}}
\subsubsection[{set\-Rally\-Point}]{\setlength{\rightskip}{0pt plus 5cm}virtual bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-Impl\-::set\-Rally\-Point} (
\begin{DoxyParamCaption}
\item[{{\bf \-Unit} $\ast$}]{target}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}\label{classBWAPI_1_1UnitImpl_ab543cd398721f748e1dcfb6a2cddb5e8}
\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}


\-Implements \hyperlink{classBWAPI_1_1Unit_acb5d3053dbbdca06dbe1ecb011305dad}{\-B\-W\-A\-P\-I\-::\-Unit}.

\hypertarget{classBWAPI_1_1UnitImpl_a7363a73b03eb5b8f934b3843f275c49e}{\index{\-B\-W\-A\-P\-I\-::\-Unit\-Impl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}!siege@{siege}}
\index{siege@{siege}!BWAPI::UnitImpl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}}
\subsubsection[{siege}]{\setlength{\rightskip}{0pt plus 5cm}virtual bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-Impl\-::siege} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}\label{classBWAPI_1_1UnitImpl_a7363a73b03eb5b8f934b3843f275c49e}
\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}


\-Implements \hyperlink{classBWAPI_1_1Unit_ae13d3a70ebf54c6ddba218bbd197a1eb}{\-B\-W\-A\-P\-I\-::\-Unit}.

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

\-Implements \hyperlink{classBWAPI_1_1Unit_aa030ad69397b659d74dd1186fd2b4cc1}{\-B\-W\-A\-P\-I\-::\-Unit}.

\hypertarget{classBWAPI_1_1UnitImpl_a112271e0dc1269977c1c8a3b6d05bc5f}{\index{\-B\-W\-A\-P\-I\-::\-Unit\-Impl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}!train@{train}}
\index{train@{train}!BWAPI::UnitImpl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}}
\subsubsection[{train}]{\setlength{\rightskip}{0pt plus 5cm}virtual bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-Impl\-::train} (
\begin{DoxyParamCaption}
\item[{{\bf \-Unit\-Type}}]{type}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}\label{classBWAPI_1_1UnitImpl_a112271e0dc1269977c1c8a3b6d05bc5f}
\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. 

\-Implements \hyperlink{classBWAPI_1_1Unit_a188a1a1b49ad5bc44531d63e93ce9825}{\-B\-W\-A\-P\-I\-::\-Unit}.

\hypertarget{classBWAPI_1_1UnitImpl_ab5fa83991900d3a78246d162fe449791}{\index{\-B\-W\-A\-P\-I\-::\-Unit\-Impl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}!unburrow@{unburrow}}
\index{unburrow@{unburrow}!BWAPI::UnitImpl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}}
\subsubsection[{unburrow}]{\setlength{\rightskip}{0pt plus 5cm}virtual bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-Impl\-::unburrow} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}\label{classBWAPI_1_1UnitImpl_ab5fa83991900d3a78246d162fe449791}
\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}


\-Implements \hyperlink{classBWAPI_1_1Unit_a48d98e8ff3c1e70ad904d0ac7f65b6de}{\-B\-W\-A\-P\-I\-::\-Unit}.

\hypertarget{classBWAPI_1_1UnitImpl_aff3af08ac741bacea320959a3acd6752}{\index{\-B\-W\-A\-P\-I\-::\-Unit\-Impl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}!unload@{unload}}
\index{unload@{unload}!BWAPI::UnitImpl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}}
\subsubsection[{unload}]{\setlength{\rightskip}{0pt plus 5cm}virtual bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-Impl\-::unload} (
\begin{DoxyParamCaption}
\item[{{\bf \-Unit} $\ast$}]{target}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}\label{classBWAPI_1_1UnitImpl_aff3af08ac741bacea320959a3acd6752}
\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_1UnitImpl_aa7a8c62362f974d5a3b5af4945d28277}{is\-Loaded}. 
\end{DoxySeeAlso}


\-Implements \hyperlink{classBWAPI_1_1Unit_a75a85047926184c0f59fa4eec0844fe1}{\-B\-W\-A\-P\-I\-::\-Unit}.

\hypertarget{classBWAPI_1_1UnitImpl_a290ba9c6719542c2e68ffc22278b421c}{\index{\-B\-W\-A\-P\-I\-::\-Unit\-Impl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}!unload\-All@{unload\-All}}
\index{unload\-All@{unload\-All}!BWAPI::UnitImpl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}}
\subsubsection[{unload\-All}]{\setlength{\rightskip}{0pt plus 5cm}virtual bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-Impl\-::unload\-All} (
\begin{DoxyParamCaption}
\item[{bool}]{shift\-Queue\-Command = {\ttfamily false}}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}\label{classBWAPI_1_1UnitImpl_a290ba9c6719542c2e68ffc22278b421c}
\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_1UnitImpl_aa7a8c62362f974d5a3b5af4945d28277}{is\-Loaded}. 
\end{DoxySeeAlso}


\-Implements \hyperlink{classBWAPI_1_1Unit_a7be1d1f2b6673c4022476364a70fdc52}{\-B\-W\-A\-P\-I\-::\-Unit}.

\hypertarget{classBWAPI_1_1UnitImpl_a909984eecf635df3e283dea23afd702e}{\index{\-B\-W\-A\-P\-I\-::\-Unit\-Impl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}!unload\-All@{unload\-All}}
\index{unload\-All@{unload\-All}!BWAPI::UnitImpl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}}
\subsubsection[{unload\-All}]{\setlength{\rightskip}{0pt plus 5cm}virtual bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-Impl\-::unload\-All} (
\begin{DoxyParamCaption}
\item[{{\bf \-Position}}]{target, }
\item[{bool}]{shift\-Queue\-Command = {\ttfamily false}}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}\label{classBWAPI_1_1UnitImpl_a909984eecf635df3e283dea23afd702e}
\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_1UnitImpl_aa7a8c62362f974d5a3b5af4945d28277}{is\-Loaded}. 
\end{DoxySeeAlso}


\-Implements \hyperlink{classBWAPI_1_1Unit_a6928065e4064b580641607ed747b578f}{\-B\-W\-A\-P\-I\-::\-Unit}.

\hypertarget{classBWAPI_1_1UnitImpl_ad202fcec25eb49fff35f82f1cd5b7f62}{\index{\-B\-W\-A\-P\-I\-::\-Unit\-Impl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}!unsiege@{unsiege}}
\index{unsiege@{unsiege}!BWAPI::UnitImpl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}}
\subsubsection[{unsiege}]{\setlength{\rightskip}{0pt plus 5cm}virtual bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-Impl\-::unsiege} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}\label{classBWAPI_1_1UnitImpl_ad202fcec25eb49fff35f82f1cd5b7f62}
\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}


\-Implements \hyperlink{classBWAPI_1_1Unit_a3d17e0872793cacdcbf63222e8c984ca}{\-B\-W\-A\-P\-I\-::\-Unit}.

\hypertarget{classBWAPI_1_1UnitImpl_aee7acf696af4dd6ba4c7f1019d73fbf1}{\index{\-B\-W\-A\-P\-I\-::\-Unit\-Impl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}!upgrade@{upgrade}}
\index{upgrade@{upgrade}!BWAPI::UnitImpl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}}
\subsubsection[{upgrade}]{\setlength{\rightskip}{0pt plus 5cm}virtual bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-Impl\-::upgrade} (
\begin{DoxyParamCaption}
\item[{{\bf \-Upgrade\-Type}}]{upgrade}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}\label{classBWAPI_1_1UnitImpl_aee7acf696af4dd6ba4c7f1019d73fbf1}
\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}


\-Implements \hyperlink{classBWAPI_1_1Unit_a9423c81efd5c269b955a723b664bddd9}{\-B\-W\-A\-P\-I\-::\-Unit}.

\hypertarget{classBWAPI_1_1UnitImpl_ab20d2535a54b4311c871c0fc6e927ea3}{\index{\-B\-W\-A\-P\-I\-::\-Unit\-Impl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}!use\-Tech@{use\-Tech}}
\index{use\-Tech@{use\-Tech}!BWAPI::UnitImpl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}}
\subsubsection[{use\-Tech}]{\setlength{\rightskip}{0pt plus 5cm}virtual bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-Impl\-::use\-Tech} (
\begin{DoxyParamCaption}
\item[{{\bf \-Tech\-Type}}]{tech}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}\label{classBWAPI_1_1UnitImpl_ab20d2535a54b4311c871c0fc6e927ea3}
\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. 

\-Implements \hyperlink{classBWAPI_1_1Unit_ab2c7e5f5be9ddb12a3a0b77c198d3dc0}{\-B\-W\-A\-P\-I\-::\-Unit}.

\hypertarget{classBWAPI_1_1UnitImpl_a584e4fc0cf1fada83f6b54b1426b0c37}{\index{\-B\-W\-A\-P\-I\-::\-Unit\-Impl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}!use\-Tech@{use\-Tech}}
\index{use\-Tech@{use\-Tech}!BWAPI::UnitImpl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}}
\subsubsection[{use\-Tech}]{\setlength{\rightskip}{0pt plus 5cm}virtual bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-Impl\-::use\-Tech} (
\begin{DoxyParamCaption}
\item[{{\bf \-Tech\-Type}}]{tech, }
\item[{{\bf \-Position}}]{target}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}\label{classBWAPI_1_1UnitImpl_a584e4fc0cf1fada83f6b54b1426b0c37}
\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. 

\-Implements \hyperlink{classBWAPI_1_1Unit_aa5357cd728a9457ca6750b58122fa6a9}{\-B\-W\-A\-P\-I\-::\-Unit}.

\hypertarget{classBWAPI_1_1UnitImpl_abbdf2cd4be495bab0578eda1e4ef5736}{\index{\-B\-W\-A\-P\-I\-::\-Unit\-Impl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}!use\-Tech@{use\-Tech}}
\index{use\-Tech@{use\-Tech}!BWAPI::UnitImpl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}}
\subsubsection[{use\-Tech}]{\setlength{\rightskip}{0pt plus 5cm}virtual bool {\bf \-B\-W\-A\-P\-I\-::\-Unit\-Impl\-::use\-Tech} (
\begin{DoxyParamCaption}
\item[{{\bf \-Tech\-Type}}]{tech, }
\item[{{\bf \-Unit} $\ast$}]{target}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}\label{classBWAPI_1_1UnitImpl_abbdf2cd4be495bab0578eda1e4ef5736}
\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. 

\-Implements \hyperlink{classBWAPI_1_1Unit_ab7f5bf1a35584dca94c1c0f456d2523d}{\-B\-W\-A\-P\-I\-::\-Unit}.



\subsection{\-Member \-Data \-Documentation}
\hypertarget{classBWAPI_1_1UnitImpl_ae89e34399c280a15e79fe7f69e08a6b1}{\index{\-B\-W\-A\-P\-I\-::\-Unit\-Impl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}!client\-Info@{client\-Info}}
\index{client\-Info@{client\-Info}!BWAPI::UnitImpl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}}
\subsubsection[{client\-Info}]{\setlength{\rightskip}{0pt plus 5cm}void$\ast$ {\bf \-B\-W\-A\-P\-I\-::\-Unit\-Impl\-::client\-Info}\hspace{0.3cm}{\ttfamily  \mbox{[}private\mbox{]}}}}\label{classBWAPI_1_1UnitImpl_ae89e34399c280a15e79fe7f69e08a6b1}


\-Definition at line 20 of file \-Unit\-Impl.\-h.

\hypertarget{classBWAPI_1_1UnitImpl_a41ae0fadd5ac727c5ec3b6cdd20522c5}{\index{\-B\-W\-A\-P\-I\-::\-Unit\-Impl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}!connected\-Units@{connected\-Units}}
\index{connected\-Units@{connected\-Units}!BWAPI::UnitImpl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}}
\subsubsection[{connected\-Units}]{\setlength{\rightskip}{0pt plus 5cm}std\-::set$<${\bf \-Unit}$\ast$$>$ {\bf \-B\-W\-A\-P\-I\-::\-Unit\-Impl\-::connected\-Units}}}\label{classBWAPI_1_1UnitImpl_a41ae0fadd5ac727c5ec3b6cdd20522c5}


\-Definition at line 23 of file \-Unit\-Impl.\-h.

\hypertarget{classBWAPI_1_1UnitImpl_a99615991758805845fab5e70f9a2ea6e}{\index{\-B\-W\-A\-P\-I\-::\-Unit\-Impl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}!id@{id}}
\index{id@{id}!BWAPI::UnitImpl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}}
\subsubsection[{id}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf \-B\-W\-A\-P\-I\-::\-Unit\-Impl\-::id}\hspace{0.3cm}{\ttfamily  \mbox{[}private\mbox{]}}}}\label{classBWAPI_1_1UnitImpl_a99615991758805845fab5e70f9a2ea6e}


\-Definition at line 13 of file \-Unit\-Impl.\-h.

\hypertarget{classBWAPI_1_1UnitImpl_aa1c5ec4e6904d654abf9f9cba6c883ce}{\index{\-B\-W\-A\-P\-I\-::\-Unit\-Impl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}!initial\-Hit\-Points@{initial\-Hit\-Points}}
\index{initial\-Hit\-Points@{initial\-Hit\-Points}!BWAPI::UnitImpl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}}
\subsubsection[{initial\-Hit\-Points}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf \-B\-W\-A\-P\-I\-::\-Unit\-Impl\-::initial\-Hit\-Points}\hspace{0.3cm}{\ttfamily  \mbox{[}private\mbox{]}}}}\label{classBWAPI_1_1UnitImpl_aa1c5ec4e6904d654abf9f9cba6c883ce}


\-Definition at line 16 of file \-Unit\-Impl.\-h.

\hypertarget{classBWAPI_1_1UnitImpl_a559c39573af0c3c390bc2fccd9c354fe}{\index{\-B\-W\-A\-P\-I\-::\-Unit\-Impl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}!initial\-Position@{initial\-Position}}
\index{initial\-Position@{initial\-Position}!BWAPI::UnitImpl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}}
\subsubsection[{initial\-Position}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-Position} {\bf \-B\-W\-A\-P\-I\-::\-Unit\-Impl\-::initial\-Position}\hspace{0.3cm}{\ttfamily  \mbox{[}private\mbox{]}}}}\label{classBWAPI_1_1UnitImpl_a559c39573af0c3c390bc2fccd9c354fe}


\-Definition at line 17 of file \-Unit\-Impl.\-h.

\hypertarget{classBWAPI_1_1UnitImpl_ac853b80c468d42a0a299c55f8fc996c2}{\index{\-B\-W\-A\-P\-I\-::\-Unit\-Impl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}!initial\-Resources@{initial\-Resources}}
\index{initial\-Resources@{initial\-Resources}!BWAPI::UnitImpl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}}
\subsubsection[{initial\-Resources}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf \-B\-W\-A\-P\-I\-::\-Unit\-Impl\-::initial\-Resources}\hspace{0.3cm}{\ttfamily  \mbox{[}private\mbox{]}}}}\label{classBWAPI_1_1UnitImpl_ac853b80c468d42a0a299c55f8fc996c2}


\-Definition at line 15 of file \-Unit\-Impl.\-h.

\hypertarget{classBWAPI_1_1UnitImpl_af6d6fa22d3665a41713c06520bb41432}{\index{\-B\-W\-A\-P\-I\-::\-Unit\-Impl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}!initial\-Type@{initial\-Type}}
\index{initial\-Type@{initial\-Type}!BWAPI::UnitImpl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}}
\subsubsection[{initial\-Type}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-Unit\-Type} {\bf \-B\-W\-A\-P\-I\-::\-Unit\-Impl\-::initial\-Type}\hspace{0.3cm}{\ttfamily  \mbox{[}private\mbox{]}}}}\label{classBWAPI_1_1UnitImpl_af6d6fa22d3665a41713c06520bb41432}


\-Definition at line 14 of file \-Unit\-Impl.\-h.

\hypertarget{classBWAPI_1_1UnitImpl_a247bd853c761b4a9b2180f7b4573e9ca}{\index{\-B\-W\-A\-P\-I\-::\-Unit\-Impl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}!last\-Command@{last\-Command}}
\index{last\-Command@{last\-Command}!BWAPI::UnitImpl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}}
\subsubsection[{last\-Command}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-Unit\-Command} {\bf \-B\-W\-A\-P\-I\-::\-Unit\-Impl\-::last\-Command}\hspace{0.3cm}{\ttfamily  \mbox{[}private\mbox{]}}}}\label{classBWAPI_1_1UnitImpl_a247bd853c761b4a9b2180f7b4573e9ca}


\-Definition at line 19 of file \-Unit\-Impl.\-h.

\hypertarget{classBWAPI_1_1UnitImpl_a7e97eb101e4800b136ef315b8a39c10a}{\index{\-B\-W\-A\-P\-I\-::\-Unit\-Impl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}!last\-Command\-Frame@{last\-Command\-Frame}}
\index{last\-Command\-Frame@{last\-Command\-Frame}!BWAPI::UnitImpl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}}
\subsubsection[{last\-Command\-Frame}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf \-B\-W\-A\-P\-I\-::\-Unit\-Impl\-::last\-Command\-Frame}\hspace{0.3cm}{\ttfamily  \mbox{[}private\mbox{]}}}}\label{classBWAPI_1_1UnitImpl_a7e97eb101e4800b136ef315b8a39c10a}


\-Definition at line 18 of file \-Unit\-Impl.\-h.

\hypertarget{classBWAPI_1_1UnitImpl_a48d2c10f3bb36f362992ea75afbaf1ed}{\index{\-B\-W\-A\-P\-I\-::\-Unit\-Impl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}!loaded\-Units@{loaded\-Units}}
\index{loaded\-Units@{loaded\-Units}!BWAPI::UnitImpl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}}
\subsubsection[{loaded\-Units}]{\setlength{\rightskip}{0pt plus 5cm}std\-::set$<${\bf \-Unit}$\ast$$>$ {\bf \-B\-W\-A\-P\-I\-::\-Unit\-Impl\-::loaded\-Units}}}\label{classBWAPI_1_1UnitImpl_a48d2c10f3bb36f362992ea75afbaf1ed}


\-Definition at line 24 of file \-Unit\-Impl.\-h.

\hypertarget{classBWAPI_1_1UnitImpl_a08cd7100d083a21fe2bcdec0e68957f3}{\index{\-B\-W\-A\-P\-I\-::\-Unit\-Impl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}!self@{self}}
\index{self@{self}!BWAPI::UnitImpl@{\-B\-W\-A\-P\-I\-::\-Unit\-Impl}}
\subsubsection[{self}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-Unit\-Data}$\ast$ {\bf \-B\-W\-A\-P\-I\-::\-Unit\-Impl\-::self}}}\label{classBWAPI_1_1UnitImpl_a08cd7100d083a21fe2bcdec0e68957f3}


\-Definition at line 22 of file \-Unit\-Impl.\-h.



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