\hypertarget{classUnitInfoState}{\section{\-Unit\-Info\-State \-Class \-Reference}
\label{classUnitInfoState}\index{\-Unit\-Info\-State@{\-Unit\-Info\-State}}
}


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

\subsection*{\-Public \-Member \-Functions}
\begin{DoxyCompactItemize}
\item 
void \hyperlink{classUnitInfoState_ad0616206f098ab84fa664d06d6140125}{update} ()
\item 
void \hyperlink{classUnitInfoState_a4e8d1c15dd235fed4b3cf26e48713e0d}{on\-Start} ()
\item 
void \hyperlink{classUnitInfoState_ac8fd75bad724c7c90b264c910a664f39}{on\-Unit\-Show} (\hyperlink{classBWAPI_1_1Unit}{\-B\-W\-A\-P\-I\-::\-Unit} $\ast$unit)
\item 
void \hyperlink{classUnitInfoState_a1ca655881f89d00149a1fdd6d4b9c857}{on\-Unit\-Hide} (\hyperlink{classBWAPI_1_1Unit}{\-B\-W\-A\-P\-I\-::\-Unit} $\ast$unit)
\item 
void \hyperlink{classUnitInfoState_ade0ba10603d9fe8982c8a430d5a5663a}{on\-Unit\-Create} (\hyperlink{classBWAPI_1_1Unit}{\-B\-W\-A\-P\-I\-::\-Unit} $\ast$unit)
\item 
void \hyperlink{classUnitInfoState_a0a485e6167939fc0a2b2ebe4cee30402}{on\-Unit\-Morph} (\hyperlink{classBWAPI_1_1Unit}{\-B\-W\-A\-P\-I\-::\-Unit} $\ast$unit)
\item 
void \hyperlink{classUnitInfoState_aa95ab358315fa06ff41551e8f3f60ab1}{on\-Unit\-Renegade} (\hyperlink{classBWAPI_1_1Unit}{\-B\-W\-A\-P\-I\-::\-Unit} $\ast$unit)
\item 
void \hyperlink{classUnitInfoState_a37547531baa440100faf6ac376826558}{on\-Unit\-Destroy} (\hyperlink{classBWAPI_1_1Unit}{\-B\-W\-A\-P\-I\-::\-Unit} $\ast$unit)
\item 
bool \hyperlink{classUnitInfoState_ace12a8850e61b470d79ca28bc41fa2c2}{position\-In\-Range\-Of\-Enemy\-Detector} (\hyperlink{classBWAPI_1_1Position}{\-B\-W\-A\-P\-I\-::\-Position} p)
\item 
bool \hyperlink{classUnitInfoState_a1bf5f295146a7548cbae29467517507e}{enemy\-Flyer\-Threat} ()
\item 
bool \hyperlink{classUnitInfoState_a73df4c374b8dfaee03a0dc13cc7cbfa6}{is\-Enemy\-Building\-In\-Region} (\hyperlink{classBWTA_1_1Region}{\-B\-W\-T\-A\-::\-Region} $\ast$region)
\item 
int \hyperlink{classUnitInfoState_a87599dd722370bf2315f7959da3b4796}{get\-Num\-Units} (\hyperlink{classBWAPI_1_1UnitType}{\-B\-W\-A\-P\-I\-::\-Unit\-Type} type, \hyperlink{classBWAPI_1_1Player}{\-B\-W\-A\-P\-I\-::\-Player} $\ast$player)
\item 
int \hyperlink{classUnitInfoState_a53a9bc90fa5f31ef62d3014d9fddbeb3}{get\-Num\-Dead\-Units} (\hyperlink{classBWAPI_1_1UnitType}{\-B\-W\-A\-P\-I\-::\-Unit\-Type} type, \hyperlink{classBWAPI_1_1Player}{\-B\-W\-A\-P\-I\-::\-Player} $\ast$player)
\item 
int \hyperlink{classUnitInfoState_a34e1a57b629a575c484e2166cbdf26a5}{get\-Num\-Total\-Dead\-Units} (\hyperlink{classBWAPI_1_1Player}{\-B\-W\-A\-P\-I\-::\-Player} $\ast$player)
\item 
int \hyperlink{classUnitInfoState_a53fa505a487375bf5f37e2ad3e640ae0}{known\-Force\-Size} (\hyperlink{classBWAPI_1_1Player}{\-B\-W\-A\-P\-I\-::\-Player} $\ast$player)
\item 
int \hyperlink{classUnitInfoState_afd0d72580ffd0e858dca5585133c6fbd}{visible\-Force\-Size} (\hyperlink{classBWAPI_1_1Player}{\-B\-W\-A\-P\-I\-::\-Player} $\ast$player)
\item 
int \hyperlink{classUnitInfoState_a36c867c1f16f6050115bda9f433bf803}{num\-Enemy\-Units\-In\-Region} (\hyperlink{classBWTA_1_1Region}{\-B\-W\-T\-A\-::\-Region} $\ast$region)
\item 
int \hyperlink{classUnitInfoState_a8028ad463abeaed2f9c91db83f935f8b}{num\-Enemy\-Flying\-Units\-In\-Region} (\hyperlink{classBWTA_1_1Region}{\-B\-W\-T\-A\-::\-Region} $\ast$region)
\item 
int \hyperlink{classUnitInfoState_a31e2a651319291d74bf69e36afbf53d0}{nearby\-Force\-Size} (\hyperlink{classBWAPI_1_1Position}{\-B\-W\-A\-P\-I\-::\-Position} p, \hyperlink{classBWAPI_1_1Player}{\-B\-W\-A\-P\-I\-::\-Player} $\ast$player, int radius)
\item 
bool \hyperlink{classUnitInfoState_a3d234cfdd6193658527129483c8a67c4}{nearby\-Force\-Has\-Cloaked} (\hyperlink{classBWAPI_1_1Position}{\-B\-W\-A\-P\-I\-::\-Position} p, \hyperlink{classBWAPI_1_1Player}{\-B\-W\-A\-P\-I\-::\-Player} $\ast$player, int radius)
\item 
bool \hyperlink{classUnitInfoState_a20d8dd325f5b31600aa3b24772891cd7}{can\-Win\-Nearby} (\hyperlink{classBWAPI_1_1Position}{\-B\-W\-A\-P\-I\-::\-Position} p)
\item 
std\-::pair$<$ double, double $>$ \hyperlink{classUnitInfoState_a02f9428076b20635595748714ba35131}{nearby\-Combat\-Info} (\hyperlink{classBWAPI_1_1Position}{\-B\-W\-A\-P\-I\-::\-Position} p, \hyperlink{classBWAPI_1_1Player}{\-B\-W\-A\-P\-I\-::\-Player} $\ast$player)
\item 
double \hyperlink{classUnitInfoState_ada9a6583133636045eeb798172e66684}{get\-D\-P\-S} (\hyperlink{classBWAPI_1_1UnitType}{\-B\-W\-A\-P\-I\-::\-Unit\-Type} type)
\item 
\hyperlink{UnitInfoState_8h_a10fb589f8b3436feb529a93160aea570}{\-Unit\-Info\-Vector} \& \hyperlink{classUnitInfoState_a9c4347cdc80d03140e665ca6ef46f17d}{get\-Enemy\-Detectors} ()
\item 
\hyperlink{UnitInfoState_8h_a10fb589f8b3436feb529a93160aea570}{\-Unit\-Info\-Vector} \& \hyperlink{classUnitInfoState_a538c47abf13491663639853fa37491b2}{get\-Known\-Unit\-Info} (\hyperlink{classBWAPI_1_1UnitType}{\-B\-W\-A\-P\-I\-::\-Unit\-Type} type, \hyperlink{classBWAPI_1_1Player}{\-B\-W\-A\-P\-I\-::\-Player} $\ast$player)
\item 
\hyperlink{UnitInfoState_8h_a10fb589f8b3436feb529a93160aea570}{\-Unit\-Info\-Vector} \& \hyperlink{classUnitInfoState_acb76d0833854677e5b279f82278bdd70}{get\-All\-Units} (\hyperlink{classBWAPI_1_1Player}{\-B\-W\-A\-P\-I\-::\-Player} $\ast$player)
\item 
\hyperlink{UnitInfoState_8h_a7bd4f5255858a736d8e16c9ea4bba5d9}{\-Base\-Info\-Vector} \& \hyperlink{classUnitInfoState_ada2ba9238d10e74abccc6e7ce5ec8b5f}{get\-All\-Bases} ()
\item 
\hyperlink{classBWAPI_1_1Unit}{\-B\-W\-A\-P\-I\-::\-Unit} $\ast$ \hyperlink{classUnitInfoState_a6392fe81119547f7c22ec5c7da0bfdd4}{get\-Closest\-Unit\-To\-Target} (\hyperlink{classBWAPI_1_1UnitType}{\-B\-W\-A\-P\-I\-::\-Unit\-Type} type, \hyperlink{classBWAPI_1_1Position}{\-B\-W\-A\-P\-I\-::\-Position} target)
\item 
std\-::set$<$ \hyperlink{classBWTA_1_1Region}{\-B\-W\-T\-A\-::\-Region} $\ast$ $>$ \& \hyperlink{classUnitInfoState_a56be50e90553c5903d3df134e6e94d8b}{get\-Occupied\-Regions} (\hyperlink{classBWAPI_1_1Player}{\-B\-W\-A\-P\-I\-::\-Player} $\ast$player)
\item 
\hyperlink{classBWTA_1_1BaseLocation}{\-B\-W\-T\-A\-::\-Base\-Location} $\ast$ \hyperlink{classUnitInfoState_a9c373ad416a996742f2aa0c89535d43b}{get\-Main\-Base\-Location} (\hyperlink{classBWAPI_1_1Player}{\-B\-W\-A\-P\-I\-::\-Player} $\ast$player)
\item 
bool \hyperlink{classUnitInfoState_a8113b99002b460b1ec2c9a4ddeb8fc16}{enemy\-Has\-Cloaked\-Units} ()
\item 
void \hyperlink{classUnitInfoState_a2fcbab06743fdc65ce58ccb9bf366360}{draw\-Unit\-Information} (int x, int y)
\end{DoxyCompactItemize}
\subsection*{\-Static \-Public \-Member \-Functions}
\begin{DoxyCompactItemize}
\item 
static \hyperlink{classUnitInfoState}{\-Unit\-Info\-State} $\ast$ \hyperlink{classUnitInfoState_ad086ca4acbf49c09431646a63b815517}{get\-Instance} ()
\end{DoxyCompactItemize}
\subsection*{\-Public \-Attributes}
\begin{DoxyCompactItemize}
\item 
bool \hyperlink{classUnitInfoState_a9a8e37fac16e4e8d5b7bbce4daa37a40}{go\-For\-It}
\end{DoxyCompactItemize}


