\hypertarget{classWarManager}{\section{\-War\-Manager \-Class \-Reference}
\label{classWarManager}\index{\-War\-Manager@{\-War\-Manager}}
}


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



\-Inheritance diagram for \-War\-Manager\-:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{classWarManager__inherit__graph}
\end{center}
\end{figure}


\-Collaboration diagram for \-War\-Manager\-:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=550pt]{classWarManager__coll__graph}
\end{center}
\end{figure}
\subsection*{\-Public \-Member \-Functions}
\begin{DoxyCompactItemize}
\item 
virtual void \hyperlink{classWarManager_ac5288ebaf0a016242b24447f2fe16a18}{on\-Offer} (std\-::set$<$ \-B\-W\-A\-P\-I\-::\-Unit $\ast$ $>$ units)
\item 
virtual void \hyperlink{classWarManager_a631dcc592432e88849c7b2a3c7a94896}{on\-Revoke} (\-B\-W\-A\-P\-I\-::\-Unit $\ast$unit, double bid)
\item 
virtual std\-::string \hyperlink{classWarManager_a67a4bf9dc01c44d0947614a05e489a53}{get\-Name} () const 
\item 
virtual void \hyperlink{classWarManager_ac89c9205278185790b364c160206fea9}{update} ()
\item 
void \hyperlink{classWarManager_a5f24314ba94095b02d02ba982842ccf8}{on\-Unit\-Create} (\-B\-W\-A\-P\-I\-::\-Unit $\ast$unit)
\item 
void \hyperlink{classWarManager_a3d77ea903e60ca313edc7975beae2762}{on\-Unit\-Destroy} (\-B\-W\-A\-P\-I\-::\-Unit $\ast$unit)
\item 
void \hyperlink{classWarManager_a9aa846555b4522fc7136ad69ab4b4f0f}{send\-Group\-To\-Attack} (\hyperlink{classUnitsGroup}{\-Units\-Group} $\ast$ug)
\item 
void \hyperlink{classWarManager_ac971d7d8acabd48c5b2792097116a544}{send\-Group\-To\-Defense} (\hyperlink{classUnitsGroup}{\-Units\-Group} $\ast$ug)
\item 
void \hyperlink{classWarManager_af2bd7feaa138511ce9d6e4150eea2fbb}{prompt\-Remove} (\hyperlink{classUnitsGroup}{\-Units\-Group} $\ast$ug)
\end{DoxyCompactItemize}
\subsection*{\-Public \-Attributes}
\begin{DoxyCompactItemize}
\item 
std\-::list$<$ \hyperlink{classUnitsGroup}{\-Units\-Group} $\ast$ $>$ \hyperlink{classWarManager_a706351bc242d5541dc557b8b3444b958}{units\-Groups}
\end{DoxyCompactItemize}
\subsection*{\-Friends}
\begin{DoxyCompactItemize}
\item 
class \hyperlink{classWarManager_aff1df6ba1bfb5b03ee623c0b38cb24bf}{\-C\-Singleton$<$ War\-Manager $>$}
\end{DoxyCompactItemize}


