\hypertarget{classUnitGroup}{\section{\-Unit\-Group \-Class \-Reference}
\label{classUnitGroup}\index{\-Unit\-Group@{\-Unit\-Group}}
}


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

\subsection*{\-Public \-Member \-Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{classUnitGroup}{\-Unit\-Group} \hyperlink{classUnitGroup_afb2a24e3a370874bbc3ee25e85f8ce46}{operator+} (const \hyperlink{classUnitGroup}{\-Unit\-Group} \&other) const 
\item 
\hyperlink{classUnitGroup}{\-Unit\-Group} \hyperlink{classUnitGroup_aafaaec074860abc90dc1083cba72a733}{operator$\ast$} (const \hyperlink{classUnitGroup}{\-Unit\-Group} \&other) const 
\item 
\hyperlink{classUnitGroup}{\-Unit\-Group} \hyperlink{classUnitGroup_a1e978e5f514bf570832f58a83df9fd6f}{operator$^\wedge$} (const \hyperlink{classUnitGroup}{\-Unit\-Group} \&other) const 
\item 
\hyperlink{classUnitGroup}{\-Unit\-Group} \hyperlink{classUnitGroup_a9bff6675e03be2330398afa9f01ac86d}{operator-\/} (const \hyperlink{classUnitGroup}{\-Unit\-Group} \&other) const 
\item 
\hyperlink{classUnitGroup}{\-Unit\-Group} \hyperlink{classUnitGroup_ae72ab44252d1451652335b5d3e544c2e}{in\-Radius} (double radius, \-B\-W\-A\-P\-I\-::\-Position position) const 
\item 
\hyperlink{classUnitGroup}{\-Unit\-Group} \hyperlink{classUnitGroup_ac215c88b3952e1dd9c06593f2eabf8ff}{in\-Region} (\-B\-W\-T\-A\-::\-Region $\ast$region) const 
\item 
\hyperlink{classUnitGroup}{\-Unit\-Group} \hyperlink{classUnitGroup_a2b8e81a3f9efd61e5e09f841c94cd4d2}{only\-Nearest\-Chokepoint} (\-B\-W\-T\-A\-::\-Chokepoint $\ast$choke) const 
\item 
\hyperlink{classUnitGroup}{\-Unit\-Group} \hyperlink{classUnitGroup_a614e895da4a2e228ae2fec2fd9c598a7}{only\-Nearest\-Base\-Location} (\-B\-W\-T\-A\-::\-Base\-Location $\ast$location) const 
\item 
\hyperlink{classUnitGroup}{\-Unit\-Group} \hyperlink{classUnitGroup_a41699cf50bcdac9d79e7afbdff59a91a}{only\-Nearest\-Unwalkable\-Polygon} (\-B\-W\-T\-A\-::\-Polygon $\ast$polygon) const 
\item 
\hyperlink{classUnitGroup}{\-Unit\-Group} \hyperlink{classUnitGroup_a5663dc94acf02ed61f208e0861f8fca8}{operator()} (int f1) const 
\item 
\hyperlink{classUnitGroup}{\-Unit\-Group} \hyperlink{classUnitGroup_aa2a225bf0623fd4f73069ebb44553c59}{operator()} (int f1, int f2) const 
\item 
\hyperlink{classUnitGroup}{\-Unit\-Group} \hyperlink{classUnitGroup_a195b83061fc23e978c0bf8aa7e7829ab}{operator()} (int f1, int f2, int f3) const 
\item 
\hyperlink{classUnitGroup}{\-Unit\-Group} \hyperlink{classUnitGroup_ac4b7daffc96179de660e7086ce8d28a4}{operator()} (int f1, int f2, int f3, int f4) const 
\item 
\hyperlink{classUnitGroup}{\-Unit\-Group} \hyperlink{classUnitGroup_ac571e1447c065e9e6617b2cf580c5130}{operator()} (int f1, int f2, int f3, int f4, int f5) const 
\item 
\hyperlink{classUnitGroup}{\-Unit\-Group} \hyperlink{classUnitGroup_a40d1abb4ee70f87496fd5d2064cc83ed}{operator()} (\hyperlink{Macro_2UnitGroup_8h_a313315ca4705769353de0e6987339803}{\-Fliter\-Attribute\-Scalar} a, const char $\ast$compare, double value) const 
\item 
\hyperlink{classUnitGroup}{\-Unit\-Group} \hyperlink{classUnitGroup_ae7f88ff1699ebedd1353dcc0af997710}{operator()} (\hyperlink{Macro_2UnitGroup_8h_a313315ca4705769353de0e6987339803}{\-Fliter\-Attribute\-Scalar} a, const char $\ast$compare, int value) const 
\item 
\hyperlink{classUnitGroup}{\-Unit\-Group} \hyperlink{classUnitGroup_a1dc7f8f259e98be75506123d8819f214}{operator()} (\-B\-W\-A\-P\-I\-::\-Player $\ast$player) const 
\item 
\hyperlink{classUnitGroup}{\-Unit\-Group} \hyperlink{classUnitGroup_a10006dd349ae0d3378d181e671d82483}{operator()} (\hyperlink{Macro_2UnitGroup_8h_a8bb769818d7d8d3371ba4bfb8936c249}{\-Filter\-Attribute\-Unit} a, \-B\-W\-A\-P\-I\-::\-Unit $\ast$unit) const 
\item 
\hyperlink{classUnitGroup}{\-Unit\-Group} \hyperlink{classUnitGroup_aa824d15b1490ef59604edc33c1c536d9}{operator()} (\hyperlink{Macro_2UnitGroup_8h_a1aba9073b267aadf2d02a10a151ce217}{\-Filter\-Attribute\-Type} a, \-B\-W\-A\-P\-I\-::\-Unit\-Type type) const 
\item 
\hyperlink{classUnitGroup}{\-Unit\-Group} \hyperlink{classUnitGroup_aaf9283b7f31764939b0dd2cbe3ab1dfd}{operator()} (\hyperlink{Macro_2UnitGroup_8h_a1aba9073b267aadf2d02a10a151ce217}{\-Filter\-Attribute\-Type} a, \-B\-W\-A\-P\-I\-::\-Tech\-Type type) const 
\item 
\hyperlink{classUnitGroup}{\-Unit\-Group} \hyperlink{classUnitGroup_a3da7c7df3139353b67f38d2daae99b7e}{operator()} (\hyperlink{Macro_2UnitGroup_8h_a1aba9073b267aadf2d02a10a151ce217}{\-Filter\-Attribute\-Type} a, \-B\-W\-A\-P\-I\-::\-Upgrade\-Type type) const 
\item 
\hyperlink{classUnitGroup}{\-Unit\-Group} \hyperlink{classUnitGroup_a20c60440f9633b10f215a7ae55ac186c}{operator()} (\hyperlink{Macro_2UnitGroup_8h_aaca95aa62fe08e48a762aab0efbc5eed}{\-Filter\-Attribute\-Order} a, \-B\-W\-A\-P\-I\-::\-Order type) const 
\item 
\hyperlink{classUnitGroup}{\-Unit\-Group} \hyperlink{classUnitGroup_a7d967ba6aec031c9c799fdb010bdfa67}{operator()} (\hyperlink{Macro_2UnitGroup_8h_a9e2e21196c5ec16894aa773d0510fa51}{\-Filter\-Attribute\-Position} a, \-B\-W\-A\-P\-I\-::\-Position position) const 
\item 
\hyperlink{classUnitGroup}{\-Unit\-Group} \hyperlink{classUnitGroup_a91a5ef8aeab4698740cd364e505177d8}{operator()} (\hyperlink{Macro_2UnitGroup_8h_a06eca59b85aaec37d760f9ddcaeef497}{\-Filter\-Attribute\-Tile\-Position} a, \-B\-W\-A\-P\-I\-::\-Tile\-Position position) const 
\item 
\hyperlink{classUnitGroup}{\-Unit\-Group} \hyperlink{classUnitGroup_abea5f95bb042729a055b64a0c1691ddd}{not} (int f1) const 
\item 
\hyperlink{classUnitGroup}{\-Unit\-Group} \hyperlink{classUnitGroup_a19ddc492e2028722e4a892ce1041ae9d}{not} (int f1, int f2) const 
\item 
\hyperlink{classUnitGroup}{\-Unit\-Group} \hyperlink{classUnitGroup_a7134a9f477a3860d8a70e157323c477f}{not} (int f1, int f2, int f3) const 
\item 
\hyperlink{classUnitGroup}{\-Unit\-Group} \hyperlink{classUnitGroup_a7bc4c6dd9275a8be4b35e09ad72da041}{not} (int f1, int f2, int f3, int f4) const 
\item 
\hyperlink{classUnitGroup}{\-Unit\-Group} \hyperlink{classUnitGroup_a9020529d8430cf1516de38f6faadebf1}{not} (int f1, int f2, int f3, int f4, int f5) const 
\item 
\hyperlink{classUnitGroup}{\-Unit\-Group} \hyperlink{classUnitGroup_a1eb5f65d3aa5455d04ac79f644288fab}{not} (\hyperlink{Macro_2UnitGroup_8h_a313315ca4705769353de0e6987339803}{\-Fliter\-Attribute\-Scalar} a, const char $\ast$compare, double value) const 
\item 
\hyperlink{classUnitGroup}{\-Unit\-Group} \hyperlink{classUnitGroup_ab17bd808c443e40487b793b5afaab676}{not} (\hyperlink{Macro_2UnitGroup_8h_a313315ca4705769353de0e6987339803}{\-Fliter\-Attribute\-Scalar} a, const char $\ast$compare, int value) const 
\item 
\hyperlink{classUnitGroup}{\-Unit\-Group} \hyperlink{classUnitGroup_a0c2712d1552b4d0fd354646618f9bc98}{not} (\-B\-W\-A\-P\-I\-::\-Player $\ast$player) const 
\item 
\hyperlink{classUnitGroup}{\-Unit\-Group} \hyperlink{classUnitGroup_adf8347430bcc1978b538f3a6aca2b5ea}{not} (\hyperlink{Macro_2UnitGroup_8h_a8bb769818d7d8d3371ba4bfb8936c249}{\-Filter\-Attribute\-Unit} a, \-B\-W\-A\-P\-I\-::\-Unit $\ast$unit) const 
\item 
\hyperlink{classUnitGroup}{\-Unit\-Group} \hyperlink{classUnitGroup_a0e9a8dd4642b07701877e29fca379c70}{not} (\hyperlink{Macro_2UnitGroup_8h_a1aba9073b267aadf2d02a10a151ce217}{\-Filter\-Attribute\-Type} a, \-B\-W\-A\-P\-I\-::\-Unit\-Type type) const 
\item 
\hyperlink{classUnitGroup}{\-Unit\-Group} \hyperlink{classUnitGroup_a335cace35021be8b2fd1d1dc21c7cb9b}{not} (\hyperlink{Macro_2UnitGroup_8h_a1aba9073b267aadf2d02a10a151ce217}{\-Filter\-Attribute\-Type} a, \-B\-W\-A\-P\-I\-::\-Tech\-Type type) const 
\item 
\hyperlink{classUnitGroup}{\-Unit\-Group} \hyperlink{classUnitGroup_a8d1b59a88ac1df006d461d24690f25c8}{not} (\hyperlink{Macro_2UnitGroup_8h_a1aba9073b267aadf2d02a10a151ce217}{\-Filter\-Attribute\-Type} a, \-B\-W\-A\-P\-I\-::\-Upgrade\-Type type) const 
\item 
\hyperlink{classUnitGroup}{\-Unit\-Group} \hyperlink{classUnitGroup_afe6780dcf166179a679bd0719a890ff6}{not} (\hyperlink{Macro_2UnitGroup_8h_aaca95aa62fe08e48a762aab0efbc5eed}{\-Filter\-Attribute\-Order} a, \-B\-W\-A\-P\-I\-::\-Order type) const 
\item 
\hyperlink{classUnitGroup}{\-Unit\-Group} \hyperlink{classUnitGroup_a63d53db8aa34a0eb3abd498b11bfd9ac}{not} (\hyperlink{Macro_2UnitGroup_8h_a9e2e21196c5ec16894aa773d0510fa51}{\-Filter\-Attribute\-Position} a, \-B\-W\-A\-P\-I\-::\-Position position) const 
\item 
\hyperlink{classUnitGroup}{\-Unit\-Group} \hyperlink{classUnitGroup_ad896533ec722c2dad363fdd7bef7cda5}{not} (\hyperlink{Macro_2UnitGroup_8h_a06eca59b85aaec37d760f9ddcaeef497}{\-Filter\-Attribute\-Tile\-Position} a, \-B\-W\-A\-P\-I\-::\-Tile\-Position position) const 
\item 
\hyperlink{classUnitGroup}{\-Unit\-Group} \& \hyperlink{classUnitGroup_ab4dbc52364ed827cb26a0677c005376b}{operator+=} (const \hyperlink{classUnitGroup}{\-Unit\-Group} \&other)
\item 
\hyperlink{classUnitGroup}{\-Unit\-Group} \& \hyperlink{classUnitGroup_a09f4bdc6bc4b2cd41565796bc93838e6}{operator$\ast$=} (const \hyperlink{classUnitGroup}{\-Unit\-Group} \&other)
\item 
\hyperlink{classUnitGroup}{\-Unit\-Group} \& \hyperlink{classUnitGroup_a37f2ac7dd6d84e1e260e6697c8b4d0c1}{operator$^\wedge$=} (const \hyperlink{classUnitGroup}{\-Unit\-Group} \&other)
\item 
\hyperlink{classUnitGroup}{\-Unit\-Group} \& \hyperlink{classUnitGroup_a43f8be79896e154456663191fc3d6058}{operator-\/=} (const \hyperlink{classUnitGroup}{\-Unit\-Group} \&other)
\item 
\-B\-W\-A\-P\-I\-::\-Unit $\ast$ \hyperlink{classUnitGroup_a821756772f26f36f0466506bfc309762}{get\-Nearest} (\-B\-W\-A\-P\-I\-::\-Position position) const 
\item 
bool \hyperlink{classUnitGroup_a2879f951a29b7bce83ffd5ba2e5dc019}{contains} (\-B\-W\-A\-P\-I\-::\-Unit $\ast$u) const 
\item 
\-B\-W\-A\-P\-I\-::\-Position \hyperlink{classUnitGroup_a45b8b2fc36688cadc8fac83269ff56a4}{get\-Center} () const 
\item 
bool \hyperlink{classUnitGroup_a594d99cb882830cc40eff3d18e2a46b3}{attack} (\-B\-W\-A\-P\-I\-::\-Position position) const 
\item 
bool \hyperlink{classUnitGroup_a2e7fc7458abc4698cdcb2f994298294c}{attack\-Unit} (\-B\-W\-A\-P\-I\-::\-Unit $\ast$target) const 
\item 
bool \hyperlink{classUnitGroup_a0f0062b18c3e20d11381768cb539773e}{right\-Click} (\-B\-W\-A\-P\-I\-::\-Position position) const 
\item 
bool \hyperlink{classUnitGroup_ae65502e810bd017aa3c5b94e433d7a60}{right\-Click} (\-B\-W\-A\-P\-I\-::\-Unit $\ast$target) const 
\item 
bool \hyperlink{classUnitGroup_a451186b31667f88509705edeb9bffadf}{train} (\-B\-W\-A\-P\-I\-::\-Unit\-Type type) const 
\item 
bool \hyperlink{classUnitGroup_afb852199f4a404ef351d6154698f1d7b}{build} (\-B\-W\-A\-P\-I\-::\-Tile\-Position position, \-B\-W\-A\-P\-I\-::\-Unit\-Type type) const 
\item 
bool \hyperlink{classUnitGroup_ac94722cccbe8543a473fa6fd4a7a336e}{build\-Addon} (\-B\-W\-A\-P\-I\-::\-Unit\-Type type) const 
\item 
bool \hyperlink{classUnitGroup_a849fd3dbe38e5e11a7532b80b32159a0}{research} (\-B\-W\-A\-P\-I\-::\-Tech\-Type tech) const 
\item 
bool \hyperlink{classUnitGroup_a904d0b77c71069b02bb68731b6fd04b6}{upgrade} (\-B\-W\-A\-P\-I\-::\-Upgrade\-Type \hyperlink{classUnitGroup_a904d0b77c71069b02bb68731b6fd04b6}{upgrade}) const 
\item 
bool \hyperlink{classUnitGroup_a19afdfea1c96a1c6d738a03c7a87d075}{stop} () const 
\item 
bool \hyperlink{classUnitGroup_a68fc31818ee42fafb0cc16b162ef6e09}{hold\-Position} () const 
\item 
bool \hyperlink{classUnitGroup_ac7816ce8c1e54e3478fdae14ecd10371}{patrol} (\-B\-W\-A\-P\-I\-::\-Position position) const 
\item 
bool \hyperlink{classUnitGroup_a352f0fc0808aeb5341950017418a8007}{follow} (\-B\-W\-A\-P\-I\-::\-Unit $\ast$target) const 
\item 
bool \hyperlink{classUnitGroup_adb0f152292409b89a28ca0dfd76fa9fa}{set\-Rally\-Point} (\-B\-W\-A\-P\-I\-::\-Position target) const 
\item 
bool \hyperlink{classUnitGroup_a900f4bef187a400f3969c8c2fc1ea2c0}{set\-Rally\-Point} (\-B\-W\-A\-P\-I\-::\-Unit $\ast$target) const 
\item 
bool \hyperlink{classUnitGroup_a73f23f879ea6f8b58caef51800c89ca2}{repair} (\-B\-W\-A\-P\-I\-::\-Unit $\ast$target) const 
\item 
bool \hyperlink{classUnitGroup_abf643bb8a26765d8ef0caf150dc44cab}{morph} (\-B\-W\-A\-P\-I\-::\-Unit\-Type type) const 
\item 
bool \hyperlink{classUnitGroup_a9bd505128be202e231832027b07a5658}{burrow} () const 
\item 
bool \hyperlink{classUnitGroup_a7016d9e4643e2abc131549e46b9a8feb}{unburrow} () const 
\item 
bool \hyperlink{classUnitGroup_a23e885c07b8392d6f088cae92bb9d2f1}{siege} () const 
\item 
bool \hyperlink{classUnitGroup_ab0224d18b18a36992aa6156a5399fd22}{unsiege} () const 
\item 
bool \hyperlink{classUnitGroup_a002bbe4cc4a342c5bbaa936d08ff0101}{cloak} () const 
\item 
bool \hyperlink{classUnitGroup_abd158a63b7e7548c7b2ba3b8c32deda9}{decloak} () const 
\item 
bool \hyperlink{classUnitGroup_a7ed93c1535867b0bcb6a363dc3380979}{lift} () const 
\item 
bool \hyperlink{classUnitGroup_a8e9d873f5cd114f50ff7a372cc2ecd80}{land} (\-B\-W\-A\-P\-I\-::\-Tile\-Position position) const 
\item 
bool \hyperlink{classUnitGroup_a530c1699fc9b51fec71b472434943825}{load} (\-B\-W\-A\-P\-I\-::\-Unit $\ast$target) const 
\item 
bool \hyperlink{classUnitGroup_a3ef31f9f35c18eebe09870acff161243}{unload} (\-B\-W\-A\-P\-I\-::\-Unit $\ast$target) const 
\item 
bool \hyperlink{classUnitGroup_ac12bf191694e809327a92f4ea44509f7}{unload\-All} () const 
\item 
bool \hyperlink{classUnitGroup_ac388d10f5d8d431f57c1b0dce1065548}{unload\-All} (\-B\-W\-A\-P\-I\-::\-Position position) const 
\item 
bool \hyperlink{classUnitGroup_a9212250f751aa1494cd09916420d7048}{cancel\-Construction} () const 
\item 
bool \hyperlink{classUnitGroup_a39877edae7040c87ea8dbe38a4d7fb15}{halt\-Construction} () const 
\item 
bool \hyperlink{classUnitGroup_a71398c51d6c50c2e716a3cde09ac3d62}{cancel\-Morph} () const 
\item 
bool \hyperlink{classUnitGroup_a4465eb4561a5a4cbe6e56009debc98ad}{cancel\-Train} () const 
\item 
bool \hyperlink{classUnitGroup_aee80a83987a64e64e42cc1691f63b179}{cancel\-Train} (int slot) const 
\item 
bool \hyperlink{classUnitGroup_a2a339f0ba4cfa8816f1277ec5df309ca}{cancel\-Addon} () const 
\item 
bool \hyperlink{classUnitGroup_a1d669d8037796529618d8b2016b7c4a0}{cancel\-Research} () const 
\item 
bool \hyperlink{classUnitGroup_adad01ef5b3c3d388fd543c2d4f29f4cb}{cancel\-Upgrade} () const 
\item 
bool \hyperlink{classUnitGroup_afe7ef62614bb9d508f356f1a481ecd98}{use\-Tech} (\-B\-W\-A\-P\-I\-::\-Tech\-Type tech) const 
\item 
bool \hyperlink{classUnitGroup_aa05e66fe4750f6349c18057b83eeedac}{use\-Tech} (\-B\-W\-A\-P\-I\-::\-Tech\-Type tech, \-B\-W\-A\-P\-I\-::\-Position position) const 
\item 
bool \hyperlink{classUnitGroup_afebec15a8528b19e331dcd443f732428}{use\-Tech} (\-B\-W\-A\-P\-I\-::\-Tech\-Type tech, \-B\-W\-A\-P\-I\-::\-Unit $\ast$target) const 
\item 
\hyperlink{classUnitGroup_a69481085a14e8d325bd46cbfb41898be}{\-Unit\-Group} ()
\begin{DoxyCompactList}\small\item\em default constructor \end{DoxyCompactList}\item 
\hyperlink{classUnitGroup_a7516d491f2926bb8aca05d4268ae2b8a}{\-Unit\-Group} (\hyperlink{Micro_2UnitManager_2UnitGroup_8h_ad94a4cf9fe85f46df6d7a2c2fb4beeb0}{group\-Objective\-\_\-t} obj, \-B\-W\-A\-P\-I\-::\-Position \hyperlink{classUnitGroup_af561db7a304e3fdd764995aa612d605b}{pos})
\begin{DoxyCompactList}\small\item\em init constructor (with the objective of the group) \end{DoxyCompactList}\item 
\hyperlink{classUnitGroup_a01f4ee2bc4fc0015dae08163a1e0d9ee}{\-Unit\-Group} (\-B\-W\-A\-P\-I\-::\-Position regroup\-Pos)
\begin{DoxyCompactList}\small\item\em init constructor \end{DoxyCompactList}\item 
\hyperlink{classUnitGroup_a8d8bf459c9dc1bb546e40aac18d85d46}{$\sim$\-Unit\-Group} ()
\begin{DoxyCompactList}\small\item\em destructor \end{DoxyCompactList}\item 
\-B\-W\-A\-P\-I\-::\-Position \hyperlink{classUnitGroup_afca121d8fbba89f967549edc3b22d102}{cur\-Pos} () const 
\item 
\-B\-W\-A\-P\-I\-::\-Position \hyperlink{classUnitGroup_af561db7a304e3fdd764995aa612d605b}{pos} () const 
\begin{DoxyCompactList}\small\item\em return the average position of the group \end{DoxyCompactList}\item 
\-B\-W\-A\-P\-I\-::\-Position \hyperlink{classUnitGroup_a69b7b3a2e6ca60c0c7d7177524cdb7cb}{obj\-Pos} () const 
\begin{DoxyCompactList}\small\item\em return the average position of the objective \end{DoxyCompactList}\item 
bool \hyperlink{classUnitGroup_a89db57006f0302f69a9136ddac030689}{empty} () const 
\begin{DoxyCompactList}\small\item\em check if the group is empty \end{DoxyCompactList}\item 
int \hyperlink{classUnitGroup_a2a9fd35af4b7a86029f04c2c6c303577}{nb\-Units} () const 
\begin{DoxyCompactList}\small\item\em return the number of units that belong to the current group \end{DoxyCompactList}\item 
void \hyperlink{classUnitGroup_a2f559b41fc3dcc369889e982ff924c6c}{move\-To} (\-B\-W\-A\-P\-I\-::\-Position \hyperlink{classUnitGroup_af561db7a304e3fdd764995aa612d605b}{pos})
\begin{DoxyCompactList}\small\item\em move to the desired position \end{DoxyCompactList}\item 
void \hyperlink{classUnitGroup_a03126e9a05bc83d15937840a3a2fd49e}{attack\-To} (const \-B\-W\-A\-P\-I\-::\-Position \hyperlink{classUnitGroup_af561db7a304e3fdd764995aa612d605b}{pos})
\begin{DoxyCompactList}\small\item\em attack to the desired position \end{DoxyCompactList}\item 
void \hyperlink{classUnitGroup_a671bb37135dca834179def3dd8b54cb8}{patrol\-To} (\-B\-W\-A\-P\-I\-::\-Position \hyperlink{classUnitGroup_af561db7a304e3fdd764995aa612d605b}{pos})
\begin{DoxyCompactList}\small\item\em patrol to the desired position \end{DoxyCompactList}\item 
void \hyperlink{classUnitGroup_a01b5f3600f54029412069441215561fa}{stop} ()
\begin{DoxyCompactList}\small\item\em stop the group \end{DoxyCompactList}\item 
bool \hyperlink{classUnitGroup_a3da00384472c660cd9e829cb0aa75c8b}{can\-Ful\-Fill\-Obj} (\hyperlink{classObjective}{\-Objective} $\ast$obj) const 
\begin{DoxyCompactList}\small\item\em check if the current group can fulfill the input objective \end{DoxyCompactList}\item 
bool \hyperlink{classUnitGroup_afd60c44b56ae669f6a7cb39c771bb609}{requires} (\-B\-W\-A\-P\-I\-::\-Unit $\ast$unit) const 
\begin{DoxyCompactList}\small\item\em check if the current group requires the input type of unit \end{DoxyCompactList}\item 
void \hyperlink{classUnitGroup_ae50810d0b363ef3a9d3b5ca988f5d57a}{add\-Unit} (\-B\-W\-A\-P\-I\-::\-Unit $\ast$unit)
\begin{DoxyCompactList}\small\item\em add a new unit to the group \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{\-Static \-Public \-Member \-Functions}
\begin{DoxyCompactItemize}
\item 
static \hyperlink{classUnitGroup}{\-Unit\-Group} \hyperlink{classUnitGroup_a0403073c8150b0643f1ffc212831765b}{get\-Unit\-Group} (const std\-::set$<$ \-B\-W\-A\-P\-I\-::\-Unit $\ast$ $>$ units)
\end{DoxyCompactItemize}
\subsection*{\-Protected \-Member \-Functions}
\begin{DoxyCompactItemize}
\item 
void \hyperlink{classUnitGroup_a3fedbad5864d8828bd8ca9f5180504b8}{update\-Avg\-Pos} ()
\begin{DoxyCompactList}\small\item\em update the average position of the group \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{\-Protected \-Attributes}
\begin{DoxyCompactItemize}
\item 
std\-::list$<$ \-B\-W\-A\-P\-I\-::\-Unit $\ast$ $>$ \hyperlink{classUnitGroup_ac9eafddb8c89dab5c70d618a7f33074b}{l\-Units\-\_\-}
\item 
\hyperlink{Micro_2UnitManager_2UnitGroup_8h_ad94a4cf9fe85f46df6d7a2c2fb4beeb0}{group\-Objective\-\_\-t} \hyperlink{classUnitGroup_ad8dc3f98f0ab9d1ed3283cf8b9c363e1}{objective\-\_\-}
\item 
\hyperlink{Micro_2UnitManager_2UnitGroup_8h_a6487a0047299854fa0fc0be5c3e26466}{group\-Status\-\_\-t} \hyperlink{classUnitGroup_a2dc65ee9f3af43c08a48d35718410aa2}{status\-\_\-}
\item 
\-B\-W\-A\-P\-I\-::\-Position \hyperlink{classUnitGroup_a979347f42ba547fb56ecdda39cdee15f}{cur\-Pos\-\_\-}
\item 
\-B\-W\-A\-P\-I\-::\-Position \hyperlink{classUnitGroup_acaea43bd1b53d34582dc58b9fdf80bca}{obj\-Pos\-\_\-}
\end{DoxyCompactItemize}


\subsection{\-Constructor \& \-Destructor \-Documentation}
\hypertarget{classUnitGroup_a69481085a14e8d325bd46cbfb41898be}{\index{\-Unit\-Group@{\-Unit\-Group}!\-Unit\-Group@{\-Unit\-Group}}
\index{\-Unit\-Group@{\-Unit\-Group}!UnitGroup@{\-Unit\-Group}}
\subsubsection[{\-Unit\-Group}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-Unit\-Group\-::\-Unit\-Group} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{classUnitGroup_a69481085a14e8d325bd46cbfb41898be}


default constructor 

\hypertarget{classUnitGroup_a7516d491f2926bb8aca05d4268ae2b8a}{\index{\-Unit\-Group@{\-Unit\-Group}!\-Unit\-Group@{\-Unit\-Group}}
\index{\-Unit\-Group@{\-Unit\-Group}!UnitGroup@{\-Unit\-Group}}
\subsubsection[{\-Unit\-Group}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-Unit\-Group\-::\-Unit\-Group} (
\begin{DoxyParamCaption}
\item[{{\bf group\-Objective\-\_\-t}}]{obj, }
\item[{\-B\-W\-A\-P\-I\-::\-Position}]{pos}
\end{DoxyParamCaption}
)}}\label{classUnitGroup_a7516d491f2926bb8aca05d4268ae2b8a}


init constructor (with the objective of the group) 


\begin{DoxyParams}{\-Parameters}
{\em obj} & \-: the objective of the group \\
\hline
{\em pos} & \-: the position associated to the objective \\
\hline
\end{DoxyParams}
\hypertarget{classUnitGroup_a01f4ee2bc4fc0015dae08163a1e0d9ee}{\index{\-Unit\-Group@{\-Unit\-Group}!\-Unit\-Group@{\-Unit\-Group}}
\index{\-Unit\-Group@{\-Unit\-Group}!UnitGroup@{\-Unit\-Group}}
\subsubsection[{\-Unit\-Group}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-Unit\-Group\-::\-Unit\-Group} (
\begin{DoxyParamCaption}
\item[{\-B\-W\-A\-P\-I\-::\-Position}]{regroup\-Pos}
\end{DoxyParamCaption}
)}}\label{classUnitGroup_a01f4ee2bc4fc0015dae08163a1e0d9ee}