\subsection{\-Member \-Function \-Documentation}
\hypertarget{classUnitInfoState_a20d8dd325f5b31600aa3b24772891cd7}{\index{\-Unit\-Info\-State@{\-Unit\-Info\-State}!can\-Win\-Nearby@{can\-Win\-Nearby}}
\index{can\-Win\-Nearby@{can\-Win\-Nearby}!UnitInfoState@{\-Unit\-Info\-State}}
\subsubsection[{can\-Win\-Nearby}]{\setlength{\rightskip}{0pt plus 5cm}bool {\bf \-Unit\-Info\-State\-::can\-Win\-Nearby} (
\begin{DoxyParamCaption}
\item[{{\bf \-B\-W\-A\-P\-I\-::\-Position}}]{p}
\end{DoxyParamCaption}
)}}\label{classUnitInfoState_a20d8dd325f5b31600aa3b24772891cd7}
\hypertarget{classUnitInfoState_a2fcbab06743fdc65ce58ccb9bf366360}{\index{\-Unit\-Info\-State@{\-Unit\-Info\-State}!draw\-Unit\-Information@{draw\-Unit\-Information}}
\index{draw\-Unit\-Information@{draw\-Unit\-Information}!UnitInfoState@{\-Unit\-Info\-State}}
\subsubsection[{draw\-Unit\-Information}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf \-Unit\-Info\-State\-::draw\-Unit\-Information} (
\begin{DoxyParamCaption}
\item[{int}]{x, }
\item[{int}]{y}
\end{DoxyParamCaption}
)}}\label{classUnitInfoState_a2fcbab06743fdc65ce58ccb9bf366360}


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




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


