\hypertarget{classDefendGoal}{\section{\-Defend\-Goal \-Class \-Reference}
\label{classDefendGoal}\index{\-Defend\-Goal@{\-Defend\-Goal}}
}


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



\-Inheritance diagram for \-Defend\-Goal\-:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=550pt]{classDefendGoal__inherit__graph}
\end{center}
\end{figure}


\-Collaboration diagram for \-Defend\-Goal\-:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=550pt]{classDefendGoal__coll__graph}
\end{center}
\end{figure}
\subsection*{\-Public \-Member \-Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{classDefendGoal_a2c819315d01070f4548f16ae061b45f7}{\-Defend\-Goal} (\-B\-W\-T\-A\-::\-Chokepoint $\ast$c, int priority=80, int first\-Frame=0)
\item 
\hyperlink{classDefendGoal_ae866d4353210e2a15579c8146354a8ac}{\-Defend\-Goal} (\-B\-W\-T\-A\-::\-Base\-Location $\ast$b, int priority=80, int first\-Frame=0)
\item 
\hyperlink{classDefendGoal_a9ba830c17155aaca7b9161ad1b70a902}{\-Defend\-Goal} (\-B\-W\-A\-P\-I\-::\-Position p, int priority=80, int first\-Frame=0)
\item 
virtual void \hyperlink{classDefendGoal_a24c889da58ad4e9dd815a82ca84136b2}{achieve} ()
\item 
virtual void \hyperlink{classDefendGoal_a3145f387897043d5e48bbc766e7caf18}{check} ()
\item 
virtual void \hyperlink{classDefendGoal_a6c077759f7742dc3ae30f50ca208bca0}{on\-Offer} (std\-::set$<$ \-B\-W\-A\-P\-I\-::\-Unit $\ast$ $>$ objects)
\begin{DoxyCompactList}\small\item\em \-Controller methods. \end{DoxyCompactList}\item 
virtual void \hyperlink{classDefendGoal_a5574565992974ae2118e7283f2282979}{on\-Revoke} (\-B\-W\-A\-P\-I\-::\-Unit $\ast$u, double bid)
\item 
virtual void \hyperlink{classDefendGoal_a6a4bccf70c0d904ff3fce5c212c3e56a}{on\-Unit\-Destroy} (\-B\-W\-A\-P\-I\-::\-Unit $\ast$unit)
\item 
virtual std\-::string \hyperlink{classDefendGoal_a3f3a3ef8665934bcd74237b26ea6f395}{get\-Name} () const 
\item 
virtual std\-::string \hyperlink{classDefendGoal_a3fc60a8a936140204ed0019db6353eed}{get\-Short\-Name} () const 
\item 
virtual void \hyperlink{classDefendGoal_a0fc47338fd9ecd3a19cbb9dd6cc61c16}{update} ()
\end{DoxyCompactItemize}


\subsection{\-Constructor \& \-Destructor \-Documentation}
\hypertarget{classDefendGoal_a2c819315d01070f4548f16ae061b45f7}{\index{\-Defend\-Goal@{\-Defend\-Goal}!\-Defend\-Goal@{\-Defend\-Goal}}
\index{\-Defend\-Goal@{\-Defend\-Goal}!DefendGoal@{\-Defend\-Goal}}
\subsubsection[{\-Defend\-Goal}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-Defend\-Goal\-::\-Defend\-Goal} (
\begin{DoxyParamCaption}
\item[{\-B\-W\-T\-A\-::\-Chokepoint $\ast$}]{c, }
\item[{int}]{priority = {\ttfamily 80}, }
\item[{int}]{first\-Frame = {\ttfamily 0}}
\end{DoxyParamCaption}
)}}\label{classDefendGoal_a2c819315d01070f4548f16ae061b45f7}
\hypertarget{classDefendGoal_ae866d4353210e2a15579c8146354a8ac}{\index{\-Defend\-Goal@{\-Defend\-Goal}!\-Defend\-Goal@{\-Defend\-Goal}}
\index{\-Defend\-Goal@{\-Defend\-Goal}!DefendGoal@{\-Defend\-Goal}}
\subsubsection[{\-Defend\-Goal}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-Defend\-Goal\-::\-Defend\-Goal} (
\begin{DoxyParamCaption}
\item[{\-B\-W\-T\-A\-::\-Base\-Location $\ast$}]{b, }
\item[{int}]{priority = {\ttfamily 80}, }
\item[{int}]{first\-Frame = {\ttfamily 0}}
\end{DoxyParamCaption}
)}}\label{classDefendGoal_ae866d4353210e2a15579c8146354a8ac}
\hypertarget{classDefendGoal_a9ba830c17155aaca7b9161ad1b70a902}{\index{\-Defend\-Goal@{\-Defend\-Goal}!\-Defend\-Goal@{\-Defend\-Goal}}
\index{\-Defend\-Goal@{\-Defend\-Goal}!DefendGoal@{\-Defend\-Goal}}
\subsubsection[{\-Defend\-Goal}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-Defend\-Goal\-::\-Defend\-Goal} (
\begin{DoxyParamCaption}
\item[{\-B\-W\-A\-P\-I\-::\-Position}]{p, }
\item[{int}]{priority = {\ttfamily 80}, }
\item[{int}]{first\-Frame = {\ttfamily 0}}
\end{DoxyParamCaption}
)}}\label{classDefendGoal_a9ba830c17155aaca7b9161ad1b70a902}