\subsection{\-Member \-Function \-Documentation}
\hypertarget{classWarManager_a67a4bf9dc01c44d0947614a05e489a53}{\index{\-War\-Manager@{\-War\-Manager}!get\-Name@{get\-Name}}
\index{get\-Name@{get\-Name}!WarManager@{\-War\-Manager}}
\subsubsection[{get\-Name}]{\setlength{\rightskip}{0pt plus 5cm}std\-::string {\bf \-War\-Manager\-::get\-Name} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}\label{classWarManager_a67a4bf9dc01c44d0947614a05e489a53}


\-Implements \hyperlink{classArbitrator_1_1Controller_a45cc1be65d1072e55573f730f74ac57c}{\-Arbitrator\-::\-Controller$<$ B\-W\-A\-P\-I\-::\-Unit $\ast$, double $>$}.

\hypertarget{classWarManager_ac5288ebaf0a016242b24447f2fe16a18}{\index{\-War\-Manager@{\-War\-Manager}!on\-Offer@{on\-Offer}}
\index{on\-Offer@{on\-Offer}!WarManager@{\-War\-Manager}}
\subsubsection[{on\-Offer}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf \-War\-Manager\-::on\-Offer} (
\begin{DoxyParamCaption}
\item[{std\-::set$<$ \-B\-W\-A\-P\-I\-::\-Unit $\ast$ $>$}]{units}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}\label{classWarManager_ac5288ebaf0a016242b24447f2fe16a18}


\-Implements \hyperlink{classArbitrator_1_1Controller_ad2281de6abeee9baa641e32d9c679d75}{\-Arbitrator\-::\-Controller$<$ B\-W\-A\-P\-I\-::\-Unit $\ast$, double $>$}.



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


\hypertarget{classWarManager_a631dcc592432e88849c7b2a3c7a94896}{\index{\-War\-Manager@{\-War\-Manager}!on\-Revoke@{on\-Revoke}}
\index{on\-Revoke@{on\-Revoke}!WarManager@{\-War\-Manager}}
\subsubsection[{on\-Revoke}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf \-War\-Manager\-::on\-Revoke} (
\begin{DoxyParamCaption}
\item[{\-B\-W\-A\-P\-I\-::\-Unit $\ast$}]{unit, }
\item[{double}]{bid}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}\label{classWarManager_a631dcc592432e88849c7b2a3c7a94896}


\-Implements \hyperlink{classArbitrator_1_1Controller_ab501229508dba3084da78d656f40e174}{\-Arbitrator\-::\-Controller$<$ B\-W\-A\-P\-I\-::\-Unit $\ast$, double $>$}.



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


\hypertarget{classWarManager_a5f24314ba94095b02d02ba982842ccf8}{\index{\-War\-Manager@{\-War\-Manager}!on\-Unit\-Create@{on\-Unit\-Create}}
\index{on\-Unit\-Create@{on\-Unit\-Create}!WarManager@{\-War\-Manager}}
\subsubsection[{on\-Unit\-Create}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf \-War\-Manager\-::on\-Unit\-Create} (
\begin{DoxyParamCaption}
\item[{\-B\-W\-A\-P\-I\-::\-Unit $\ast$}]{unit}
\end{DoxyParamCaption}
)}}\label{classWarManager_a5f24314ba94095b02d02ba982842ccf8}


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


\hypertarget{classWarManager_a3d77ea903e60ca313edc7975beae2762}{\index{\-War\-Manager@{\-War\-Manager}!on\-Unit\-Destroy@{on\-Unit\-Destroy}}
\index{on\-Unit\-Destroy@{on\-Unit\-Destroy}!WarManager@{\-War\-Manager}}
\subsubsection[{on\-Unit\-Destroy}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf \-War\-Manager\-::on\-Unit\-Destroy} (
\begin{DoxyParamCaption}
\item[{\-B\-W\-A\-P\-I\-::\-Unit $\ast$}]{unit}
\end{DoxyParamCaption}
)}}\label{classWarManager_a3d77ea903e60ca313edc7975beae2762}


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


\hypertarget{classWarManager_af2bd7feaa138511ce9d6e4150eea2fbb}{\index{\-War\-Manager@{\-War\-Manager}!prompt\-Remove@{prompt\-Remove}}
\index{prompt\-Remove@{prompt\-Remove}!WarManager@{\-War\-Manager}}
\subsubsection[{prompt\-Remove}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf \-War\-Manager\-::prompt\-Remove} (
\begin{DoxyParamCaption}
\item[{{\bf \-Units\-Group} $\ast$}]{ug}
\end{DoxyParamCaption}
)}}\label{classWarManager_af2bd7feaa138511ce9d6e4150eea2fbb}
\hypertarget{classWarManager_a9aa846555b4522fc7136ad69ab4b4f0f}{\index{\-War\-Manager@{\-War\-Manager}!send\-Group\-To\-Attack@{send\-Group\-To\-Attack}}
\index{send\-Group\-To\-Attack@{send\-Group\-To\-Attack}!WarManager@{\-War\-Manager}}
\subsubsection[{send\-Group\-To\-Attack}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf \-War\-Manager\-::send\-Group\-To\-Attack} (
\begin{DoxyParamCaption}
\item[{{\bf \-Units\-Group} $\ast$}]{ug}
\end{DoxyParamCaption}
)}}\label{classWarManager_a9aa846555b4522fc7136ad69ab4b4f0f}


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