\hypertarget{classUnitInfoState_a1bf5f295146a7548cbae29467517507e}{\index{\-Unit\-Info\-State@{\-Unit\-Info\-State}!enemy\-Flyer\-Threat@{enemy\-Flyer\-Threat}}
\index{enemy\-Flyer\-Threat@{enemy\-Flyer\-Threat}!UnitInfoState@{\-Unit\-Info\-State}}
\subsubsection[{enemy\-Flyer\-Threat}]{\setlength{\rightskip}{0pt plus 5cm}bool {\bf \-Unit\-Info\-State\-::enemy\-Flyer\-Threat} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{classUnitInfoState_a1bf5f295146a7548cbae29467517507e}
\hypertarget{classUnitInfoState_a8113b99002b460b1ec2c9a4ddeb8fc16}{\index{\-Unit\-Info\-State@{\-Unit\-Info\-State}!enemy\-Has\-Cloaked\-Units@{enemy\-Has\-Cloaked\-Units}}
\index{enemy\-Has\-Cloaked\-Units@{enemy\-Has\-Cloaked\-Units}!UnitInfoState@{\-Unit\-Info\-State}}
\subsubsection[{enemy\-Has\-Cloaked\-Units}]{\setlength{\rightskip}{0pt plus 5cm}bool {\bf \-Unit\-Info\-State\-::enemy\-Has\-Cloaked\-Units} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{classUnitInfoState_a8113b99002b460b1ec2c9a4ddeb8fc16}
\hypertarget{classUnitInfoState_ada2ba9238d10e74abccc6e7ce5ec8b5f}{\index{\-Unit\-Info\-State@{\-Unit\-Info\-State}!get\-All\-Bases@{get\-All\-Bases}}
\index{get\-All\-Bases@{get\-All\-Bases}!UnitInfoState@{\-Unit\-Info\-State}}
\subsubsection[{get\-All\-Bases}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-Base\-Info\-Vector}\& {\bf \-Unit\-Info\-State\-::get\-All\-Bases} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}\label{classUnitInfoState_ada2ba9238d10e74abccc6e7ce5ec8b5f}
\hypertarget{classUnitInfoState_acb76d0833854677e5b279f82278bdd70}{\index{\-Unit\-Info\-State@{\-Unit\-Info\-State}!get\-All\-Units@{get\-All\-Units}}
\index{get\-All\-Units@{get\-All\-Units}!UnitInfoState@{\-Unit\-Info\-State}}
\subsubsection[{get\-All\-Units}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-Unit\-Info\-Vector} \& {\bf \-Unit\-Info\-State\-::get\-All\-Units} (
\begin{DoxyParamCaption}
\item[{{\bf \-B\-W\-A\-P\-I\-::\-Player} $\ast$}]{player}
\end{DoxyParamCaption}
)}}\label{classUnitInfoState_acb76d0833854677e5b279f82278bdd70}


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


\hypertarget{classUnitInfoState_a6392fe81119547f7c22ec5c7da0bfdd4}{\index{\-Unit\-Info\-State@{\-Unit\-Info\-State}!get\-Closest\-Unit\-To\-Target@{get\-Closest\-Unit\-To\-Target}}
\index{get\-Closest\-Unit\-To\-Target@{get\-Closest\-Unit\-To\-Target}!UnitInfoState@{\-Unit\-Info\-State}}
\subsubsection[{get\-Closest\-Unit\-To\-Target}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-B\-W\-A\-P\-I\-::\-Unit} $\ast$ {\bf \-Unit\-Info\-State\-::get\-Closest\-Unit\-To\-Target} (
\begin{DoxyParamCaption}
\item[{{\bf \-B\-W\-A\-P\-I\-::\-Unit\-Type}}]{type, }
\item[{{\bf \-B\-W\-A\-P\-I\-::\-Position}}]{target}
\end{DoxyParamCaption}
)}}\label{classUnitInfoState_a6392fe81119547f7c22ec5c7da0bfdd4}


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


\hypertarget{classUnitInfoState_ada9a6583133636045eeb798172e66684}{\index{\-Unit\-Info\-State@{\-Unit\-Info\-State}!get\-D\-P\-S@{get\-D\-P\-S}}
\index{get\-D\-P\-S@{get\-D\-P\-S}!UnitInfoState@{\-Unit\-Info\-State}}
\subsubsection[{get\-D\-P\-S}]{\setlength{\rightskip}{0pt plus 5cm}double {\bf \-Unit\-Info\-State\-::get\-D\-P\-S} (
\begin{DoxyParamCaption}
\item[{{\bf \-B\-W\-A\-P\-I\-::\-Unit\-Type}}]{type}
\end{DoxyParamCaption}
)}}\label{classUnitInfoState_ada9a6583133636045eeb798172e66684}
\hypertarget{classUnitInfoState_a9c4347cdc80d03140e665ca6ef46f17d}{\index{\-Unit\-Info\-State@{\-Unit\-Info\-State}!get\-Enemy\-Detectors@{get\-Enemy\-Detectors}}
\index{get\-Enemy\-Detectors@{get\-Enemy\-Detectors}!UnitInfoState@{\-Unit\-Info\-State}}
\subsubsection[{get\-Enemy\-Detectors}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-Unit\-Info\-Vector} \& {\bf \-Unit\-Info\-State\-::get\-Enemy\-Detectors} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{classUnitInfoState_a9c4347cdc80d03140e665ca6ef46f17d}
\hypertarget{classUnitInfoState_ad086ca4acbf49c09431646a63b815517}{\index{\-Unit\-Info\-State@{\-Unit\-Info\-State}!get\-Instance@{get\-Instance}}
\index{get\-Instance@{get\-Instance}!UnitInfoState@{\-Unit\-Info\-State}}
\subsubsection[{get\-Instance}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-Unit\-Info\-State} $\ast$ {\bf \-Unit\-Info\-State\-::get\-Instance} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}static\mbox{]}}}}\label{classUnitInfoState_ad086ca4acbf49c09431646a63b815517}


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


