\hypertarget{classCombatCommander}{\section{\-Combat\-Commander \-Class \-Reference}
\label{classCombatCommander}\index{\-Combat\-Commander@{\-Combat\-Commander}}
}


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

\subsection*{\-Public \-Member \-Functions}
\begin{DoxyCompactItemize}
\item 
void \hyperlink{classCombatCommander_a8c1432f06c5a6ab035eba9c4eca33cd5}{update} (const \hyperlink{Common_8h_a8c0363f93a75c9c1af18ed69aed90ddf}{\-Unit\-Vector} \&all\-Combat\-Units)
\item 
\hyperlink{classCombatCommander_ae235c4f1f2cec0af6971aa14579ea2b4}{\-Combat\-Commander} ()
\item 
bool \hyperlink{classCombatCommander_a347dc4a2fe66ef5dd5638a29acb7bbba}{enemy\-In\-Our\-Base} ()
\item 
void \hyperlink{classCombatCommander_a31ddcdb1b7d06f4a80e4d8488205c371}{on\-Remove\-Unit} (\hyperlink{classBWAPI_1_1Unit}{\-B\-W\-A\-P\-I\-::\-Unit} $\ast$unit)
\item 
void \hyperlink{classCombatCommander_a4b923b9e6f55a54d47ca768ff8cd13b7}{on\-Unit\-Show} (\hyperlink{classBWAPI_1_1Unit}{\-B\-W\-A\-P\-I\-::\-Unit} $\ast$unit)
\item 
void \hyperlink{classCombatCommander_a23287c71a8013f763323da2befb95285}{on\-Unit\-Create} (\hyperlink{classBWAPI_1_1Unit}{\-B\-W\-A\-P\-I\-::\-Unit} $\ast$unit)
\item 
void \hyperlink{classCombatCommander_a3a124193bb7bb0ddbdbd48d7ab12fb14}{on\-Unit\-Hide} (\hyperlink{classBWAPI_1_1Unit}{\-B\-W\-A\-P\-I\-::\-Unit} $\ast$unit)
\item 
void \hyperlink{classCombatCommander_a920a18ed5417d1ac093be965f0ff693a}{on\-Unit\-Morph} (\hyperlink{classBWAPI_1_1Unit}{\-B\-W\-A\-P\-I\-::\-Unit} $\ast$unit)
\item 
void \hyperlink{classCombatCommander_add8a71d2ae4892b72ece86725cc4ae61}{on\-Unit\-Renegade} (\hyperlink{classBWAPI_1_1Unit}{\-B\-W\-A\-P\-I\-::\-Unit} $\ast$unit)
\item 
void \hyperlink{classCombatCommander_aeb9d4b6f1c1254e4586fba2ceeb7eef7}{handle\-Event} (int event\-Type)
\end{DoxyCompactItemize}