init constructor 


\begin{DoxyParams}{\-Parameters}
{\em pos} & \-: the position to regroup units \\
\hline
\end{DoxyParams}
\hypertarget{classUnitGroup_a8d8bf459c9dc1bb546e40aac18d85d46}{\index{\-Unit\-Group@{\-Unit\-Group}!$\sim$\-Unit\-Group@{$\sim$\-Unit\-Group}}
\index{$\sim$\-Unit\-Group@{$\sim$\-Unit\-Group}!UnitGroup@{\-Unit\-Group}}
\subsubsection[{$\sim$\-Unit\-Group}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-Unit\-Group\-::$\sim$\-Unit\-Group} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{classUnitGroup_a8d8bf459c9dc1bb546e40aac18d85d46}


destructor 



\subsection{\-Member \-Function \-Documentation}
\hypertarget{classUnitGroup_ae50810d0b363ef3a9d3b5ca988f5d57a}{\index{\-Unit\-Group@{\-Unit\-Group}!add\-Unit@{add\-Unit}}
\index{add\-Unit@{add\-Unit}!UnitGroup@{\-Unit\-Group}}
\subsubsection[{add\-Unit}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf \-Unit\-Group\-::add\-Unit} (
\begin{DoxyParamCaption}
\item[{\-B\-W\-A\-P\-I\-::\-Unit $\ast$}]{unit}
\end{DoxyParamCaption}
)}}\label{classUnitGroup_ae50810d0b363ef3a9d3b5ca988f5d57a}