\hypertarget{classUnitInfoState_a538c47abf13491663639853fa37491b2}{\index{\-Unit\-Info\-State@{\-Unit\-Info\-State}!get\-Known\-Unit\-Info@{get\-Known\-Unit\-Info}}
\index{get\-Known\-Unit\-Info@{get\-Known\-Unit\-Info}!UnitInfoState@{\-Unit\-Info\-State}}
\subsubsection[{get\-Known\-Unit\-Info}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-Unit\-Info\-Vector} \& {\bf \-Unit\-Info\-State\-::get\-Known\-Unit\-Info} (
\begin{DoxyParamCaption}
\item[{{\bf \-B\-W\-A\-P\-I\-::\-Unit\-Type}}]{type, }
\item[{{\bf \-B\-W\-A\-P\-I\-::\-Player} $\ast$}]{player}
\end{DoxyParamCaption}
)}}\label{classUnitInfoState_a538c47abf13491663639853fa37491b2}


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


\hypertarget{classUnitInfoState_a9c373ad416a996742f2aa0c89535d43b}{\index{\-Unit\-Info\-State@{\-Unit\-Info\-State}!get\-Main\-Base\-Location@{get\-Main\-Base\-Location}}
\index{get\-Main\-Base\-Location@{get\-Main\-Base\-Location}!UnitInfoState@{\-Unit\-Info\-State}}
\subsubsection[{get\-Main\-Base\-Location}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-B\-W\-T\-A\-::\-Base\-Location} $\ast$ {\bf \-Unit\-Info\-State\-::get\-Main\-Base\-Location} (
\begin{DoxyParamCaption}
\item[{{\bf \-B\-W\-A\-P\-I\-::\-Player} $\ast$}]{player}
\end{DoxyParamCaption}
)}}\label{classUnitInfoState_a9c373ad416a996742f2aa0c89535d43b}


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