\subsection{\-Constructor \& \-Destructor \-Documentation}
\hypertarget{classCombatCommander_ae235c4f1f2cec0af6971aa14579ea2b4}{\index{\-Combat\-Commander@{\-Combat\-Commander}!\-Combat\-Commander@{\-Combat\-Commander}}
\index{\-Combat\-Commander@{\-Combat\-Commander}!CombatCommander@{\-Combat\-Commander}}
\subsubsection[{\-Combat\-Commander}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-Combat\-Commander\-::\-Combat\-Commander} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{classCombatCommander_ae235c4f1f2cec0af6971aa14579ea2b4}


\subsection{\-Member \-Function \-Documentation}
\hypertarget{classCombatCommander_a347dc4a2fe66ef5dd5638a29acb7bbba}{\index{\-Combat\-Commander@{\-Combat\-Commander}!enemy\-In\-Our\-Base@{enemy\-In\-Our\-Base}}
\index{enemy\-In\-Our\-Base@{enemy\-In\-Our\-Base}!CombatCommander@{\-Combat\-Commander}}
\subsubsection[{enemy\-In\-Our\-Base}]{\setlength{\rightskip}{0pt plus 5cm}bool {\bf \-Combat\-Commander\-::enemy\-In\-Our\-Base} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{classCombatCommander_a347dc4a2fe66ef5dd5638a29acb7bbba}
\hypertarget{classCombatCommander_aeb9d4b6f1c1254e4586fba2ceeb7eef7}{\index{\-Combat\-Commander@{\-Combat\-Commander}!handle\-Event@{handle\-Event}}
\index{handle\-Event@{handle\-Event}!CombatCommander@{\-Combat\-Commander}}
\subsubsection[{handle\-Event}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf \-Combat\-Commander\-::handle\-Event} (
\begin{DoxyParamCaption}
\item[{int}]{event\-Type}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}\label{classCombatCommander_aeb9d4b6f1c1254e4586fba2ceeb7eef7}
\hypertarget{classCombatCommander_a31ddcdb1b7d06f4a80e4d8488205c371}{\index{\-Combat\-Commander@{\-Combat\-Commander}!on\-Remove\-Unit@{on\-Remove\-Unit}}
\index{on\-Remove\-Unit@{on\-Remove\-Unit}!CombatCommander@{\-Combat\-Commander}}
\subsubsection[{on\-Remove\-Unit}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf \-Combat\-Commander\-::on\-Remove\-Unit} (
\begin{DoxyParamCaption}
\item[{{\bf \-B\-W\-A\-P\-I\-::\-Unit} $\ast$}]{unit}
\end{DoxyParamCaption}
)}}\label{classCombatCommander_a31ddcdb1b7d06f4a80e4d8488205c371}
\hypertarget{classCombatCommander_a23287c71a8013f763323da2befb95285}{\index{\-Combat\-Commander@{\-Combat\-Commander}!on\-Unit\-Create@{on\-Unit\-Create}}
\index{on\-Unit\-Create@{on\-Unit\-Create}!CombatCommander@{\-Combat\-Commander}}
\subsubsection[{on\-Unit\-Create}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf \-Combat\-Commander\-::on\-Unit\-Create} (
\begin{DoxyParamCaption}
\item[{{\bf \-B\-W\-A\-P\-I\-::\-Unit} $\ast$}]{unit}
\end{DoxyParamCaption}
)}}\label{classCombatCommander_a23287c71a8013f763323da2befb95285}
\hypertarget{classCombatCommander_a3a124193bb7bb0ddbdbd48d7ab12fb14}{\index{\-Combat\-Commander@{\-Combat\-Commander}!on\-Unit\-Hide@{on\-Unit\-Hide}}
\index{on\-Unit\-Hide@{on\-Unit\-Hide}!CombatCommander@{\-Combat\-Commander}}
\subsubsection[{on\-Unit\-Hide}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf \-Combat\-Commander\-::on\-Unit\-Hide} (
\begin{DoxyParamCaption}
\item[{{\bf \-B\-W\-A\-P\-I\-::\-Unit} $\ast$}]{unit}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}\label{classCombatCommander_a3a124193bb7bb0ddbdbd48d7ab12fb14}
\hypertarget{classCombatCommander_a920a18ed5417d1ac093be965f0ff693a}{\index{\-Combat\-Commander@{\-Combat\-Commander}!on\-Unit\-Morph@{on\-Unit\-Morph}}
\index{on\-Unit\-Morph@{on\-Unit\-Morph}!CombatCommander@{\-Combat\-Commander}}
\subsubsection[{on\-Unit\-Morph}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf \-Combat\-Commander\-::on\-Unit\-Morph} (
\begin{DoxyParamCaption}
\item[{{\bf \-B\-W\-A\-P\-I\-::\-Unit} $\ast$}]{unit}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}\label{classCombatCommander_a920a18ed5417d1ac093be965f0ff693a}
\hypertarget{classCombatCommander_add8a71d2ae4892b72ece86725cc4ae61}{\index{\-Combat\-Commander@{\-Combat\-Commander}!on\-Unit\-Renegade@{on\-Unit\-Renegade}}
\index{on\-Unit\-Renegade@{on\-Unit\-Renegade}!CombatCommander@{\-Combat\-Commander}}
\subsubsection[{on\-Unit\-Renegade}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf \-Combat\-Commander\-::on\-Unit\-Renegade} (
\begin{DoxyParamCaption}
\item[{{\bf \-B\-W\-A\-P\-I\-::\-Unit} $\ast$}]{unit}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}\label{classCombatCommander_add8a71d2ae4892b72ece86725cc4ae61}
\hypertarget{classCombatCommander_a4b923b9e6f55a54d47ca768ff8cd13b7}{\index{\-Combat\-Commander@{\-Combat\-Commander}!on\-Unit\-Show@{on\-Unit\-Show}}
\index{on\-Unit\-Show@{on\-Unit\-Show}!CombatCommander@{\-Combat\-Commander}}
\subsubsection[{on\-Unit\-Show}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf \-Combat\-Commander\-::on\-Unit\-Show} (
\begin{DoxyParamCaption}
\item[{{\bf \-B\-W\-A\-P\-I\-::\-Unit} $\ast$}]{unit}
\end{DoxyParamCaption}
)}}\label{classCombatCommander_a4b923b9e6f55a54d47ca768ff8cd13b7}
\hypertarget{classCombatCommander_a8c1432f06c5a6ab035eba9c4eca33cd5}{\index{\-Combat\-Commander@{\-Combat\-Commander}!update@{update}}
\index{update@{update}!CombatCommander@{\-Combat\-Commander}}
\subsubsection[{update}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf \-Combat\-Commander\-::update} (
\begin{DoxyParamCaption}
\item[{const {\bf \-Unit\-Vector} \&}]{all\-Combat\-Units}
\end{DoxyParamCaption}
)}}\label{classCombatCommander_a8c1432f06c5a6ab035eba9c4eca33cd5}


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




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




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