add a new unit to the group 


\begin{DoxyParams}{\-Parameters}
{\em unit} & \-: the input unit \\
\hline
\end{DoxyParams}
\hypertarget{classUnitGroup_a594d99cb882830cc40eff3d18e2a46b3}{\index{\-Unit\-Group@{\-Unit\-Group}!attack@{attack}}
\index{attack@{attack}!UnitGroup@{\-Unit\-Group}}
\subsubsection[{attack}]{\setlength{\rightskip}{0pt plus 5cm}bool {\bf \-Unit\-Group\-::attack} (
\begin{DoxyParamCaption}
\item[{\-B\-W\-A\-P\-I\-::\-Position}]{position}
\end{DoxyParamCaption}
) const}}\label{classUnitGroup_a594d99cb882830cc40eff3d18e2a46b3}
\hypertarget{classUnitGroup_a03126e9a05bc83d15937840a3a2fd49e}{\index{\-Unit\-Group@{\-Unit\-Group}!attack\-To@{attack\-To}}
\index{attack\-To@{attack\-To}!UnitGroup@{\-Unit\-Group}}
\subsubsection[{attack\-To}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf \-Unit\-Group\-::attack\-To} (
\begin{DoxyParamCaption}
\item[{const \-B\-W\-A\-P\-I\-::\-Position}]{pos}
\end{DoxyParamCaption}
)}}\label{classUnitGroup_a03126e9a05bc83d15937840a3a2fd49e}


attack to the desired position 