\subsection{\-Member \-Function \-Documentation}
\hypertarget{classDefendGoal_a24c889da58ad4e9dd815a82ca84136b2}{\index{\-Defend\-Goal@{\-Defend\-Goal}!achieve@{achieve}}
\index{achieve@{achieve}!DefendGoal@{\-Defend\-Goal}}
\subsubsection[{achieve}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf \-Defend\-Goal\-::achieve} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}\label{classDefendGoal_a24c889da58ad4e9dd815a82ca84136b2}


\-Reimplemented from \hyperlink{classGoal_a933f51dfddb9aeed39e3d53c630189ca}{\-Goal}.



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


\hypertarget{classDefendGoal_a3145f387897043d5e48bbc766e7caf18}{\index{\-Defend\-Goal@{\-Defend\-Goal}!check@{check}}
\index{check@{check}!DefendGoal@{\-Defend\-Goal}}
\subsubsection[{check}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf \-Defend\-Goal\-::check} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}\label{classDefendGoal_a3145f387897043d5e48bbc766e7caf18}
\-Count how many probes we will be ok to bid and how much force we need 

\-Reimplemented from \hyperlink{classGoal_ac720e1b3f9561cf7fe7c117df3c52660}{\-Goal}.



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




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


\hypertarget{classDefendGoal_a3f3a3ef8665934bcd74237b26ea6f395}{\index{\-Defend\-Goal@{\-Defend\-Goal}!get\-Name@{get\-Name}}
\index{get\-Name@{get\-Name}!DefendGoal@{\-Defend\-Goal}}
\subsubsection[{get\-Name}]{\setlength{\rightskip}{0pt plus 5cm}std\-::string {\bf \-Defend\-Goal\-::get\-Name} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}\label{classDefendGoal_a3f3a3ef8665934bcd74237b26ea6f395}


\-Reimplemented from \hyperlink{classGoal_af661f1076f59b49a100a11d4b5cd225c}{\-Goal}.

\hypertarget{classDefendGoal_a3fc60a8a936140204ed0019db6353eed}{\index{\-Defend\-Goal@{\-Defend\-Goal}!get\-Short\-Name@{get\-Short\-Name}}
\index{get\-Short\-Name@{get\-Short\-Name}!DefendGoal@{\-Defend\-Goal}}
\subsubsection[{get\-Short\-Name}]{\setlength{\rightskip}{0pt plus 5cm}std\-::string {\bf \-Defend\-Goal\-::get\-Short\-Name} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}\label{classDefendGoal_a3fc60a8a936140204ed0019db6353eed}


\-Reimplemented from \hyperlink{classGoal_a9f347ffd9f7defbe670b5c1ba66fd133}{\-Goal}.

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


\-Controller methods. 



\-Reimplemented from \hyperlink{classGoal_ac3abb186e0c949c29b1cd85dd724d87e}{\-Goal}.



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


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


\-Reimplemented from \hyperlink{classGoal_ab95679406f830e0b04279753361a2c91}{\-Goal}.



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


\hypertarget{classDefendGoal_a6a4bccf70c0d904ff3fce5c212c3e56a}{\index{\-Defend\-Goal@{\-Defend\-Goal}!on\-Unit\-Destroy@{on\-Unit\-Destroy}}
\index{on\-Unit\-Destroy@{on\-Unit\-Destroy}!DefendGoal@{\-Defend\-Goal}}
\subsubsection[{on\-Unit\-Destroy}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf \-Defend\-Goal\-::on\-Unit\-Destroy} (
\begin{DoxyParamCaption}
\item[{\-B\-W\-A\-P\-I\-::\-Unit $\ast$}]{unit}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}\label{classDefendGoal_a6a4bccf70c0d904ff3fce5c212c3e56a}


\-Reimplemented from \hyperlink{classGoal_a497bb4450d7a02b46b260721d78f07cb}{\-Goal}.



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




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


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


\-Reimplemented from \hyperlink{classGoal_ad0422ecd69f128c0bf13e5ae9d451ddf}{\-Goal}.



\-The documentation for this class was generated from the following files\-:\begin{DoxyCompactItemize}
\item 
\-Snippy\-Hollo\-W-\/\-Broodwar\-Bot\-Q-\/f01ab56/src/\-Micro/\-Goals/\hyperlink{DefendGoal_8h}{\-Defend\-Goal.\-h}\item 
\-Snippy\-Hollo\-W-\/\-Broodwar\-Bot\-Q-\/f01ab56/src/\-Micro/\-Goals/\hyperlink{DefendGoal_8cpp}{\-Defend\-Goal.\-cpp}\end{DoxyCompactItemize}
