\hypertarget{classSquad}{\section{\-Squad \-Class \-Reference}
\label{classSquad}\index{\-Squad@{\-Squad}}
}


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



\-Collaboration diagram for \-Squad\-:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=550pt]{classSquad__coll__graph}
\end{center}
\end{figure}
\subsection*{\-Public \-Member \-Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{classSquad_aa0f9e600e9ad7b62dbea24a92b2b8db1}{\-Squad} (const \hyperlink{Common_8h_a8c0363f93a75c9c1af18ed69aed90ddf}{\-Unit\-Vector} \&units, \hyperlink{classSquadOrder}{\-Squad\-Order} \hyperlink{classSquad_a40bab34e96397ef90d86cd7fe9e80c2b}{order})
\item 
\hyperlink{classSquad_a0e37f7593f55bff89220ec031d19f5f0}{\-Squad} ()
\item 
\hyperlink{classSquad_a691e06cc0bdd9ca4605f9f2e7b3c1987}{$\sim$\-Squad} ()
\item 
\hyperlink{classBWAPI_1_1Position}{\-B\-W\-A\-P\-I\-::\-Position} \hyperlink{classSquad_a617c6f7aac91c4ace65724ec406ecd1f}{calc\-Center} ()
\item 
\hyperlink{classBWAPI_1_1Position}{\-B\-W\-A\-P\-I\-::\-Position} \hyperlink{classSquad_ada045a7f8297a9b0bc4ceb24094496dd}{calc\-Regroup\-Position} ()
\item 
void \hyperlink{classSquad_a11f576a3d46fce10b6508a1fbaea9f1f}{clear} ()
\item 
void \hyperlink{classSquad_abf33e7b8e8c597d7a2b6b8ceac368683}{update} ()
\item 
void \hyperlink{classSquad_a530ddbe63659841a4f0c6ab4b277b1b5}{set\-Units} (const \hyperlink{Common_8h_a8c0363f93a75c9c1af18ed69aed90ddf}{\-Unit\-Vector} \&u)
\item 
\hyperlink{Common_8h_a8c0363f93a75c9c1af18ed69aed90ddf}{\-Unit\-Vector} \& \hyperlink{classSquad_a290ac022a03885859b36c88b788841a3}{get\-Units} ()
\item 
\hyperlink{classSquadOrder}{\-Squad\-Order} \& \hyperlink{classSquad_a669adea8a4bc3a011ea20b6fd3abccd5}{get\-Squad\-Order} ()
\item 
bool \hyperlink{classSquad_a883c36540ccfabf42342c24c9b7feff2}{unit\-Near\-Enemy} (\hyperlink{classBWAPI_1_1Unit}{\-B\-W\-A\-P\-I\-::\-Unit} $\ast$unit)
\item 
bool \hyperlink{classSquad_ac1ce890a1d4ea373d8f34c99213a8316}{needs\-To\-Regroup} ()
\item 
\hyperlink{classBWAPI_1_1Unit}{\-B\-W\-A\-P\-I\-::\-Unit} $\ast$ \hyperlink{classSquad_ad8c94d75cf0d24a8aa210c1632d3bafb}{get\-Regroup\-Unit} ()
\item 
int \hyperlink{classSquad_afc95fe59f1a20bbcb52e5e15253aeb76}{squad\-Units\-Near} (\hyperlink{classBWAPI_1_1Position}{\-B\-W\-A\-P\-I\-::\-Position} p)
\item 
\hyperlink{classBWAPI_1_1Unit}{\-B\-W\-A\-P\-I\-::\-Unit} $\ast$ \hyperlink{classSquad_af7ce626b38d0e5dc82cbc0d9d3247f23}{unit\-Closest\-To\-Enemy} ()
\item 
void \hyperlink{classSquad_a3829c509d7b2a3178d89a39df78a74a5}{set\-Squad\-Order} (\hyperlink{classSquadOrder}{\-Squad\-Order} \&so)
\end{DoxyCompactItemize}
\subsection*{\-Public \-Attributes}
\begin{DoxyCompactItemize}
\item 
int \hyperlink{classSquad_aa63ee6d967faccef628f46d3d693e459}{last\-Regroup}
\item 
\hyperlink{classSquadOrder}{\-Squad\-Order} \hyperlink{classSquad_a40bab34e96397ef90d86cd7fe9e80c2b}{order}
\item 
\hyperlink{classZealotManager}{\-Zealot\-Manager} \hyperlink{classSquad_a351acc10647fe6dd78c0a8c5f3689df5}{zealot\-Manager}
\item 
\hyperlink{classDarkTemplarManager}{\-Dark\-Templar\-Manager} \hyperlink{classSquad_a9fa14099a28a75d355abf614e2553fe1}{dark\-Templar\-Manager}
\item 
\hyperlink{classDragoonManager}{\-Dragoon\-Manager} \hyperlink{classSquad_a3d7cef0ae7ef93b8d3bd67fea7c9b21b}{dragoon\-Manager}
\item 
\hyperlink{classObserverManager}{\-Observer\-Manager} \hyperlink{classSquad_aedcb26a08420db94519a5d07ead7232d}{observer\-Manager}
\end{DoxyCompactItemize}


\subsection{\-Constructor \& \-Destructor \-Documentation}
\hypertarget{classSquad_aa0f9e600e9ad7b62dbea24a92b2b8db1}{\index{\-Squad@{\-Squad}!\-Squad@{\-Squad}}
\index{\-Squad@{\-Squad}!Squad@{\-Squad}}
\subsubsection[{\-Squad}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-Squad\-::\-Squad} (
\begin{DoxyParamCaption}
\item[{const {\bf \-Unit\-Vector} \&}]{units, }
\item[{{\bf \-Squad\-Order}}]{order}
\end{DoxyParamCaption}
)}}\label{classSquad_aa0f9e600e9ad7b62dbea24a92b2b8db1}
\hypertarget{classSquad_a0e37f7593f55bff89220ec031d19f5f0}{\index{\-Squad@{\-Squad}!\-Squad@{\-Squad}}
\index{\-Squad@{\-Squad}!Squad@{\-Squad}}
\subsubsection[{\-Squad}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-Squad\-::\-Squad} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}\label{classSquad_a0e37f7593f55bff89220ec031d19f5f0}
\hypertarget{classSquad_a691e06cc0bdd9ca4605f9f2e7b3c1987}{\index{\-Squad@{\-Squad}!$\sim$\-Squad@{$\sim$\-Squad}}
\index{$\sim$\-Squad@{$\sim$\-Squad}!Squad@{\-Squad}}
\subsubsection[{$\sim$\-Squad}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-Squad\-::$\sim$\-Squad} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}\label{classSquad_a691e06cc0bdd9ca4605f9f2e7b3c1987}