\begin{DoxyParams}{\-Parameters}
{\em pos} & \-: the position to go to \\
\hline
\end{DoxyParams}
\hypertarget{classUnitGroup_a2e7fc7458abc4698cdcb2f994298294c}{\index{\-Unit\-Group@{\-Unit\-Group}!attack\-Unit@{attack\-Unit}}
\index{attack\-Unit@{attack\-Unit}!UnitGroup@{\-Unit\-Group}}
\subsubsection[{attack\-Unit}]{\setlength{\rightskip}{0pt plus 5cm}bool {\bf \-Unit\-Group\-::attack\-Unit} (
\begin{DoxyParamCaption}
\item[{\-B\-W\-A\-P\-I\-::\-Unit $\ast$}]{target}
\end{DoxyParamCaption}
) const}}\label{classUnitGroup_a2e7fc7458abc4698cdcb2f994298294c}
\hypertarget{classUnitGroup_afb852199f4a404ef351d6154698f1d7b}{\index{\-Unit\-Group@{\-Unit\-Group}!build@{build}}
\index{build@{build}!UnitGroup@{\-Unit\-Group}}
\subsubsection[{build}]{\setlength{\rightskip}{0pt plus 5cm}bool {\bf \-Unit\-Group\-::build} (
\begin{DoxyParamCaption}
\item[{\-B\-W\-A\-P\-I\-::\-Tile\-Position}]{position, }
\item[{\-B\-W\-A\-P\-I\-::\-Unit\-Type}]{type}
\end{DoxyParamCaption}
) const}}\label{classUnitGroup_afb852199f4a404ef351d6154698f1d7b}
\hypertarget{classUnitGroup_ac94722cccbe8543a473fa6fd4a7a336e}{\index{\-Unit\-Group@{\-Unit\-Group}!build\-Addon@{build\-Addon}}
\index{build\-Addon@{build\-Addon}!UnitGroup@{\-Unit\-Group}}
\subsubsection[{build\-Addon}]{\setlength{\rightskip}{0pt plus 5cm}bool {\bf \-Unit\-Group\-::build\-Addon} (
\begin{DoxyParamCaption}
\item[{\-B\-W\-A\-P\-I\-::\-Unit\-Type}]{type}
\end{DoxyParamCaption}
) const}}\label{classUnitGroup_ac94722cccbe8543a473fa6fd4a7a336e}
\hypertarget{classUnitGroup_a9bd505128be202e231832027b07a5658}{\index{\-Unit\-Group@{\-Unit\-Group}!burrow@{burrow}}
\index{burrow@{burrow}!UnitGroup@{\-Unit\-Group}}
\subsubsection[{burrow}]{\setlength{\rightskip}{0pt plus 5cm}bool {\bf \-Unit\-Group\-::burrow} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{classUnitGroup_a9bd505128be202e231832027b07a5658}
\hypertarget{classUnitGroup_a2a339f0ba4cfa8816f1277ec5df309ca}{\index{\-Unit\-Group@{\-Unit\-Group}!cancel\-Addon@{cancel\-Addon}}
\index{cancel\-Addon@{cancel\-Addon}!UnitGroup@{\-Unit\-Group}}
\subsubsection[{cancel\-Addon}]{\setlength{\rightskip}{0pt plus 5cm}bool {\bf \-Unit\-Group\-::cancel\-Addon} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{classUnitGroup_a2a339f0ba4cfa8816f1277ec5df309ca}
\hypertarget{classUnitGroup_a9212250f751aa1494cd09916420d7048}{\index{\-Unit\-Group@{\-Unit\-Group}!cancel\-Construction@{cancel\-Construction}}
\index{cancel\-Construction@{cancel\-Construction}!UnitGroup@{\-Unit\-Group}}
\subsubsection[{cancel\-Construction}]{\setlength{\rightskip}{0pt plus 5cm}bool {\bf \-Unit\-Group\-::cancel\-Construction} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{classUnitGroup_a9212250f751aa1494cd09916420d7048}
\hypertarget{classUnitGroup_a71398c51d6c50c2e716a3cde09ac3d62}{\index{\-Unit\-Group@{\-Unit\-Group}!cancel\-Morph@{cancel\-Morph}}
\index{cancel\-Morph@{cancel\-Morph}!UnitGroup@{\-Unit\-Group}}
\subsubsection[{cancel\-Morph}]{\setlength{\rightskip}{0pt plus 5cm}bool {\bf \-Unit\-Group\-::cancel\-Morph} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{classUnitGroup_a71398c51d6c50c2e716a3cde09ac3d62}
\hypertarget{classUnitGroup_a1d669d8037796529618d8b2016b7c4a0}{\index{\-Unit\-Group@{\-Unit\-Group}!cancel\-Research@{cancel\-Research}}
\index{cancel\-Research@{cancel\-Research}!UnitGroup@{\-Unit\-Group}}
\subsubsection[{cancel\-Research}]{\setlength{\rightskip}{0pt plus 5cm}bool {\bf \-Unit\-Group\-::cancel\-Research} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{classUnitGroup_a1d669d8037796529618d8b2016b7c4a0}
\hypertarget{classUnitGroup_a4465eb4561a5a4cbe6e56009debc98ad}{\index{\-Unit\-Group@{\-Unit\-Group}!cancel\-Train@{cancel\-Train}}
\index{cancel\-Train@{cancel\-Train}!UnitGroup@{\-Unit\-Group}}
\subsubsection[{cancel\-Train}]{\setlength{\rightskip}{0pt plus 5cm}bool {\bf \-Unit\-Group\-::cancel\-Train} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{classUnitGroup_a4465eb4561a5a4cbe6e56009debc98ad}
\hypertarget{classUnitGroup_aee80a83987a64e64e42cc1691f63b179}{\index{\-Unit\-Group@{\-Unit\-Group}!cancel\-Train@{cancel\-Train}}
\index{cancel\-Train@{cancel\-Train}!UnitGroup@{\-Unit\-Group}}
\subsubsection[{cancel\-Train}]{\setlength{\rightskip}{0pt plus 5cm}bool {\bf \-Unit\-Group\-::cancel\-Train} (
\begin{DoxyParamCaption}
\item[{int}]{slot}
\end{DoxyParamCaption}
) const}}\label{classUnitGroup_aee80a83987a64e64e42cc1691f63b179}
\hypertarget{classUnitGroup_adad01ef5b3c3d388fd543c2d4f29f4cb}{\index{\-Unit\-Group@{\-Unit\-Group}!cancel\-Upgrade@{cancel\-Upgrade}}
\index{cancel\-Upgrade@{cancel\-Upgrade}!UnitGroup@{\-Unit\-Group}}
\subsubsection[{cancel\-Upgrade}]{\setlength{\rightskip}{0pt plus 5cm}bool {\bf \-Unit\-Group\-::cancel\-Upgrade} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{classUnitGroup_adad01ef5b3c3d388fd543c2d4f29f4cb}
\hypertarget{classUnitGroup_a3da00384472c660cd9e829cb0aa75c8b}{\index{\-Unit\-Group@{\-Unit\-Group}!can\-Ful\-Fill\-Obj@{can\-Ful\-Fill\-Obj}}
\index{can\-Ful\-Fill\-Obj@{can\-Ful\-Fill\-Obj}!UnitGroup@{\-Unit\-Group}}
\subsubsection[{can\-Ful\-Fill\-Obj}]{\setlength{\rightskip}{0pt plus 5cm}bool {\bf \-Unit\-Group\-::can\-Ful\-Fill\-Obj} (
\begin{DoxyParamCaption}
\item[{{\bf \-Objective} $\ast$}]{obj}
\end{DoxyParamCaption}
) const}}\label{classUnitGroup_a3da00384472c660cd9e829cb0aa75c8b}


check if the current group can fulfill the input objective 

check if the current group can fulfill the inp�t objective


\begin{DoxyParams}{\-Parameters}
{\em obj} & \-: the input objective \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{\-Returns}
true if the group can fulfill the objective 
\end{DoxyReturn}


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


\hypertarget{classUnitGroup_a002bbe4cc4a342c5bbaa936d08ff0101}{\index{\-Unit\-Group@{\-Unit\-Group}!cloak@{cloak}}
\index{cloak@{cloak}!UnitGroup@{\-Unit\-Group}}
\subsubsection[{cloak}]{\setlength{\rightskip}{0pt plus 5cm}bool {\bf \-Unit\-Group\-::cloak} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{classUnitGroup_a002bbe4cc4a342c5bbaa936d08ff0101}
\hypertarget{classUnitGroup_a2879f951a29b7bce83ffd5ba2e5dc019}{\index{\-Unit\-Group@{\-Unit\-Group}!contains@{contains}}
\index{contains@{contains}!UnitGroup@{\-Unit\-Group}}
\subsubsection[{contains}]{\setlength{\rightskip}{0pt plus 5cm}bool {\bf \-Unit\-Group\-::contains} (
\begin{DoxyParamCaption}
\item[{\-B\-W\-A\-P\-I\-::\-Unit $\ast$}]{u}
\end{DoxyParamCaption}
) const}}\label{classUnitGroup_a2879f951a29b7bce83ffd5ba2e5dc019}


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


\hypertarget{classUnitGroup_afca121d8fbba89f967549edc3b22d102}{\index{\-Unit\-Group@{\-Unit\-Group}!cur\-Pos@{cur\-Pos}}
\index{cur\-Pos@{cur\-Pos}!UnitGroup@{\-Unit\-Group}}
\subsubsection[{cur\-Pos}]{\setlength{\rightskip}{0pt plus 5cm}\-B\-W\-A\-P\-I\-::\-Position {\bf \-Unit\-Group\-::cur\-Pos} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}\label{classUnitGroup_afca121d8fbba89f967549edc3b22d102}
\hypertarget{classUnitGroup_abd158a63b7e7548c7b2ba3b8c32deda9}{\index{\-Unit\-Group@{\-Unit\-Group}!decloak@{decloak}}
\index{decloak@{decloak}!UnitGroup@{\-Unit\-Group}}
\subsubsection[{decloak}]{\setlength{\rightskip}{0pt plus 5cm}bool {\bf \-Unit\-Group\-::decloak} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{classUnitGroup_abd158a63b7e7548c7b2ba3b8c32deda9}
\hypertarget{classUnitGroup_a89db57006f0302f69a9136ddac030689}{\index{\-Unit\-Group@{\-Unit\-Group}!empty@{empty}}
\index{empty@{empty}!UnitGroup@{\-Unit\-Group}}
\subsubsection[{empty}]{\setlength{\rightskip}{0pt plus 5cm}bool {\bf \-Unit\-Group\-::empty} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}\label{classUnitGroup_a89db57006f0302f69a9136ddac030689}


check if the group is empty 

\begin{DoxyReturn}{\-Returns}
true if the group is empty 
\end{DoxyReturn}


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


\hypertarget{classUnitGroup_a352f0fc0808aeb5341950017418a8007}{\index{\-Unit\-Group@{\-Unit\-Group}!follow@{follow}}
\index{follow@{follow}!UnitGroup@{\-Unit\-Group}}
\subsubsection[{follow}]{\setlength{\rightskip}{0pt plus 5cm}bool {\bf \-Unit\-Group\-::follow} (
\begin{DoxyParamCaption}
\item[{\-B\-W\-A\-P\-I\-::\-Unit $\ast$}]{target}
\end{DoxyParamCaption}
) const}}\label{classUnitGroup_a352f0fc0808aeb5341950017418a8007}
\hypertarget{classUnitGroup_a45b8b2fc36688cadc8fac83269ff56a4}{\index{\-Unit\-Group@{\-Unit\-Group}!get\-Center@{get\-Center}}
\index{get\-Center@{get\-Center}!UnitGroup@{\-Unit\-Group}}
\subsubsection[{get\-Center}]{\setlength{\rightskip}{0pt plus 5cm}\-Position {\bf \-Unit\-Group\-::get\-Center} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{classUnitGroup_a45b8b2fc36688cadc8fac83269ff56a4}
\hypertarget{classUnitGroup_a821756772f26f36f0466506bfc309762}{\index{\-Unit\-Group@{\-Unit\-Group}!get\-Nearest@{get\-Nearest}}
\index{get\-Nearest@{get\-Nearest}!UnitGroup@{\-Unit\-Group}}
\subsubsection[{get\-Nearest}]{\setlength{\rightskip}{0pt plus 5cm}\-B\-W\-A\-P\-I\-::\-Unit $\ast$ {\bf \-Unit\-Group\-::get\-Nearest} (
\begin{DoxyParamCaption}
\item[{\-B\-W\-A\-P\-I\-::\-Position}]{position}
\end{DoxyParamCaption}
) const}}\label{classUnitGroup_a821756772f26f36f0466506bfc309762}
\hypertarget{classUnitGroup_a0403073c8150b0643f1ffc212831765b}{\index{\-Unit\-Group@{\-Unit\-Group}!get\-Unit\-Group@{get\-Unit\-Group}}
\index{get\-Unit\-Group@{get\-Unit\-Group}!UnitGroup@{\-Unit\-Group}}
\subsubsection[{get\-Unit\-Group}]{\setlength{\rightskip}{0pt plus 5cm}static {\bf \-Unit\-Group} {\bf \-Unit\-Group\-::get\-Unit\-Group} (
\begin{DoxyParamCaption}
\item[{const std\-::set$<$ \-B\-W\-A\-P\-I\-::\-Unit $\ast$ $>$}]{units}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline, static\mbox{]}}}}\label{classUnitGroup_a0403073c8150b0643f1ffc212831765b}
\hypertarget{classUnitGroup_a39877edae7040c87ea8dbe38a4d7fb15}{\index{\-Unit\-Group@{\-Unit\-Group}!halt\-Construction@{halt\-Construction}}
\index{halt\-Construction@{halt\-Construction}!UnitGroup@{\-Unit\-Group}}
\subsubsection[{halt\-Construction}]{\setlength{\rightskip}{0pt plus 5cm}bool {\bf \-Unit\-Group\-::halt\-Construction} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{classUnitGroup_a39877edae7040c87ea8dbe38a4d7fb15}
\hypertarget{classUnitGroup_a68fc31818ee42fafb0cc16b162ef6e09}{\index{\-Unit\-Group@{\-Unit\-Group}!hold\-Position@{hold\-Position}}
\index{hold\-Position@{hold\-Position}!UnitGroup@{\-Unit\-Group}}
\subsubsection[{hold\-Position}]{\setlength{\rightskip}{0pt plus 5cm}bool {\bf \-Unit\-Group\-::hold\-Position} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{classUnitGroup_a68fc31818ee42fafb0cc16b162ef6e09}
\hypertarget{classUnitGroup_ae72ab44252d1451652335b5d3e544c2e}{\index{\-Unit\-Group@{\-Unit\-Group}!in\-Radius@{in\-Radius}}
\index{in\-Radius@{in\-Radius}!UnitGroup@{\-Unit\-Group}}
\subsubsection[{in\-Radius}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-Unit\-Group} {\bf \-Unit\-Group\-::in\-Radius} (
\begin{DoxyParamCaption}
\item[{double}]{radius, }
\item[{\-B\-W\-A\-P\-I\-::\-Position}]{position}
\end{DoxyParamCaption}
) const}}\label{classUnitGroup_ae72ab44252d1451652335b5d3e544c2e}


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


\hypertarget{classUnitGroup_ac215c88b3952e1dd9c06593f2eabf8ff}{\index{\-Unit\-Group@{\-Unit\-Group}!in\-Region@{in\-Region}}
\index{in\-Region@{in\-Region}!UnitGroup@{\-Unit\-Group}}
\subsubsection[{in\-Region}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-Unit\-Group} {\bf \-Unit\-Group\-::in\-Region} (
\begin{DoxyParamCaption}
\item[{\-B\-W\-T\-A\-::\-Region $\ast$}]{region}
\end{DoxyParamCaption}
) const}}\label{classUnitGroup_ac215c88b3952e1dd9c06593f2eabf8ff}
\hypertarget{classUnitGroup_a8e9d873f5cd114f50ff7a372cc2ecd80}{\index{\-Unit\-Group@{\-Unit\-Group}!land@{land}}
\index{land@{land}!UnitGroup@{\-Unit\-Group}}
\subsubsection[{land}]{\setlength{\rightskip}{0pt plus 5cm}bool {\bf \-Unit\-Group\-::land} (
\begin{DoxyParamCaption}
\item[{\-B\-W\-A\-P\-I\-::\-Tile\-Position}]{position}
\end{DoxyParamCaption}
) const}}\label{classUnitGroup_a8e9d873f5cd114f50ff7a372cc2ecd80}
\hypertarget{classUnitGroup_a7ed93c1535867b0bcb6a363dc3380979}{\index{\-Unit\-Group@{\-Unit\-Group}!lift@{lift}}
\index{lift@{lift}!UnitGroup@{\-Unit\-Group}}
\subsubsection[{lift}]{\setlength{\rightskip}{0pt plus 5cm}bool {\bf \-Unit\-Group\-::lift} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{classUnitGroup_a7ed93c1535867b0bcb6a363dc3380979}
\hypertarget{classUnitGroup_a530c1699fc9b51fec71b472434943825}{\index{\-Unit\-Group@{\-Unit\-Group}!load@{load}}
\index{load@{load}!UnitGroup@{\-Unit\-Group}}
\subsubsection[{load}]{\setlength{\rightskip}{0pt plus 5cm}bool {\bf \-Unit\-Group\-::load} (
\begin{DoxyParamCaption}
\item[{\-B\-W\-A\-P\-I\-::\-Unit $\ast$}]{target}
\end{DoxyParamCaption}
) const}}\label{classUnitGroup_a530c1699fc9b51fec71b472434943825}
\hypertarget{classUnitGroup_abf643bb8a26765d8ef0caf150dc44cab}{\index{\-Unit\-Group@{\-Unit\-Group}!morph@{morph}}
\index{morph@{morph}!UnitGroup@{\-Unit\-Group}}
\subsubsection[{morph}]{\setlength{\rightskip}{0pt plus 5cm}bool {\bf \-Unit\-Group\-::morph} (
\begin{DoxyParamCaption}
\item[{\-B\-W\-A\-P\-I\-::\-Unit\-Type}]{type}
\end{DoxyParamCaption}
) const}}\label{classUnitGroup_abf643bb8a26765d8ef0caf150dc44cab}
\hypertarget{classUnitGroup_a2f559b41fc3dcc369889e982ff924c6c}{\index{\-Unit\-Group@{\-Unit\-Group}!move\-To@{move\-To}}
\index{move\-To@{move\-To}!UnitGroup@{\-Unit\-Group}}
\subsubsection[{move\-To}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf \-Unit\-Group\-::move\-To} (
\begin{DoxyParamCaption}
\item[{\-B\-W\-A\-P\-I\-::\-Position}]{pos}
\end{DoxyParamCaption}
)}}\label{classUnitGroup_a2f559b41fc3dcc369889e982ff924c6c}


move to the desired position 


\begin{DoxyParams}{\-Parameters}
{\em pos} & \-: the position to go to \\
\hline
\end{DoxyParams}
\hypertarget{classUnitGroup_a2a9fd35af4b7a86029f04c2c6c303577}{\index{\-Unit\-Group@{\-Unit\-Group}!nb\-Units@{nb\-Units}}
\index{nb\-Units@{nb\-Units}!UnitGroup@{\-Unit\-Group}}
\subsubsection[{nb\-Units}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf \-Unit\-Group\-::nb\-Units} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}\label{classUnitGroup_a2a9fd35af4b7a86029f04c2c6c303577}


return the number of units that belong to the current group 

\begin{DoxyReturn}{\-Returns}
the number of units that belong to the current group 
\end{DoxyReturn}
\hypertarget{classUnitGroup_abea5f95bb042729a055b64a0c1691ddd}{\index{\-Unit\-Group@{\-Unit\-Group}!not@{not}}
\index{not@{not}!UnitGroup@{\-Unit\-Group}}
\subsubsection[{not}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-Unit\-Group} {\bf \-Unit\-Group\-::not} (
\begin{DoxyParamCaption}
\item[{int}]{f1}
\end{DoxyParamCaption}
) const}}\label{classUnitGroup_abea5f95bb042729a055b64a0c1691ddd}


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




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


\hypertarget{classUnitGroup_a19ddc492e2028722e4a892ce1041ae9d}{\index{\-Unit\-Group@{\-Unit\-Group}!not@{not}}
\index{not@{not}!UnitGroup@{\-Unit\-Group}}
\subsubsection[{not}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-Unit\-Group} {\bf \-Unit\-Group\-::not} (
\begin{DoxyParamCaption}
\item[{int}]{f1, }
\item[{int}]{f2}
\end{DoxyParamCaption}
) const}}\label{classUnitGroup_a19ddc492e2028722e4a892ce1041ae9d}


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


\hypertarget{classUnitGroup_a7134a9f477a3860d8a70e157323c477f}{\index{\-Unit\-Group@{\-Unit\-Group}!not@{not}}
\index{not@{not}!UnitGroup@{\-Unit\-Group}}
\subsubsection[{not}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-Unit\-Group} {\bf \-Unit\-Group\-::not} (
\begin{DoxyParamCaption}
\item[{int}]{f1, }
\item[{int}]{f2, }
\item[{int}]{f3}
\end{DoxyParamCaption}
) const}}\label{classUnitGroup_a7134a9f477a3860d8a70e157323c477f}


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


\hypertarget{classUnitGroup_a7bc4c6dd9275a8be4b35e09ad72da041}{\index{\-Unit\-Group@{\-Unit\-Group}!not@{not}}
\index{not@{not}!UnitGroup@{\-Unit\-Group}}
\subsubsection[{not}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-Unit\-Group} {\bf \-Unit\-Group\-::not} (
\begin{DoxyParamCaption}
\item[{int}]{f1, }
\item[{int}]{f2, }
\item[{int}]{f3, }
\item[{int}]{f4}
\end{DoxyParamCaption}
) const}}\label{classUnitGroup_a7bc4c6dd9275a8be4b35e09ad72da041}


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


\hypertarget{classUnitGroup_a9020529d8430cf1516de38f6faadebf1}{\index{\-Unit\-Group@{\-Unit\-Group}!not@{not}}
\index{not@{not}!UnitGroup@{\-Unit\-Group}}
\subsubsection[{not}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-Unit\-Group} {\bf \-Unit\-Group\-::not} (
\begin{DoxyParamCaption}
\item[{int}]{f1, }
\item[{int}]{f2, }
\item[{int}]{f3, }
\item[{int}]{f4, }
\item[{int}]{f5}
\end{DoxyParamCaption}
) const}}\label{classUnitGroup_a9020529d8430cf1516de38f6faadebf1}


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


\hypertarget{classUnitGroup_a1eb5f65d3aa5455d04ac79f644288fab}{\index{\-Unit\-Group@{\-Unit\-Group}!not@{not}}
\index{not@{not}!UnitGroup@{\-Unit\-Group}}
\subsubsection[{not}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-Unit\-Group} {\bf \-Unit\-Group\-::not} (
\begin{DoxyParamCaption}
\item[{{\bf \-Fliter\-Attribute\-Scalar}}]{a, }
\item[{const char $\ast$}]{compare, }
\item[{double}]{value}
\end{DoxyParamCaption}
) const}}\label{classUnitGroup_a1eb5f65d3aa5455d04ac79f644288fab}


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


\hypertarget{classUnitGroup_ab17bd808c443e40487b793b5afaab676}{\index{\-Unit\-Group@{\-Unit\-Group}!not@{not}}
\index{not@{not}!UnitGroup@{\-Unit\-Group}}
\subsubsection[{not}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-Unit\-Group} {\bf \-Unit\-Group\-::not} (
\begin{DoxyParamCaption}
\item[{{\bf \-Fliter\-Attribute\-Scalar}}]{a, }
\item[{const char $\ast$}]{compare, }
\item[{int}]{value}
\end{DoxyParamCaption}
) const}}\label{classUnitGroup_ab17bd808c443e40487b793b5afaab676}


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


\hypertarget{classUnitGroup_a0c2712d1552b4d0fd354646618f9bc98}{\index{\-Unit\-Group@{\-Unit\-Group}!not@{not}}
\index{not@{not}!UnitGroup@{\-Unit\-Group}}
\subsubsection[{not}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-Unit\-Group} {\bf \-Unit\-Group\-::not} (
\begin{DoxyParamCaption}
\item[{\-B\-W\-A\-P\-I\-::\-Player $\ast$}]{player}
\end{DoxyParamCaption}
) const}}\label{classUnitGroup_a0c2712d1552b4d0fd354646618f9bc98}
\hypertarget{classUnitGroup_adf8347430bcc1978b538f3a6aca2b5ea}{\index{\-Unit\-Group@{\-Unit\-Group}!not@{not}}
\index{not@{not}!UnitGroup@{\-Unit\-Group}}
\subsubsection[{not}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-Unit\-Group} {\bf \-Unit\-Group\-::not} (
\begin{DoxyParamCaption}
\item[{{\bf \-Filter\-Attribute\-Unit}}]{a, }
\item[{\-B\-W\-A\-P\-I\-::\-Unit $\ast$}]{unit}
\end{DoxyParamCaption}
) const}}\label{classUnitGroup_adf8347430bcc1978b538f3a6aca2b5ea}


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


\hypertarget{classUnitGroup_a0e9a8dd4642b07701877e29fca379c70}{\index{\-Unit\-Group@{\-Unit\-Group}!not@{not}}
\index{not@{not}!UnitGroup@{\-Unit\-Group}}
\subsubsection[{not}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-Unit\-Group} {\bf \-Unit\-Group\-::not} (
\begin{DoxyParamCaption}
\item[{{\bf \-Filter\-Attribute\-Type}}]{a, }
\item[{\-B\-W\-A\-P\-I\-::\-Unit\-Type}]{type}
\end{DoxyParamCaption}
) const}}\label{classUnitGroup_a0e9a8dd4642b07701877e29fca379c70}
\hypertarget{classUnitGroup_a335cace35021be8b2fd1d1dc21c7cb9b}{\index{\-Unit\-Group@{\-Unit\-Group}!not@{not}}
\index{not@{not}!UnitGroup@{\-Unit\-Group}}
\subsubsection[{not}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-Unit\-Group} {\bf \-Unit\-Group\-::not} (
\begin{DoxyParamCaption}
\item[{{\bf \-Filter\-Attribute\-Type}}]{a, }
\item[{\-B\-W\-A\-P\-I\-::\-Tech\-Type}]{type}
\end{DoxyParamCaption}
) const}}\label{classUnitGroup_a335cace35021be8b2fd1d1dc21c7cb9b}
\hypertarget{classUnitGroup_a8d1b59a88ac1df006d461d24690f25c8}{\index{\-Unit\-Group@{\-Unit\-Group}!not@{not}}
\index{not@{not}!UnitGroup@{\-Unit\-Group}}
\subsubsection[{not}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-Unit\-Group} {\bf \-Unit\-Group\-::not} (
\begin{DoxyParamCaption}
\item[{{\bf \-Filter\-Attribute\-Type}}]{a, }
\item[{\-B\-W\-A\-P\-I\-::\-Upgrade\-Type}]{type}
\end{DoxyParamCaption}
) const}}\label{classUnitGroup_a8d1b59a88ac1df006d461d24690f25c8}
\hypertarget{classUnitGroup_afe6780dcf166179a679bd0719a890ff6}{\index{\-Unit\-Group@{\-Unit\-Group}!not@{not}}
\index{not@{not}!UnitGroup@{\-Unit\-Group}}
\subsubsection[{not}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-Unit\-Group} {\bf \-Unit\-Group\-::not} (
\begin{DoxyParamCaption}
\item[{{\bf \-Filter\-Attribute\-Order}}]{a, }
\item[{\-B\-W\-A\-P\-I\-::\-Order}]{type}
\end{DoxyParamCaption}
) const}}\label{classUnitGroup_afe6780dcf166179a679bd0719a890ff6}
\hypertarget{classUnitGroup_a63d53db8aa34a0eb3abd498b11bfd9ac}{\index{\-Unit\-Group@{\-Unit\-Group}!not@{not}}
\index{not@{not}!UnitGroup@{\-Unit\-Group}}
\subsubsection[{not}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-Unit\-Group} {\bf \-Unit\-Group\-::not} (
\begin{DoxyParamCaption}
\item[{{\bf \-Filter\-Attribute\-Position}}]{a, }
\item[{\-B\-W\-A\-P\-I\-::\-Position}]{position}
\end{DoxyParamCaption}
) const}}\label{classUnitGroup_a63d53db8aa34a0eb3abd498b11bfd9ac}
\hypertarget{classUnitGroup_ad896533ec722c2dad363fdd7bef7cda5}{\index{\-Unit\-Group@{\-Unit\-Group}!not@{not}}
\index{not@{not}!UnitGroup@{\-Unit\-Group}}
\subsubsection[{not}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-Unit\-Group} {\bf \-Unit\-Group\-::not} (
\begin{DoxyParamCaption}
\item[{{\bf \-Filter\-Attribute\-Tile\-Position}}]{a, }
\item[{\-B\-W\-A\-P\-I\-::\-Tile\-Position}]{position}
\end{DoxyParamCaption}
) const}}\label{classUnitGroup_ad896533ec722c2dad363fdd7bef7cda5}
\hypertarget{classUnitGroup_a69b7b3a2e6ca60c0c7d7177524cdb7cb}{\index{\-Unit\-Group@{\-Unit\-Group}!obj\-Pos@{obj\-Pos}}
\index{obj\-Pos@{obj\-Pos}!UnitGroup@{\-Unit\-Group}}
\subsubsection[{obj\-Pos}]{\setlength{\rightskip}{0pt plus 5cm}\-B\-W\-A\-P\-I\-::\-Position {\bf \-Unit\-Group\-::obj\-Pos} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{classUnitGroup_a69b7b3a2e6ca60c0c7d7177524cdb7cb}


return the average position of the objective 

\begin{DoxyReturn}{\-Returns}
the average position of the objective 
\end{DoxyReturn}
\hypertarget{classUnitGroup_a614e895da4a2e228ae2fec2fd9c598a7}{\index{\-Unit\-Group@{\-Unit\-Group}!only\-Nearest\-Base\-Location@{only\-Nearest\-Base\-Location}}
\index{only\-Nearest\-Base\-Location@{only\-Nearest\-Base\-Location}!UnitGroup@{\-Unit\-Group}}
\subsubsection[{only\-Nearest\-Base\-Location}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-Unit\-Group} {\bf \-Unit\-Group\-::only\-Nearest\-Base\-Location} (
\begin{DoxyParamCaption}
\item[{\-B\-W\-T\-A\-::\-Base\-Location $\ast$}]{location}
\end{DoxyParamCaption}
) const}}\label{classUnitGroup_a614e895da4a2e228ae2fec2fd9c598a7}
\hypertarget{classUnitGroup_a2b8e81a3f9efd61e5e09f841c94cd4d2}{\index{\-Unit\-Group@{\-Unit\-Group}!only\-Nearest\-Chokepoint@{only\-Nearest\-Chokepoint}}
\index{only\-Nearest\-Chokepoint@{only\-Nearest\-Chokepoint}!UnitGroup@{\-Unit\-Group}}
\subsubsection[{only\-Nearest\-Chokepoint}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-Unit\-Group} {\bf \-Unit\-Group\-::only\-Nearest\-Chokepoint} (
\begin{DoxyParamCaption}
\item[{\-B\-W\-T\-A\-::\-Chokepoint $\ast$}]{choke}
\end{DoxyParamCaption}
) const}}\label{classUnitGroup_a2b8e81a3f9efd61e5e09f841c94cd4d2}
\hypertarget{classUnitGroup_a41699cf50bcdac9d79e7afbdff59a91a}{\index{\-Unit\-Group@{\-Unit\-Group}!only\-Nearest\-Unwalkable\-Polygon@{only\-Nearest\-Unwalkable\-Polygon}}
\index{only\-Nearest\-Unwalkable\-Polygon@{only\-Nearest\-Unwalkable\-Polygon}!UnitGroup@{\-Unit\-Group}}
\subsubsection[{only\-Nearest\-Unwalkable\-Polygon}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-Unit\-Group} {\bf \-Unit\-Group\-::only\-Nearest\-Unwalkable\-Polygon} (
\begin{DoxyParamCaption}
\item[{\-B\-W\-T\-A\-::\-Polygon $\ast$}]{polygon}
\end{DoxyParamCaption}
) const}}\label{classUnitGroup_a41699cf50bcdac9d79e7afbdff59a91a}
\hypertarget{classUnitGroup_a5663dc94acf02ed61f208e0861f8fca8}{\index{\-Unit\-Group@{\-Unit\-Group}!operator()@{operator()}}
\index{operator()@{operator()}!UnitGroup@{\-Unit\-Group}}
\subsubsection[{operator()}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-Unit\-Group} \-Unit\-Group\-::operator() (
\begin{DoxyParamCaption}
\item[{int}]{f1}
\end{DoxyParamCaption}
) const}}\label{classUnitGroup_a5663dc94acf02ed61f208e0861f8fca8}


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


\hypertarget{classUnitGroup_aa2a225bf0623fd4f73069ebb44553c59}{\index{\-Unit\-Group@{\-Unit\-Group}!operator()@{operator()}}
\index{operator()@{operator()}!UnitGroup@{\-Unit\-Group}}
\subsubsection[{operator()}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-Unit\-Group} \-Unit\-Group\-::operator() (
\begin{DoxyParamCaption}
\item[{int}]{f1, }
\item[{int}]{f2}
\end{DoxyParamCaption}
) const}}\label{classUnitGroup_aa2a225bf0623fd4f73069ebb44553c59}


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


\hypertarget{classUnitGroup_a195b83061fc23e978c0bf8aa7e7829ab}{\index{\-Unit\-Group@{\-Unit\-Group}!operator()@{operator()}}
\index{operator()@{operator()}!UnitGroup@{\-Unit\-Group}}
\subsubsection[{operator()}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-Unit\-Group} \-Unit\-Group\-::operator() (
\begin{DoxyParamCaption}
\item[{int}]{f1, }
\item[{int}]{f2, }
\item[{int}]{f3}
\end{DoxyParamCaption}
) const}}\label{classUnitGroup_a195b83061fc23e978c0bf8aa7e7829ab}


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


\hypertarget{classUnitGroup_ac4b7daffc96179de660e7086ce8d28a4}{\index{\-Unit\-Group@{\-Unit\-Group}!operator()@{operator()}}
\index{operator()@{operator()}!UnitGroup@{\-Unit\-Group}}
\subsubsection[{operator()}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-Unit\-Group} \-Unit\-Group\-::operator() (
\begin{DoxyParamCaption}
\item[{int}]{f1, }
\item[{int}]{f2, }
\item[{int}]{f3, }
\item[{int}]{f4}
\end{DoxyParamCaption}
) const}}\label{classUnitGroup_ac4b7daffc96179de660e7086ce8d28a4}


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


\hypertarget{classUnitGroup_ac571e1447c065e9e6617b2cf580c5130}{\index{\-Unit\-Group@{\-Unit\-Group}!operator()@{operator()}}
\index{operator()@{operator()}!UnitGroup@{\-Unit\-Group}}
\subsubsection[{operator()}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-Unit\-Group} \-Unit\-Group\-::operator() (
\begin{DoxyParamCaption}
\item[{int}]{f1, }
\item[{int}]{f2, }
\item[{int}]{f3, }
\item[{int}]{f4, }
\item[{int}]{f5}
\end{DoxyParamCaption}
) const}}\label{classUnitGroup_ac571e1447c065e9e6617b2cf580c5130}


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


\hypertarget{classUnitGroup_a40d1abb4ee70f87496fd5d2064cc83ed}{\index{\-Unit\-Group@{\-Unit\-Group}!operator()@{operator()}}
\index{operator()@{operator()}!UnitGroup@{\-Unit\-Group}}
\subsubsection[{operator()}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-Unit\-Group} \-Unit\-Group\-::operator() (
\begin{DoxyParamCaption}
\item[{{\bf \-Fliter\-Attribute\-Scalar}}]{a, }
\item[{const char $\ast$}]{compare, }
\item[{double}]{value}
\end{DoxyParamCaption}
) const}}\label{classUnitGroup_a40d1abb4ee70f87496fd5d2064cc83ed}


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


\hypertarget{classUnitGroup_ae7f88ff1699ebedd1353dcc0af997710}{\index{\-Unit\-Group@{\-Unit\-Group}!operator()@{operator()}}
\index{operator()@{operator()}!UnitGroup@{\-Unit\-Group}}
\subsubsection[{operator()}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-Unit\-Group} \-Unit\-Group\-::operator() (
\begin{DoxyParamCaption}
\item[{{\bf \-Fliter\-Attribute\-Scalar}}]{a, }
\item[{const char $\ast$}]{compare, }
\item[{int}]{value}
\end{DoxyParamCaption}
) const}}\label{classUnitGroup_ae7f88ff1699ebedd1353dcc0af997710}


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


\hypertarget{classUnitGroup_a1dc7f8f259e98be75506123d8819f214}{\index{\-Unit\-Group@{\-Unit\-Group}!operator()@{operator()}}
\index{operator()@{operator()}!UnitGroup@{\-Unit\-Group}}
\subsubsection[{operator()}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-Unit\-Group} \-Unit\-Group\-::operator() (
\begin{DoxyParamCaption}
\item[{\-B\-W\-A\-P\-I\-::\-Player $\ast$}]{player}
\end{DoxyParamCaption}
) const}}\label{classUnitGroup_a1dc7f8f259e98be75506123d8819f214}
\hypertarget{classUnitGroup_a10006dd349ae0d3378d181e671d82483}{\index{\-Unit\-Group@{\-Unit\-Group}!operator()@{operator()}}
\index{operator()@{operator()}!UnitGroup@{\-Unit\-Group}}
\subsubsection[{operator()}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-Unit\-Group} \-Unit\-Group\-::operator() (
\begin{DoxyParamCaption}
\item[{{\bf \-Filter\-Attribute\-Unit}}]{a, }
\item[{\-B\-W\-A\-P\-I\-::\-Unit $\ast$}]{unit}
\end{DoxyParamCaption}
) const}}\label{classUnitGroup_a10006dd349ae0d3378d181e671d82483}


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