\hypertarget{classUnitInfoState_a53a9bc90fa5f31ef62d3014d9fddbeb3}{\index{\-Unit\-Info\-State@{\-Unit\-Info\-State}!get\-Num\-Dead\-Units@{get\-Num\-Dead\-Units}}
\index{get\-Num\-Dead\-Units@{get\-Num\-Dead\-Units}!UnitInfoState@{\-Unit\-Info\-State}}
\subsubsection[{get\-Num\-Dead\-Units}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf \-Unit\-Info\-State\-::get\-Num\-Dead\-Units} (
\begin{DoxyParamCaption}
\item[{{\bf \-B\-W\-A\-P\-I\-::\-Unit\-Type}}]{type, }
\item[{{\bf \-B\-W\-A\-P\-I\-::\-Player} $\ast$}]{player}
\end{DoxyParamCaption}
)}}\label{classUnitInfoState_a53a9bc90fa5f31ef62d3014d9fddbeb3}


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




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


\hypertarget{classUnitInfoState_a34e1a57b629a575c484e2166cbdf26a5}{\index{\-Unit\-Info\-State@{\-Unit\-Info\-State}!get\-Num\-Total\-Dead\-Units@{get\-Num\-Total\-Dead\-Units}}
\index{get\-Num\-Total\-Dead\-Units@{get\-Num\-Total\-Dead\-Units}!UnitInfoState@{\-Unit\-Info\-State}}
\subsubsection[{get\-Num\-Total\-Dead\-Units}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf \-Unit\-Info\-State\-::get\-Num\-Total\-Dead\-Units} (
\begin{DoxyParamCaption}
\item[{{\bf \-B\-W\-A\-P\-I\-::\-Player} $\ast$}]{player}
\end{DoxyParamCaption}
)}}\label{classUnitInfoState_a34e1a57b629a575c484e2166cbdf26a5}
\hypertarget{classUnitInfoState_a87599dd722370bf2315f7959da3b4796}{\index{\-Unit\-Info\-State@{\-Unit\-Info\-State}!get\-Num\-Units@{get\-Num\-Units}}
\index{get\-Num\-Units@{get\-Num\-Units}!UnitInfoState@{\-Unit\-Info\-State}}
\subsubsection[{get\-Num\-Units}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf \-Unit\-Info\-State\-::get\-Num\-Units} (
\begin{DoxyParamCaption}
\item[{{\bf \-B\-W\-A\-P\-I\-::\-Unit\-Type}}]{type, }
\item[{{\bf \-B\-W\-A\-P\-I\-::\-Player} $\ast$}]{player}
\end{DoxyParamCaption}
)}}\label{classUnitInfoState_a87599dd722370bf2315f7959da3b4796}


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




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