\hypertarget{classWarManager_ac971d7d8acabd48c5b2792097116a544}{\index{\-War\-Manager@{\-War\-Manager}!send\-Group\-To\-Defense@{send\-Group\-To\-Defense}}
\index{send\-Group\-To\-Defense@{send\-Group\-To\-Defense}!WarManager@{\-War\-Manager}}
\subsubsection[{send\-Group\-To\-Defense}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf \-War\-Manager\-::send\-Group\-To\-Defense} (
\begin{DoxyParamCaption}
\item[{{\bf \-Units\-Group} $\ast$}]{ug}
\end{DoxyParamCaption}
)}}\label{classWarManager_ac971d7d8acabd48c5b2792097116a544}


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


\hypertarget{classWarManager_ac89c9205278185790b364c160206fea9}{\index{\-War\-Manager@{\-War\-Manager}!update@{update}}
\index{update@{update}!WarManager@{\-War\-Manager}}
\subsubsection[{update}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf \-War\-Manager\-::update} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}\label{classWarManager_ac89c9205278185790b364c160206fea9}


\-Implements \hyperlink{classArbitrator_1_1Controller_a378f0df1a79b5287ee41026d9c77f866}{\-Arbitrator\-::\-Controller$<$ B\-W\-A\-P\-I\-::\-Unit $\ast$, double $>$}.



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




\subsection{\-Friends \-And \-Related \-Function \-Documentation}
\hypertarget{classWarManager_aff1df6ba1bfb5b03ee623c0b38cb24bf}{\index{\-War\-Manager@{\-War\-Manager}!\-C\-Singleton$<$ War\-Manager $>$@{\-C\-Singleton$<$ War\-Manager $>$}}
\index{\-C\-Singleton$<$ War\-Manager $>$@{\-C\-Singleton$<$ War\-Manager $>$}!WarManager@{\-War\-Manager}}
\subsubsection[{\-C\-Singleton$<$ War\-Manager $>$}]{\setlength{\rightskip}{0pt plus 5cm}friend class {\bf \-C\-Singleton}$<$ {\bf \-War\-Manager} $>$\hspace{0.3cm}{\ttfamily  \mbox{[}friend\mbox{]}}}}\label{classWarManager_aff1df6ba1bfb5b03ee623c0b38cb24bf}


\subsection{\-Member \-Data \-Documentation}
\hypertarget{classWarManager_a706351bc242d5541dc557b8b3444b958}{\index{\-War\-Manager@{\-War\-Manager}!units\-Groups@{units\-Groups}}
\index{units\-Groups@{units\-Groups}!WarManager@{\-War\-Manager}}
\subsubsection[{units\-Groups}]{\setlength{\rightskip}{0pt plus 5cm}std\-::list$<${\bf \-Units\-Group}$\ast$$>$ {\bf \-War\-Manager\-::units\-Groups}}}\label{classWarManager_a706351bc242d5541dc557b8b3444b958}


\-The documentation for this class was generated from the following files\-:\begin{DoxyCompactItemize}
\item 
\-Snippy\-Hollo\-W-\/\-Broodwar\-Bot\-Q-\/f01ab56/src/\-Micro/\hyperlink{WarManager_8h}{\-War\-Manager.\-h}\item 
\-Snippy\-Hollo\-W-\/\-Broodwar\-Bot\-Q-\/f01ab56/src/\-Micro/\hyperlink{WarManager_8cpp}{\-War\-Manager.\-cpp}\end{DoxyCompactItemize}