\hypertarget{classUnitGroup_aa824d15b1490ef59604edc33c1c536d9}{\index{\-Unit\-Group@{\-Unit\-Group}!operator()@{operator()}}
\index{operator()@{operator()}!UnitGroup@{\-Unit\-Group}}
\subsubsection[{operator()}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-Unit\-Group} \-Unit\-Group\-::operator() (
\begin{DoxyParamCaption}
\item[{{\bf \-Filter\-Attribute\-Type}}]{a, }
\item[{\-B\-W\-A\-P\-I\-::\-Unit\-Type}]{type}
\end{DoxyParamCaption}
) const}}\label{classUnitGroup_aa824d15b1490ef59604edc33c1c536d9}
\hypertarget{classUnitGroup_aaf9283b7f31764939b0dd2cbe3ab1dfd}{\index{\-Unit\-Group@{\-Unit\-Group}!operator()@{operator()}}
\index{operator()@{operator()}!UnitGroup@{\-Unit\-Group}}
\subsubsection[{operator()}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-Unit\-Group} \-Unit\-Group\-::operator() (
\begin{DoxyParamCaption}
\item[{{\bf \-Filter\-Attribute\-Type}}]{a, }
\item[{\-B\-W\-A\-P\-I\-::\-Tech\-Type}]{type}
\end{DoxyParamCaption}
) const}}\label{classUnitGroup_aaf9283b7f31764939b0dd2cbe3ab1dfd}
\hypertarget{classUnitGroup_a3da7c7df3139353b67f38d2daae99b7e}{\index{\-Unit\-Group@{\-Unit\-Group}!operator()@{operator()}}
\index{operator()@{operator()}!UnitGroup@{\-Unit\-Group}}
\subsubsection[{operator()}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-Unit\-Group} \-Unit\-Group\-::operator() (
\begin{DoxyParamCaption}
\item[{{\bf \-Filter\-Attribute\-Type}}]{a, }
\item[{\-B\-W\-A\-P\-I\-::\-Upgrade\-Type}]{type}
\end{DoxyParamCaption}
) const}}\label{classUnitGroup_a3da7c7df3139353b67f38d2daae99b7e}
\hypertarget{classUnitGroup_a20c60440f9633b10f215a7ae55ac186c}{\index{\-Unit\-Group@{\-Unit\-Group}!operator()@{operator()}}
\index{operator()@{operator()}!UnitGroup@{\-Unit\-Group}}
\subsubsection[{operator()}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-Unit\-Group} \-Unit\-Group\-::operator() (
\begin{DoxyParamCaption}
\item[{{\bf \-Filter\-Attribute\-Order}}]{a, }
\item[{\-B\-W\-A\-P\-I\-::\-Order}]{type}
\end{DoxyParamCaption}
) const}}\label{classUnitGroup_a20c60440f9633b10f215a7ae55ac186c}
\hypertarget{classUnitGroup_a7d967ba6aec031c9c799fdb010bdfa67}{\index{\-Unit\-Group@{\-Unit\-Group}!operator()@{operator()}}
\index{operator()@{operator()}!UnitGroup@{\-Unit\-Group}}
\subsubsection[{operator()}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-Unit\-Group} \-Unit\-Group\-::operator() (
\begin{DoxyParamCaption}
\item[{{\bf \-Filter\-Attribute\-Position}}]{a, }
\item[{\-B\-W\-A\-P\-I\-::\-Position}]{position}
\end{DoxyParamCaption}
) const}}\label{classUnitGroup_a7d967ba6aec031c9c799fdb010bdfa67}
\hypertarget{classUnitGroup_a91a5ef8aeab4698740cd364e505177d8}{\index{\-Unit\-Group@{\-Unit\-Group}!operator()@{operator()}}
\index{operator()@{operator()}!UnitGroup@{\-Unit\-Group}}
\subsubsection[{operator()}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-Unit\-Group} \-Unit\-Group\-::operator() (
\begin{DoxyParamCaption}
\item[{{\bf \-Filter\-Attribute\-Tile\-Position}}]{a, }
\item[{\-B\-W\-A\-P\-I\-::\-Tile\-Position}]{position}
\end{DoxyParamCaption}
) const}}\label{classUnitGroup_a91a5ef8aeab4698740cd364e505177d8}
\hypertarget{classUnitGroup_aafaaec074860abc90dc1083cba72a733}{\index{\-Unit\-Group@{\-Unit\-Group}!operator$\ast$@{operator$\ast$}}
\index{operator$\ast$@{operator$\ast$}!UnitGroup@{\-Unit\-Group}}
\subsubsection[{operator$\ast$}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-Unit\-Group} \-Unit\-Group\-::operator$\ast$ (
\begin{DoxyParamCaption}
\item[{const {\bf \-Unit\-Group} \&}]{other}
\end{DoxyParamCaption}
) const}}\label{classUnitGroup_aafaaec074860abc90dc1083cba72a733}
\hypertarget{classUnitGroup_a09f4bdc6bc4b2cd41565796bc93838e6}{\index{\-Unit\-Group@{\-Unit\-Group}!operator$\ast$=@{operator$\ast$=}}
\index{operator$\ast$=@{operator$\ast$=}!UnitGroup@{\-Unit\-Group}}
\subsubsection[{operator$\ast$=}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-Unit\-Group} \& \-Unit\-Group\-::operator$\ast$= (
\begin{DoxyParamCaption}
\item[{const {\bf \-Unit\-Group} \&}]{other}
\end{DoxyParamCaption}
)}}\label{classUnitGroup_a09f4bdc6bc4b2cd41565796bc93838e6}


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


