\hypertarget{classBuildingManager}{\section{\-Building\-Manager \-Class \-Reference}
\label{classBuildingManager}\index{\-Building\-Manager@{\-Building\-Manager}}
}


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

\subsection*{\-Public \-Member \-Functions}
\begin{DoxyCompactItemize}
\item 
void \hyperlink{classBuildingManager_a69981eb65d3d495910f9ca8900bb73ae}{update} ()
\item 
void \hyperlink{classBuildingManager_a27db2612f7219de9498b99ea98779041}{on\-Unit\-Morph} (\hyperlink{classBWAPI_1_1Unit}{\-B\-W\-A\-P\-I\-::\-Unit} $\ast$unit)
\item 
void \hyperlink{classBuildingManager_a55644e36c765f9cba6ee1e46faa7d3d7}{on\-Unit\-Destroy} (\hyperlink{classBWAPI_1_1Unit}{\-B\-W\-A\-P\-I\-::\-Unit} $\ast$unit)
\item 
void \hyperlink{classBuildingManager_aff514baefb5b3aa3945859e16884f948}{add\-Building\-Task} (\hyperlink{classBWAPI_1_1UnitType}{\-B\-W\-A\-P\-I\-::\-Unit\-Type} type, \hyperlink{classBWAPI_1_1TilePosition}{\-B\-W\-A\-P\-I\-::\-Tile\-Position} desired\-Location)
\item 
\hyperlink{classBWAPI_1_1TilePosition}{\-B\-W\-A\-P\-I\-::\-Tile\-Position} \hyperlink{classBuildingManager_a9854840d2918d2e9662f4e1ee7aaa51c}{get\-Building\-Location} (const \hyperlink{classBuilding}{\-Building} \&b)
\item 
int \hyperlink{classBuildingManager_ac621e622029b95b643094115acc9a4cd}{get\-Reserved\-Minerals} ()
\item 
int \hyperlink{classBuildingManager_aed3390a2ffebee3c16f0f1032e31a936}{get\-Reserved\-Gas} ()
\item 
void \hyperlink{classBuildingManager_a5c3dd6e0df20be6527d9e87e37c191b3}{print\-Building\-Numbers} ()
\item 
bool \hyperlink{classBuildingManager_ae22f69346329b4ccf67948e2139e6b82}{is\-Being\-Built} (\hyperlink{classBWAPI_1_1UnitType}{\-B\-W\-A\-P\-I\-::\-Unit\-Type} type)
\end{DoxyCompactItemize}
\subsection*{\-Static \-Public \-Member \-Functions}
\begin{DoxyCompactItemize}
\item 
static \hyperlink{classBuildingManager}{\-Building\-Manager} $\ast$ \hyperlink{classBuildingManager_a9f16c9efd47482f3788b2e65caad4aa9}{get\-Instance} ()
\end{DoxyCompactItemize}


\subsection{\-Member \-Function \-Documentation}
\hypertarget{classBuildingManager_aff514baefb5b3aa3945859e16884f948}{\index{\-Building\-Manager@{\-Building\-Manager}!add\-Building\-Task@{add\-Building\-Task}}
\index{add\-Building\-Task@{add\-Building\-Task}!BuildingManager@{\-Building\-Manager}}
\subsubsection[{add\-Building\-Task}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf \-Building\-Manager\-::add\-Building\-Task} (
\begin{DoxyParamCaption}
\item[{{\bf \-B\-W\-A\-P\-I\-::\-Unit\-Type}}]{type, }
\item[{{\bf \-B\-W\-A\-P\-I\-::\-Tile\-Position}}]{desired\-Location}
\end{DoxyParamCaption}
)}}\label{classBuildingManager_aff514baefb5b3aa3945859e16884f948}


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