\hypertarget{classUnitInfoState_a56be50e90553c5903d3df134e6e94d8b}{\index{\-Unit\-Info\-State@{\-Unit\-Info\-State}!get\-Occupied\-Regions@{get\-Occupied\-Regions}}
\index{get\-Occupied\-Regions@{get\-Occupied\-Regions}!UnitInfoState@{\-Unit\-Info\-State}}
\subsubsection[{get\-Occupied\-Regions}]{\setlength{\rightskip}{0pt plus 5cm}std\-::set$<$ {\bf \-B\-W\-T\-A\-::\-Region} $\ast$ $>$ \& {\bf \-Unit\-Info\-State\-::get\-Occupied\-Regions} (
\begin{DoxyParamCaption}
\item[{{\bf \-B\-W\-A\-P\-I\-::\-Player} $\ast$}]{player}
\end{DoxyParamCaption}
)}}\label{classUnitInfoState_a56be50e90553c5903d3df134e6e94d8b}
\hypertarget{classUnitInfoState_a73df4c374b8dfaee03a0dc13cc7cbfa6}{\index{\-Unit\-Info\-State@{\-Unit\-Info\-State}!is\-Enemy\-Building\-In\-Region@{is\-Enemy\-Building\-In\-Region}}
\index{is\-Enemy\-Building\-In\-Region@{is\-Enemy\-Building\-In\-Region}!UnitInfoState@{\-Unit\-Info\-State}}
\subsubsection[{is\-Enemy\-Building\-In\-Region}]{\setlength{\rightskip}{0pt plus 5cm}bool {\bf \-Unit\-Info\-State\-::is\-Enemy\-Building\-In\-Region} (
\begin{DoxyParamCaption}
\item[{{\bf \-B\-W\-T\-A\-::\-Region} $\ast$}]{region}
\end{DoxyParamCaption}
)}}\label{classUnitInfoState_a73df4c374b8dfaee03a0dc13cc7cbfa6}


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


\hypertarget{classUnitInfoState_a53fa505a487375bf5f37e2ad3e640ae0}{\index{\-Unit\-Info\-State@{\-Unit\-Info\-State}!known\-Force\-Size@{known\-Force\-Size}}
\index{known\-Force\-Size@{known\-Force\-Size}!UnitInfoState@{\-Unit\-Info\-State}}
\subsubsection[{known\-Force\-Size}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf \-Unit\-Info\-State\-::known\-Force\-Size} (
\begin{DoxyParamCaption}
\item[{{\bf \-B\-W\-A\-P\-I\-::\-Player} $\ast$}]{player}
\end{DoxyParamCaption}
)}}\label{classUnitInfoState_a53fa505a487375bf5f37e2ad3e640ae0}


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


\hypertarget{classUnitInfoState_a02f9428076b20635595748714ba35131}{\index{\-Unit\-Info\-State@{\-Unit\-Info\-State}!nearby\-Combat\-Info@{nearby\-Combat\-Info}}
\index{nearby\-Combat\-Info@{nearby\-Combat\-Info}!UnitInfoState@{\-Unit\-Info\-State}}
\subsubsection[{nearby\-Combat\-Info}]{\setlength{\rightskip}{0pt plus 5cm}std\-::pair$<$double, double$>$ {\bf \-Unit\-Info\-State\-::nearby\-Combat\-Info} (
\begin{DoxyParamCaption}
\item[{{\bf \-B\-W\-A\-P\-I\-::\-Position}}]{p, }
\item[{{\bf \-B\-W\-A\-P\-I\-::\-Player} $\ast$}]{player}
\end{DoxyParamCaption}
)}}\label{classUnitInfoState_a02f9428076b20635595748714ba35131}
\hypertarget{classUnitInfoState_a3d234cfdd6193658527129483c8a67c4}{\index{\-Unit\-Info\-State@{\-Unit\-Info\-State}!nearby\-Force\-Has\-Cloaked@{nearby\-Force\-Has\-Cloaked}}
\index{nearby\-Force\-Has\-Cloaked@{nearby\-Force\-Has\-Cloaked}!UnitInfoState@{\-Unit\-Info\-State}}
\subsubsection[{nearby\-Force\-Has\-Cloaked}]{\setlength{\rightskip}{0pt plus 5cm}bool {\bf \-Unit\-Info\-State\-::nearby\-Force\-Has\-Cloaked} (
\begin{DoxyParamCaption}
\item[{{\bf \-B\-W\-A\-P\-I\-::\-Position}}]{p, }
\item[{{\bf \-B\-W\-A\-P\-I\-::\-Player} $\ast$}]{player, }
\item[{int}]{radius}
\end{DoxyParamCaption}
)}}\label{classUnitInfoState_a3d234cfdd6193658527129483c8a67c4}


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




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