\hypertarget{classUnitGroup_afb2a24e3a370874bbc3ee25e85f8ce46}{\index{\-Unit\-Group@{\-Unit\-Group}!operator+@{operator+}}
\index{operator+@{operator+}!UnitGroup@{\-Unit\-Group}}
\subsubsection[{operator+}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-Unit\-Group} \-Unit\-Group\-::operator+ (
\begin{DoxyParamCaption}
\item[{const {\bf \-Unit\-Group} \&}]{other}
\end{DoxyParamCaption}
) const}}\label{classUnitGroup_afb2a24e3a370874bbc3ee25e85f8ce46}
\hypertarget{classUnitGroup_ab4dbc52364ed827cb26a0677c005376b}{\index{\-Unit\-Group@{\-Unit\-Group}!operator+=@{operator+=}}
\index{operator+=@{operator+=}!UnitGroup@{\-Unit\-Group}}
\subsubsection[{operator+=}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-Unit\-Group} \& \-Unit\-Group\-::operator+= (
\begin{DoxyParamCaption}
\item[{const {\bf \-Unit\-Group} \&}]{other}
\end{DoxyParamCaption}
)}}\label{classUnitGroup_ab4dbc52364ed827cb26a0677c005376b}
\hypertarget{classUnitGroup_a9bff6675e03be2330398afa9f01ac86d}{\index{\-Unit\-Group@{\-Unit\-Group}!operator-\/@{operator-\/}}
\index{operator-\/@{operator-\/}!UnitGroup@{\-Unit\-Group}}
\subsubsection[{operator-\/}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-Unit\-Group} \-Unit\-Group\-::operator-\/ (
\begin{DoxyParamCaption}
\item[{const {\bf \-Unit\-Group} \&}]{other}
\end{DoxyParamCaption}
) const}}\label{classUnitGroup_a9bff6675e03be2330398afa9f01ac86d}
\hypertarget{classUnitGroup_a43f8be79896e154456663191fc3d6058}{\index{\-Unit\-Group@{\-Unit\-Group}!operator-\/=@{operator-\/=}}
\index{operator-\/=@{operator-\/=}!UnitGroup@{\-Unit\-Group}}
\subsubsection[{operator-\/=}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-Unit\-Group} \& \-Unit\-Group\-::operator-\/= (
\begin{DoxyParamCaption}
\item[{const {\bf \-Unit\-Group} \&}]{other}
\end{DoxyParamCaption}
)}}\label{classUnitGroup_a43f8be79896e154456663191fc3d6058}
\hypertarget{classUnitGroup_a1e978e5f514bf570832f58a83df9fd6f}{\index{\-Unit\-Group@{\-Unit\-Group}!operator$^\wedge$@{operator$^\wedge$}}
\index{operator$^\wedge$@{operator$^\wedge$}!UnitGroup@{\-Unit\-Group}}
\subsubsection[{operator$^\wedge$}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-Unit\-Group} \-Unit\-Group\-::operator$^\wedge$ (
\begin{DoxyParamCaption}
\item[{const {\bf \-Unit\-Group} \&}]{other}
\end{DoxyParamCaption}
) const}}\label{classUnitGroup_a1e978e5f514bf570832f58a83df9fd6f}
\hypertarget{classUnitGroup_a37f2ac7dd6d84e1e260e6697c8b4d0c1}{\index{\-Unit\-Group@{\-Unit\-Group}!operator$^\wedge$=@{operator$^\wedge$=}}
\index{operator$^\wedge$=@{operator$^\wedge$=}!UnitGroup@{\-Unit\-Group}}
\subsubsection[{operator$^\wedge$=}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-Unit\-Group} \& \-Unit\-Group\-::operator$^\wedge$= (
\begin{DoxyParamCaption}
\item[{const {\bf \-Unit\-Group} \&}]{other}
\end{DoxyParamCaption}
)}}\label{classUnitGroup_a37f2ac7dd6d84e1e260e6697c8b4d0c1}
\hypertarget{classUnitGroup_ac7816ce8c1e54e3478fdae14ecd10371}{\index{\-Unit\-Group@{\-Unit\-Group}!patrol@{patrol}}
\index{patrol@{patrol}!UnitGroup@{\-Unit\-Group}}
\subsubsection[{patrol}]{\setlength{\rightskip}{0pt plus 5cm}bool {\bf \-Unit\-Group\-::patrol} (
\begin{DoxyParamCaption}
\item[{\-B\-W\-A\-P\-I\-::\-Position}]{position}
\end{DoxyParamCaption}
) const}}\label{classUnitGroup_ac7816ce8c1e54e3478fdae14ecd10371}
\hypertarget{classUnitGroup_a671bb37135dca834179def3dd8b54cb8}{\index{\-Unit\-Group@{\-Unit\-Group}!patrol\-To@{patrol\-To}}
\index{patrol\-To@{patrol\-To}!UnitGroup@{\-Unit\-Group}}
\subsubsection[{patrol\-To}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf \-Unit\-Group\-::patrol\-To} (
\begin{DoxyParamCaption}
\item[{\-B\-W\-A\-P\-I\-::\-Position}]{pos}
\end{DoxyParamCaption}
)}}\label{classUnitGroup_a671bb37135dca834179def3dd8b54cb8}