\hypertarget{classBuildingManager_a9854840d2918d2e9662f4e1ee7aaa51c}{\index{\-Building\-Manager@{\-Building\-Manager}!get\-Building\-Location@{get\-Building\-Location}}
\index{get\-Building\-Location@{get\-Building\-Location}!BuildingManager@{\-Building\-Manager}}
\subsubsection[{get\-Building\-Location}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-B\-W\-A\-P\-I\-::\-Tile\-Position} {\bf \-Building\-Manager\-::get\-Building\-Location} (
\begin{DoxyParamCaption}
\item[{const {\bf \-Building} \&}]{b}
\end{DoxyParamCaption}
)}}\label{classBuildingManager_a9854840d2918d2e9662f4e1ee7aaa51c}


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


\hypertarget{classBuildingManager_a9f16c9efd47482f3788b2e65caad4aa9}{\index{\-Building\-Manager@{\-Building\-Manager}!get\-Instance@{get\-Instance}}
\index{get\-Instance@{get\-Instance}!BuildingManager@{\-Building\-Manager}}
\subsubsection[{get\-Instance}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-Building\-Manager} $\ast$ {\bf \-Building\-Manager\-::get\-Instance} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}static\mbox{]}}}}\label{classBuildingManager_a9f16c9efd47482f3788b2e65caad4aa9}


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


\hypertarget{classBuildingManager_aed3390a2ffebee3c16f0f1032e31a936}{\index{\-Building\-Manager@{\-Building\-Manager}!get\-Reserved\-Gas@{get\-Reserved\-Gas}}
\index{get\-Reserved\-Gas@{get\-Reserved\-Gas}!BuildingManager@{\-Building\-Manager}}
\subsubsection[{get\-Reserved\-Gas}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf \-Building\-Manager\-::get\-Reserved\-Gas} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{classBuildingManager_aed3390a2ffebee3c16f0f1032e31a936}
\hypertarget{classBuildingManager_ac621e622029b95b643094115acc9a4cd}{\index{\-Building\-Manager@{\-Building\-Manager}!get\-Reserved\-Minerals@{get\-Reserved\-Minerals}}
\index{get\-Reserved\-Minerals@{get\-Reserved\-Minerals}!BuildingManager@{\-Building\-Manager}}
\subsubsection[{get\-Reserved\-Minerals}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf \-Building\-Manager\-::get\-Reserved\-Minerals} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{classBuildingManager_ac621e622029b95b643094115acc9a4cd}
\hypertarget{classBuildingManager_ae22f69346329b4ccf67948e2139e6b82}{\index{\-Building\-Manager@{\-Building\-Manager}!is\-Being\-Built@{is\-Being\-Built}}
\index{is\-Being\-Built@{is\-Being\-Built}!BuildingManager@{\-Building\-Manager}}
\subsubsection[{is\-Being\-Built}]{\setlength{\rightskip}{0pt plus 5cm}bool {\bf \-Building\-Manager\-::is\-Being\-Built} (
\begin{DoxyParamCaption}
\item[{{\bf \-B\-W\-A\-P\-I\-::\-Unit\-Type}}]{type}
\end{DoxyParamCaption}
)}}\label{classBuildingManager_ae22f69346329b4ccf67948e2139e6b82}


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


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


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


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


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


\hypertarget{classBuildingManager_a5c3dd6e0df20be6527d9e87e37c191b3}{\index{\-Building\-Manager@{\-Building\-Manager}!print\-Building\-Numbers@{print\-Building\-Numbers}}
\index{print\-Building\-Numbers@{print\-Building\-Numbers}!BuildingManager@{\-Building\-Manager}}
\subsubsection[{print\-Building\-Numbers}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf \-Building\-Manager\-::print\-Building\-Numbers} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{classBuildingManager_a5c3dd6e0df20be6527d9e87e37c191b3}


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


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


\-Here is the caller graph for this function\-:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{classBuildingManager_a69981eb65d3d495910f9ca8900bb73ae_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/base/\hyperlink{BuildingManager_8h}{\-Building\-Manager.\-h}\item 
\-U\-Alberta\-Bot\-\_\-src/\-Projects/\-U\-Alberta\-Bot/\-Source/base/\hyperlink{BuildingManager_8cpp}{\-Building\-Manager.\-cpp}\end{DoxyCompactItemize}