\subsection{\-Member \-Function \-Documentation}
\hypertarget{classSquad_a617c6f7aac91c4ace65724ec406ecd1f}{\index{\-Squad@{\-Squad}!calc\-Center@{calc\-Center}}
\index{calc\-Center@{calc\-Center}!Squad@{\-Squad}}
\subsubsection[{calc\-Center}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-B\-W\-A\-P\-I\-::\-Position} {\bf \-Squad\-::calc\-Center} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{classSquad_a617c6f7aac91c4ace65724ec406ecd1f}


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


\hypertarget{classSquad_ada045a7f8297a9b0bc4ceb24094496dd}{\index{\-Squad@{\-Squad}!calc\-Regroup\-Position@{calc\-Regroup\-Position}}
\index{calc\-Regroup\-Position@{calc\-Regroup\-Position}!Squad@{\-Squad}}
\subsubsection[{calc\-Regroup\-Position}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-B\-W\-A\-P\-I\-::\-Position} {\bf \-Squad\-::calc\-Regroup\-Position} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{classSquad_ada045a7f8297a9b0bc4ceb24094496dd}


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




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


\hypertarget{classSquad_a11f576a3d46fce10b6508a1fbaea9f1f}{\index{\-Squad@{\-Squad}!clear@{clear}}
\index{clear@{clear}!Squad@{\-Squad}}
\subsubsection[{clear}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf \-Squad\-::clear} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{classSquad_a11f576a3d46fce10b6508a1fbaea9f1f}


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


\hypertarget{classSquad_ad8c94d75cf0d24a8aa210c1632d3bafb}{\index{\-Squad@{\-Squad}!get\-Regroup\-Unit@{get\-Regroup\-Unit}}
\index{get\-Regroup\-Unit@{get\-Regroup\-Unit}!Squad@{\-Squad}}
\subsubsection[{get\-Regroup\-Unit}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-B\-W\-A\-P\-I\-::\-Unit}$\ast$ {\bf \-Squad\-::get\-Regroup\-Unit} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{classSquad_ad8c94d75cf0d24a8aa210c1632d3bafb}
\hypertarget{classSquad_a669adea8a4bc3a011ea20b6fd3abccd5}{\index{\-Squad@{\-Squad}!get\-Squad\-Order@{get\-Squad\-Order}}
\index{get\-Squad\-Order@{get\-Squad\-Order}!Squad@{\-Squad}}
\subsubsection[{get\-Squad\-Order}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-Squad\-Order}\& {\bf \-Squad\-::get\-Squad\-Order} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}\label{classSquad_a669adea8a4bc3a011ea20b6fd3abccd5}


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


\hypertarget{classSquad_a290ac022a03885859b36c88b788841a3}{\index{\-Squad@{\-Squad}!get\-Units@{get\-Units}}
\index{get\-Units@{get\-Units}!Squad@{\-Squad}}
\subsubsection[{get\-Units}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-Unit\-Vector}\& {\bf \-Squad\-::get\-Units} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}\label{classSquad_a290ac022a03885859b36c88b788841a3}


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


\hypertarget{classSquad_ac1ce890a1d4ea373d8f34c99213a8316}{\index{\-Squad@{\-Squad}!needs\-To\-Regroup@{needs\-To\-Regroup}}
\index{needs\-To\-Regroup@{needs\-To\-Regroup}!Squad@{\-Squad}}
\subsubsection[{needs\-To\-Regroup}]{\setlength{\rightskip}{0pt plus 5cm}bool {\bf \-Squad\-::needs\-To\-Regroup} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{classSquad_ac1ce890a1d4ea373d8f34c99213a8316}


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




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


\hypertarget{classSquad_a3829c509d7b2a3178d89a39df78a74a5}{\index{\-Squad@{\-Squad}!set\-Squad\-Order@{set\-Squad\-Order}}
\index{set\-Squad\-Order@{set\-Squad\-Order}!Squad@{\-Squad}}
\subsubsection[{set\-Squad\-Order}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf \-Squad\-::set\-Squad\-Order} (
\begin{DoxyParamCaption}
\item[{{\bf \-Squad\-Order} \&}]{so}
\end{DoxyParamCaption}
)}}\label{classSquad_a3829c509d7b2a3178d89a39df78a74a5}


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


\hypertarget{classSquad_a530ddbe63659841a4f0c6ab4b277b1b5}{\index{\-Squad@{\-Squad}!set\-Units@{set\-Units}}
\index{set\-Units@{set\-Units}!Squad@{\-Squad}}
\subsubsection[{set\-Units}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf \-Squad\-::set\-Units} (
\begin{DoxyParamCaption}
\item[{const {\bf \-Unit\-Vector} \&}]{u}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}\label{classSquad_a530ddbe63659841a4f0c6ab4b277b1b5}
\hypertarget{classSquad_afc95fe59f1a20bbcb52e5e15253aeb76}{\index{\-Squad@{\-Squad}!squad\-Units\-Near@{squad\-Units\-Near}}
\index{squad\-Units\-Near@{squad\-Units\-Near}!Squad@{\-Squad}}
\subsubsection[{squad\-Units\-Near}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf \-Squad\-::squad\-Units\-Near} (
\begin{DoxyParamCaption}
\item[{{\bf \-B\-W\-A\-P\-I\-::\-Position}}]{p}
\end{DoxyParamCaption}
)}}\label{classSquad_afc95fe59f1a20bbcb52e5e15253aeb76}


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




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


\hypertarget{classSquad_af7ce626b38d0e5dc82cbc0d9d3247f23}{\index{\-Squad@{\-Squad}!unit\-Closest\-To\-Enemy@{unit\-Closest\-To\-Enemy}}
\index{unit\-Closest\-To\-Enemy@{unit\-Closest\-To\-Enemy}!Squad@{\-Squad}}
\subsubsection[{unit\-Closest\-To\-Enemy}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-B\-W\-A\-P\-I\-::\-Unit} $\ast$ {\bf \-Squad\-::unit\-Closest\-To\-Enemy} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{classSquad_af7ce626b38d0e5dc82cbc0d9d3247f23}


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




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


\hypertarget{classSquad_a883c36540ccfabf42342c24c9b7feff2}{\index{\-Squad@{\-Squad}!unit\-Near\-Enemy@{unit\-Near\-Enemy}}
\index{unit\-Near\-Enemy@{unit\-Near\-Enemy}!Squad@{\-Squad}}
\subsubsection[{unit\-Near\-Enemy}]{\setlength{\rightskip}{0pt plus 5cm}bool {\bf \-Squad\-::unit\-Near\-Enemy} (
\begin{DoxyParamCaption}
\item[{{\bf \-B\-W\-A\-P\-I\-::\-Unit} $\ast$}]{unit}
\end{DoxyParamCaption}
)}}\label{classSquad_a883c36540ccfabf42342c24c9b7feff2}


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


\hypertarget{classSquad_abf33e7b8e8c597d7a2b6b8ceac368683}{\index{\-Squad@{\-Squad}!update@{update}}
\index{update@{update}!Squad@{\-Squad}}
\subsubsection[{update}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf \-Squad\-::update} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{classSquad_abf33e7b8e8c597d7a2b6b8ceac368683}


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




\subsection{\-Member \-Data \-Documentation}
\hypertarget{classSquad_a9fa14099a28a75d355abf614e2553fe1}{\index{\-Squad@{\-Squad}!dark\-Templar\-Manager@{dark\-Templar\-Manager}}
\index{dark\-Templar\-Manager@{dark\-Templar\-Manager}!Squad@{\-Squad}}
\subsubsection[{dark\-Templar\-Manager}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-Dark\-Templar\-Manager} {\bf \-Squad\-::dark\-Templar\-Manager}}}\label{classSquad_a9fa14099a28a75d355abf614e2553fe1}
\hypertarget{classSquad_a3d7cef0ae7ef93b8d3bd67fea7c9b21b}{\index{\-Squad@{\-Squad}!dragoon\-Manager@{dragoon\-Manager}}
\index{dragoon\-Manager@{dragoon\-Manager}!Squad@{\-Squad}}
\subsubsection[{dragoon\-Manager}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-Dragoon\-Manager} {\bf \-Squad\-::dragoon\-Manager}}}\label{classSquad_a3d7cef0ae7ef93b8d3bd67fea7c9b21b}
\hypertarget{classSquad_aa63ee6d967faccef628f46d3d693e459}{\index{\-Squad@{\-Squad}!last\-Regroup@{last\-Regroup}}
\index{last\-Regroup@{last\-Regroup}!Squad@{\-Squad}}
\subsubsection[{last\-Regroup}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf \-Squad\-::last\-Regroup}}}\label{classSquad_aa63ee6d967faccef628f46d3d693e459}
\hypertarget{classSquad_aedcb26a08420db94519a5d07ead7232d}{\index{\-Squad@{\-Squad}!observer\-Manager@{observer\-Manager}}
\index{observer\-Manager@{observer\-Manager}!Squad@{\-Squad}}
\subsubsection[{observer\-Manager}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-Observer\-Manager} {\bf \-Squad\-::observer\-Manager}}}\label{classSquad_aedcb26a08420db94519a5d07ead7232d}
\hypertarget{classSquad_a40bab34e96397ef90d86cd7fe9e80c2b}{\index{\-Squad@{\-Squad}!order@{order}}
\index{order@{order}!Squad@{\-Squad}}
\subsubsection[{order}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-Squad\-Order} {\bf \-Squad\-::order}}}\label{classSquad_a40bab34e96397ef90d86cd7fe9e80c2b}
\hypertarget{classSquad_a351acc10647fe6dd78c0a8c5f3689df5}{\index{\-Squad@{\-Squad}!zealot\-Manager@{zealot\-Manager}}
\index{zealot\-Manager@{zealot\-Manager}!Squad@{\-Squad}}
\subsubsection[{zealot\-Manager}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-Zealot\-Manager} {\bf \-Squad\-::zealot\-Manager}}}\label{classSquad_a351acc10647fe6dd78c0a8c5f3689df5}


\-The documentation for this class was generated from the following files\-:\begin{DoxyCompactItemize}
\item 
\-U\-Alberta\-Bot\-\_\-src/\-Projects/\-U\-Alberta\-Bot/\-Source/\hyperlink{Squad_8h}{\-Squad.\-h}\item 
\-U\-Alberta\-Bot\-\_\-src/\-Projects/\-U\-Alberta\-Bot/\-Source/\hyperlink{Squad_8cpp}{\-Squad.\-cpp}\end{DoxyCompactItemize}