\hypertarget{classUnitInfoState_a31e2a651319291d74bf69e36afbf53d0}{\index{\-Unit\-Info\-State@{\-Unit\-Info\-State}!nearby\-Force\-Size@{nearby\-Force\-Size}}
\index{nearby\-Force\-Size@{nearby\-Force\-Size}!UnitInfoState@{\-Unit\-Info\-State}}
\subsubsection[{nearby\-Force\-Size}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf \-Unit\-Info\-State\-::nearby\-Force\-Size} (
\begin{DoxyParamCaption}
\item[{{\bf \-B\-W\-A\-P\-I\-::\-Position}}]{p, }
\item[{{\bf \-B\-W\-A\-P\-I\-::\-Player} $\ast$}]{player, }
\item[{int}]{radius}
\end{DoxyParamCaption}
)}}\label{classUnitInfoState_a31e2a651319291d74bf69e36afbf53d0}


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




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


\hypertarget{classUnitInfoState_a8028ad463abeaed2f9c91db83f935f8b}{\index{\-Unit\-Info\-State@{\-Unit\-Info\-State}!num\-Enemy\-Flying\-Units\-In\-Region@{num\-Enemy\-Flying\-Units\-In\-Region}}
\index{num\-Enemy\-Flying\-Units\-In\-Region@{num\-Enemy\-Flying\-Units\-In\-Region}!UnitInfoState@{\-Unit\-Info\-State}}
\subsubsection[{num\-Enemy\-Flying\-Units\-In\-Region}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf \-Unit\-Info\-State\-::num\-Enemy\-Flying\-Units\-In\-Region} (
\begin{DoxyParamCaption}
\item[{{\bf \-B\-W\-T\-A\-::\-Region} $\ast$}]{region}
\end{DoxyParamCaption}
)}}\label{classUnitInfoState_a8028ad463abeaed2f9c91db83f935f8b}


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


\hypertarget{classUnitInfoState_a36c867c1f16f6050115bda9f433bf803}{\index{\-Unit\-Info\-State@{\-Unit\-Info\-State}!num\-Enemy\-Units\-In\-Region@{num\-Enemy\-Units\-In\-Region}}
\index{num\-Enemy\-Units\-In\-Region@{num\-Enemy\-Units\-In\-Region}!UnitInfoState@{\-Unit\-Info\-State}}
\subsubsection[{num\-Enemy\-Units\-In\-Region}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf \-Unit\-Info\-State\-::num\-Enemy\-Units\-In\-Region} (
\begin{DoxyParamCaption}
\item[{{\bf \-B\-W\-T\-A\-::\-Region} $\ast$}]{region}
\end{DoxyParamCaption}
)}}\label{classUnitInfoState_a36c867c1f16f6050115bda9f433bf803}


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