patrol to the desired position 


\begin{DoxyParams}{\-Parameters}
{\em pos} & \-: the position to go to \\
\hline
\end{DoxyParams}
\hypertarget{classUnitGroup_af561db7a304e3fdd764995aa612d605b}{\index{\-Unit\-Group@{\-Unit\-Group}!pos@{pos}}
\index{pos@{pos}!UnitGroup@{\-Unit\-Group}}
\subsubsection[{pos}]{\setlength{\rightskip}{0pt plus 5cm}\-B\-W\-A\-P\-I\-::\-Position {\bf \-Unit\-Group\-::pos} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{classUnitGroup_af561db7a304e3fdd764995aa612d605b}


return the average position of the group 

\begin{DoxyReturn}{\-Returns}
the average position of the group 
\end{DoxyReturn}
\hypertarget{classUnitGroup_a73f23f879ea6f8b58caef51800c89ca2}{\index{\-Unit\-Group@{\-Unit\-Group}!repair@{repair}}
\index{repair@{repair}!UnitGroup@{\-Unit\-Group}}
\subsubsection[{repair}]{\setlength{\rightskip}{0pt plus 5cm}bool {\bf \-Unit\-Group\-::repair} (
\begin{DoxyParamCaption}
\item[{\-B\-W\-A\-P\-I\-::\-Unit $\ast$}]{target}
\end{DoxyParamCaption}
) const}}\label{classUnitGroup_a73f23f879ea6f8b58caef51800c89ca2}
\hypertarget{classUnitGroup_afd60c44b56ae669f6a7cb39c771bb609}{\index{\-Unit\-Group@{\-Unit\-Group}!requires@{requires}}
\index{requires@{requires}!UnitGroup@{\-Unit\-Group}}
\subsubsection[{requires}]{\setlength{\rightskip}{0pt plus 5cm}bool {\bf \-Unit\-Group\-::requires} (
\begin{DoxyParamCaption}
\item[{\-B\-W\-A\-P\-I\-::\-Unit $\ast$}]{unit}
\end{DoxyParamCaption}
) const}}\label{classUnitGroup_afd60c44b56ae669f6a7cb39c771bb609}


check if the current group requires the input type of unit 


\begin{DoxyParams}{\-Parameters}
{\em unit} & \-: the input unit \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{\-Returns}
true if the group requires the input unit 
\end{DoxyReturn}
\hypertarget{classUnitGroup_a849fd3dbe38e5e11a7532b80b32159a0}{\index{\-Unit\-Group@{\-Unit\-Group}!research@{research}}
\index{research@{research}!UnitGroup@{\-Unit\-Group}}
\subsubsection[{research}]{\setlength{\rightskip}{0pt plus 5cm}bool {\bf \-Unit\-Group\-::research} (
\begin{DoxyParamCaption}
\item[{\-B\-W\-A\-P\-I\-::\-Tech\-Type}]{tech}
\end{DoxyParamCaption}
) const}}\label{classUnitGroup_a849fd3dbe38e5e11a7532b80b32159a0}
\hypertarget{classUnitGroup_a0f0062b18c3e20d11381768cb539773e}{\index{\-Unit\-Group@{\-Unit\-Group}!right\-Click@{right\-Click}}
\index{right\-Click@{right\-Click}!UnitGroup@{\-Unit\-Group}}
\subsubsection[{right\-Click}]{\setlength{\rightskip}{0pt plus 5cm}bool {\bf \-Unit\-Group\-::right\-Click} (
\begin{DoxyParamCaption}
\item[{\-B\-W\-A\-P\-I\-::\-Position}]{position}
\end{DoxyParamCaption}
) const}}\label{classUnitGroup_a0f0062b18c3e20d11381768cb539773e}
\hypertarget{classUnitGroup_ae65502e810bd017aa3c5b94e433d7a60}{\index{\-Unit\-Group@{\-Unit\-Group}!right\-Click@{right\-Click}}
\index{right\-Click@{right\-Click}!UnitGroup@{\-Unit\-Group}}
\subsubsection[{right\-Click}]{\setlength{\rightskip}{0pt plus 5cm}bool {\bf \-Unit\-Group\-::right\-Click} (
\begin{DoxyParamCaption}
\item[{\-B\-W\-A\-P\-I\-::\-Unit $\ast$}]{target}
\end{DoxyParamCaption}
) const}}\label{classUnitGroup_ae65502e810bd017aa3c5b94e433d7a60}
\hypertarget{classUnitGroup_adb0f152292409b89a28ca0dfd76fa9fa}{\index{\-Unit\-Group@{\-Unit\-Group}!set\-Rally\-Point@{set\-Rally\-Point}}
\index{set\-Rally\-Point@{set\-Rally\-Point}!UnitGroup@{\-Unit\-Group}}
\subsubsection[{set\-Rally\-Point}]{\setlength{\rightskip}{0pt plus 5cm}bool {\bf \-Unit\-Group\-::set\-Rally\-Point} (
\begin{DoxyParamCaption}
\item[{\-B\-W\-A\-P\-I\-::\-Position}]{target}
\end{DoxyParamCaption}
) const}}\label{classUnitGroup_adb0f152292409b89a28ca0dfd76fa9fa}
\hypertarget{classUnitGroup_a900f4bef187a400f3969c8c2fc1ea2c0}{\index{\-Unit\-Group@{\-Unit\-Group}!set\-Rally\-Point@{set\-Rally\-Point}}
\index{set\-Rally\-Point@{set\-Rally\-Point}!UnitGroup@{\-Unit\-Group}}
\subsubsection[{set\-Rally\-Point}]{\setlength{\rightskip}{0pt plus 5cm}bool {\bf \-Unit\-Group\-::set\-Rally\-Point} (
\begin{DoxyParamCaption}
\item[{\-B\-W\-A\-P\-I\-::\-Unit $\ast$}]{target}
\end{DoxyParamCaption}
) const}}\label{classUnitGroup_a900f4bef187a400f3969c8c2fc1ea2c0}
\hypertarget{classUnitGroup_a23e885c07b8392d6f088cae92bb9d2f1}{\index{\-Unit\-Group@{\-Unit\-Group}!siege@{siege}}
\index{siege@{siege}!UnitGroup@{\-Unit\-Group}}
\subsubsection[{siege}]{\setlength{\rightskip}{0pt plus 5cm}bool {\bf \-Unit\-Group\-::siege} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{classUnitGroup_a23e885c07b8392d6f088cae92bb9d2f1}
\hypertarget{classUnitGroup_a01b5f3600f54029412069441215561fa}{\index{\-Unit\-Group@{\-Unit\-Group}!stop@{stop}}
\index{stop@{stop}!UnitGroup@{\-Unit\-Group}}
\subsubsection[{stop}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf \-Unit\-Group\-::stop} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{classUnitGroup_a01b5f3600f54029412069441215561fa}


stop the group 

\hypertarget{classUnitGroup_a19afdfea1c96a1c6d738a03c7a87d075}{\index{\-Unit\-Group@{\-Unit\-Group}!stop@{stop}}
\index{stop@{stop}!UnitGroup@{\-Unit\-Group}}
\subsubsection[{stop}]{\setlength{\rightskip}{0pt plus 5cm}bool {\bf \-Unit\-Group\-::stop} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{classUnitGroup_a19afdfea1c96a1c6d738a03c7a87d075}
\hypertarget{classUnitGroup_a451186b31667f88509705edeb9bffadf}{\index{\-Unit\-Group@{\-Unit\-Group}!train@{train}}
\index{train@{train}!UnitGroup@{\-Unit\-Group}}
\subsubsection[{train}]{\setlength{\rightskip}{0pt plus 5cm}bool {\bf \-Unit\-Group\-::train} (
\begin{DoxyParamCaption}
\item[{\-B\-W\-A\-P\-I\-::\-Unit\-Type}]{type}
\end{DoxyParamCaption}
) const}}\label{classUnitGroup_a451186b31667f88509705edeb9bffadf}
\hypertarget{classUnitGroup_a7016d9e4643e2abc131549e46b9a8feb}{\index{\-Unit\-Group@{\-Unit\-Group}!unburrow@{unburrow}}
\index{unburrow@{unburrow}!UnitGroup@{\-Unit\-Group}}
\subsubsection[{unburrow}]{\setlength{\rightskip}{0pt plus 5cm}bool {\bf \-Unit\-Group\-::unburrow} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{classUnitGroup_a7016d9e4643e2abc131549e46b9a8feb}
\hypertarget{classUnitGroup_a3ef31f9f35c18eebe09870acff161243}{\index{\-Unit\-Group@{\-Unit\-Group}!unload@{unload}}
\index{unload@{unload}!UnitGroup@{\-Unit\-Group}}
\subsubsection[{unload}]{\setlength{\rightskip}{0pt plus 5cm}bool {\bf \-Unit\-Group\-::unload} (
\begin{DoxyParamCaption}
\item[{\-B\-W\-A\-P\-I\-::\-Unit $\ast$}]{target}
\end{DoxyParamCaption}
) const}}\label{classUnitGroup_a3ef31f9f35c18eebe09870acff161243}
\hypertarget{classUnitGroup_ac12bf191694e809327a92f4ea44509f7}{\index{\-Unit\-Group@{\-Unit\-Group}!unload\-All@{unload\-All}}
\index{unload\-All@{unload\-All}!UnitGroup@{\-Unit\-Group}}
\subsubsection[{unload\-All}]{\setlength{\rightskip}{0pt plus 5cm}bool {\bf \-Unit\-Group\-::unload\-All} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{classUnitGroup_ac12bf191694e809327a92f4ea44509f7}
\hypertarget{classUnitGroup_ac388d10f5d8d431f57c1b0dce1065548}{\index{\-Unit\-Group@{\-Unit\-Group}!unload\-All@{unload\-All}}
\index{unload\-All@{unload\-All}!UnitGroup@{\-Unit\-Group}}
\subsubsection[{unload\-All}]{\setlength{\rightskip}{0pt plus 5cm}bool {\bf \-Unit\-Group\-::unload\-All} (
\begin{DoxyParamCaption}
\item[{\-B\-W\-A\-P\-I\-::\-Position}]{position}
\end{DoxyParamCaption}
) const}}\label{classUnitGroup_ac388d10f5d8d431f57c1b0dce1065548}
\hypertarget{classUnitGroup_ab0224d18b18a36992aa6156a5399fd22}{\index{\-Unit\-Group@{\-Unit\-Group}!unsiege@{unsiege}}
\index{unsiege@{unsiege}!UnitGroup@{\-Unit\-Group}}
\subsubsection[{unsiege}]{\setlength{\rightskip}{0pt plus 5cm}bool {\bf \-Unit\-Group\-::unsiege} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{classUnitGroup_ab0224d18b18a36992aa6156a5399fd22}
\hypertarget{classUnitGroup_a3fedbad5864d8828bd8ca9f5180504b8}{\index{\-Unit\-Group@{\-Unit\-Group}!update\-Avg\-Pos@{update\-Avg\-Pos}}
\index{update\-Avg\-Pos@{update\-Avg\-Pos}!UnitGroup@{\-Unit\-Group}}
\subsubsection[{update\-Avg\-Pos}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf \-Unit\-Group\-::update\-Avg\-Pos} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}protected\mbox{]}}}}\label{classUnitGroup_a3fedbad5864d8828bd8ca9f5180504b8}


update the average position of the group 

\hypertarget{classUnitGroup_a904d0b77c71069b02bb68731b6fd04b6}{\index{\-Unit\-Group@{\-Unit\-Group}!upgrade@{upgrade}}
\index{upgrade@{upgrade}!UnitGroup@{\-Unit\-Group}}
\subsubsection[{upgrade}]{\setlength{\rightskip}{0pt plus 5cm}bool {\bf \-Unit\-Group\-::upgrade} (
\begin{DoxyParamCaption}
\item[{\-B\-W\-A\-P\-I\-::\-Upgrade\-Type}]{upgrade}
\end{DoxyParamCaption}
) const}}\label{classUnitGroup_a904d0b77c71069b02bb68731b6fd04b6}
\hypertarget{classUnitGroup_afe7ef62614bb9d508f356f1a481ecd98}{\index{\-Unit\-Group@{\-Unit\-Group}!use\-Tech@{use\-Tech}}
\index{use\-Tech@{use\-Tech}!UnitGroup@{\-Unit\-Group}}
\subsubsection[{use\-Tech}]{\setlength{\rightskip}{0pt plus 5cm}bool {\bf \-Unit\-Group\-::use\-Tech} (
\begin{DoxyParamCaption}
\item[{\-B\-W\-A\-P\-I\-::\-Tech\-Type}]{tech}
\end{DoxyParamCaption}
) const}}\label{classUnitGroup_afe7ef62614bb9d508f356f1a481ecd98}
\hypertarget{classUnitGroup_aa05e66fe4750f6349c18057b83eeedac}{\index{\-Unit\-Group@{\-Unit\-Group}!use\-Tech@{use\-Tech}}
\index{use\-Tech@{use\-Tech}!UnitGroup@{\-Unit\-Group}}
\subsubsection[{use\-Tech}]{\setlength{\rightskip}{0pt plus 5cm}bool {\bf \-Unit\-Group\-::use\-Tech} (
\begin{DoxyParamCaption}
\item[{\-B\-W\-A\-P\-I\-::\-Tech\-Type}]{tech, }
\item[{\-B\-W\-A\-P\-I\-::\-Position}]{position}
\end{DoxyParamCaption}
) const}}\label{classUnitGroup_aa05e66fe4750f6349c18057b83eeedac}
\hypertarget{classUnitGroup_afebec15a8528b19e331dcd443f732428}{\index{\-Unit\-Group@{\-Unit\-Group}!use\-Tech@{use\-Tech}}
\index{use\-Tech@{use\-Tech}!UnitGroup@{\-Unit\-Group}}
\subsubsection[{use\-Tech}]{\setlength{\rightskip}{0pt plus 5cm}bool {\bf \-Unit\-Group\-::use\-Tech} (
\begin{DoxyParamCaption}
\item[{\-B\-W\-A\-P\-I\-::\-Tech\-Type}]{tech, }
\item[{\-B\-W\-A\-P\-I\-::\-Unit $\ast$}]{target}
\end{DoxyParamCaption}
) const}}\label{classUnitGroup_afebec15a8528b19e331dcd443f732428}


\subsection{\-Member \-Data \-Documentation}
\hypertarget{classUnitGroup_a979347f42ba547fb56ecdda39cdee15f}{\index{\-Unit\-Group@{\-Unit\-Group}!cur\-Pos\-\_\-@{cur\-Pos\-\_\-}}
\index{cur\-Pos\-\_\-@{cur\-Pos\-\_\-}!UnitGroup@{\-Unit\-Group}}
\subsubsection[{cur\-Pos\-\_\-}]{\setlength{\rightskip}{0pt plus 5cm}\-B\-W\-A\-P\-I\-::\-Position {\bf \-Unit\-Group\-::cur\-Pos\-\_\-}\hspace{0.3cm}{\ttfamily  \mbox{[}protected\mbox{]}}}}\label{classUnitGroup_a979347f42ba547fb56ecdda39cdee15f}
average postion of the group on the map \hypertarget{classUnitGroup_ac9eafddb8c89dab5c70d618a7f33074b}{\index{\-Unit\-Group@{\-Unit\-Group}!l\-Units\-\_\-@{l\-Units\-\_\-}}
\index{l\-Units\-\_\-@{l\-Units\-\_\-}!UnitGroup@{\-Unit\-Group}}
\subsubsection[{l\-Units\-\_\-}]{\setlength{\rightskip}{0pt plus 5cm}std\-::list$<$\-B\-W\-A\-P\-I\-::\-Unit$\ast$$>$ {\bf \-Unit\-Group\-::l\-Units\-\_\-}\hspace{0.3cm}{\ttfamily  \mbox{[}protected\mbox{]}}}}\label{classUnitGroup_ac9eafddb8c89dab5c70d618a7f33074b}
list of units contained in the group \hypertarget{classUnitGroup_ad8dc3f98f0ab9d1ed3283cf8b9c363e1}{\index{\-Unit\-Group@{\-Unit\-Group}!objective\-\_\-@{objective\-\_\-}}
\index{objective\-\_\-@{objective\-\_\-}!UnitGroup@{\-Unit\-Group}}
\subsubsection[{objective\-\_\-}]{\setlength{\rightskip}{0pt plus 5cm}{\bf group\-Objective\-\_\-t} {\bf \-Unit\-Group\-::objective\-\_\-}\hspace{0.3cm}{\ttfamily  \mbox{[}protected\mbox{]}}}}\label{classUnitGroup_ad8dc3f98f0ab9d1ed3283cf8b9c363e1}
objective of the group \hypertarget{classUnitGroup_acaea43bd1b53d34582dc58b9fdf80bca}{\index{\-Unit\-Group@{\-Unit\-Group}!obj\-Pos\-\_\-@{obj\-Pos\-\_\-}}
\index{obj\-Pos\-\_\-@{obj\-Pos\-\_\-}!UnitGroup@{\-Unit\-Group}}
\subsubsection[{obj\-Pos\-\_\-}]{\setlength{\rightskip}{0pt plus 5cm}\-B\-W\-A\-P\-I\-::\-Position {\bf \-Unit\-Group\-::obj\-Pos\-\_\-}\hspace{0.3cm}{\ttfamily  \mbox{[}protected\mbox{]}}}}\label{classUnitGroup_acaea43bd1b53d34582dc58b9fdf80bca}
average postion of the objective of the group \hypertarget{classUnitGroup_a2dc65ee9f3af43c08a48d35718410aa2}{\index{\-Unit\-Group@{\-Unit\-Group}!status\-\_\-@{status\-\_\-}}
\index{status\-\_\-@{status\-\_\-}!UnitGroup@{\-Unit\-Group}}
\subsubsection[{status\-\_\-}]{\setlength{\rightskip}{0pt plus 5cm}{\bf group\-Status\-\_\-t} {\bf \-Unit\-Group\-::status\-\_\-}\hspace{0.3cm}{\ttfamily  \mbox{[}protected\mbox{]}}}}\label{classUnitGroup_a2dc65ee9f3af43c08a48d35718410aa2}
status of the group 

\-The documentation for this class was generated from the following files\-:\begin{DoxyCompactItemize}
\item 
\-Snippy\-Hollo\-W-\/\-Broodwar\-Bot\-Q-\/f01ab56/src/\-Macro/\hyperlink{Macro_2UnitGroup_8h}{\-Unit\-Group.\-h}\item 
\-Snippy\-Hollo\-W-\/\-Broodwar\-Bot\-Q-\/f01ab56/src/\-Micro/\-Unit\-Manager/\hyperlink{Micro_2UnitManager_2UnitGroup_8h}{\-Unit\-Group.\-h}\item 
\-Snippy\-Hollo\-W-\/\-Broodwar\-Bot\-Q-\/f01ab56/src/\-Macro/\hyperlink{Macro_2UnitGroup_8cpp}{\-Unit\-Group.\-cpp}\item 
\-Snippy\-Hollo\-W-\/\-Broodwar\-Bot\-Q-\/f01ab56/src/\-Micro/\-Unit\-Manager/\hyperlink{Micro_2UnitManager_2UnitGroup_8cpp}{\-Unit\-Group.\-cpp}\end{DoxyCompactItemize}