\hypertarget{classUnitInfoState_a4e8d1c15dd235fed4b3cf26e48713e0d}{\index{\-Unit\-Info\-State@{\-Unit\-Info\-State}!on\-Start@{on\-Start}}
\index{on\-Start@{on\-Start}!UnitInfoState@{\-Unit\-Info\-State}}
\subsubsection[{on\-Start}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf \-Unit\-Info\-State\-::on\-Start} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{classUnitInfoState_a4e8d1c15dd235fed4b3cf26e48713e0d}
\hypertarget{classUnitInfoState_ade0ba10603d9fe8982c8a430d5a5663a}{\index{\-Unit\-Info\-State@{\-Unit\-Info\-State}!on\-Unit\-Create@{on\-Unit\-Create}}
\index{on\-Unit\-Create@{on\-Unit\-Create}!UnitInfoState@{\-Unit\-Info\-State}}
\subsubsection[{on\-Unit\-Create}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf \-Unit\-Info\-State\-::on\-Unit\-Create} (
\begin{DoxyParamCaption}
\item[{{\bf \-B\-W\-A\-P\-I\-::\-Unit} $\ast$}]{unit}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}\label{classUnitInfoState_ade0ba10603d9fe8982c8a430d5a5663a}


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


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


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




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


\hypertarget{classUnitInfoState_a1ca655881f89d00149a1fdd6d4b9c857}{\index{\-Unit\-Info\-State@{\-Unit\-Info\-State}!on\-Unit\-Hide@{on\-Unit\-Hide}}
\index{on\-Unit\-Hide@{on\-Unit\-Hide}!UnitInfoState@{\-Unit\-Info\-State}}
\subsubsection[{on\-Unit\-Hide}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf \-Unit\-Info\-State\-::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{classUnitInfoState_a1ca655881f89d00149a1fdd6d4b9c857}


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


\hypertarget{classUnitInfoState_a0a485e6167939fc0a2b2ebe4cee30402}{\index{\-Unit\-Info\-State@{\-Unit\-Info\-State}!on\-Unit\-Morph@{on\-Unit\-Morph}}
\index{on\-Unit\-Morph@{on\-Unit\-Morph}!UnitInfoState@{\-Unit\-Info\-State}}
\subsubsection[{on\-Unit\-Morph}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf \-Unit\-Info\-State\-::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{classUnitInfoState_a0a485e6167939fc0a2b2ebe4cee30402}


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


\hypertarget{classUnitInfoState_aa95ab358315fa06ff41551e8f3f60ab1}{\index{\-Unit\-Info\-State@{\-Unit\-Info\-State}!on\-Unit\-Renegade@{on\-Unit\-Renegade}}
\index{on\-Unit\-Renegade@{on\-Unit\-Renegade}!UnitInfoState@{\-Unit\-Info\-State}}
\subsubsection[{on\-Unit\-Renegade}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf \-Unit\-Info\-State\-::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{classUnitInfoState_aa95ab358315fa06ff41551e8f3f60ab1}


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


\hypertarget{classUnitInfoState_ac8fd75bad724c7c90b264c910a664f39}{\index{\-Unit\-Info\-State@{\-Unit\-Info\-State}!on\-Unit\-Show@{on\-Unit\-Show}}
\index{on\-Unit\-Show@{on\-Unit\-Show}!UnitInfoState@{\-Unit\-Info\-State}}
\subsubsection[{on\-Unit\-Show}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf \-Unit\-Info\-State\-::on\-Unit\-Show} (
\begin{DoxyParamCaption}
\item[{{\bf \-B\-W\-A\-P\-I\-::\-Unit} $\ast$}]{unit}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}\label{classUnitInfoState_ac8fd75bad724c7c90b264c910a664f39}


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


\hypertarget{classUnitInfoState_ace12a8850e61b470d79ca28bc41fa2c2}{\index{\-Unit\-Info\-State@{\-Unit\-Info\-State}!position\-In\-Range\-Of\-Enemy\-Detector@{position\-In\-Range\-Of\-Enemy\-Detector}}
\index{position\-In\-Range\-Of\-Enemy\-Detector@{position\-In\-Range\-Of\-Enemy\-Detector}!UnitInfoState@{\-Unit\-Info\-State}}
\subsubsection[{position\-In\-Range\-Of\-Enemy\-Detector}]{\setlength{\rightskip}{0pt plus 5cm}bool {\bf \-Unit\-Info\-State\-::position\-In\-Range\-Of\-Enemy\-Detector} (
\begin{DoxyParamCaption}
\item[{{\bf \-B\-W\-A\-P\-I\-::\-Position}}]{p}
\end{DoxyParamCaption}
)}}\label{classUnitInfoState_ace12a8850e61b470d79ca28bc41fa2c2}


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


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


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




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


\hypertarget{classUnitInfoState_afd0d72580ffd0e858dca5585133c6fbd}{\index{\-Unit\-Info\-State@{\-Unit\-Info\-State}!visible\-Force\-Size@{visible\-Force\-Size}}
\index{visible\-Force\-Size@{visible\-Force\-Size}!UnitInfoState@{\-Unit\-Info\-State}}
\subsubsection[{visible\-Force\-Size}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf \-Unit\-Info\-State\-::visible\-Force\-Size} (
\begin{DoxyParamCaption}
\item[{{\bf \-B\-W\-A\-P\-I\-::\-Player} $\ast$}]{player}
\end{DoxyParamCaption}
)}}\label{classUnitInfoState_afd0d72580ffd0e858dca5585133c6fbd}


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




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




\subsection{\-Member \-Data \-Documentation}
\hypertarget{classUnitInfoState_a9a8e37fac16e4e8d5b7bbce4daa37a40}{\index{\-Unit\-Info\-State@{\-Unit\-Info\-State}!go\-For\-It@{go\-For\-It}}
\index{go\-For\-It@{go\-For\-It}!UnitInfoState@{\-Unit\-Info\-State}}
\subsubsection[{go\-For\-It}]{\setlength{\rightskip}{0pt plus 5cm}bool {\bf \-Unit\-Info\-State\-::go\-For\-It}}}\label{classUnitInfoState_a9a8e37fac16e4e8d5b7bbce4daa37a40}


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