\hypertarget{classAvoidNukeGoal}{\section{\-Avoid\-Nuke\-Goal \-Class \-Reference}
\label{classAvoidNukeGoal}\index{\-Avoid\-Nuke\-Goal@{\-Avoid\-Nuke\-Goal}}
}


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



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


\-Collaboration diagram for \-Avoid\-Nuke\-Goal\-:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=550pt]{classAvoidNukeGoal__coll__graph}
\end{center}
\end{figure}
\subsection*{\-Public \-Member \-Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{classAvoidNukeGoal_a507cc0512c87ec07a5e6bcc701954210}{\-Avoid\-Nuke\-Goal} (\-B\-W\-A\-P\-I\-::\-Position target)
\item 
void \hyperlink{classAvoidNukeGoal_a1c6b114fe84b9e55ff9af3c17e3c9174}{achieve} ()
\end{DoxyCompactItemize}


\subsection{\-Constructor \& \-Destructor \-Documentation}
\hypertarget{classAvoidNukeGoal_a507cc0512c87ec07a5e6bcc701954210}{\index{\-Avoid\-Nuke\-Goal@{\-Avoid\-Nuke\-Goal}!\-Avoid\-Nuke\-Goal@{\-Avoid\-Nuke\-Goal}}
\index{\-Avoid\-Nuke\-Goal@{\-Avoid\-Nuke\-Goal}!AvoidNukeGoal@{\-Avoid\-Nuke\-Goal}}
\subsubsection[{\-Avoid\-Nuke\-Goal}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-Avoid\-Nuke\-Goal\-::\-Avoid\-Nuke\-Goal} (
\begin{DoxyParamCaption}
\item[{\-B\-W\-A\-P\-I\-::\-Position}]{target}
\end{DoxyParamCaption}
)}}\label{classAvoidNukeGoal_a507cc0512c87ec07a5e6bcc701954210}
\-Either we have detected the ghost(s) from the start and try and kill them \-Or we have not and we flee the nuke \-We assume that the detected ghost(s) around are responsible for the nuke /!$\backslash$ \-This goal do not call \-\_\-units\-Group.\-update() /!$\backslash$/ 

\subsection{\-Member \-Function \-Documentation}
\hypertarget{classAvoidNukeGoal_a1c6b114fe84b9e55ff9af3c17e3c9174}{\index{\-Avoid\-Nuke\-Goal@{\-Avoid\-Nuke\-Goal}!achieve@{achieve}}
\index{achieve@{achieve}!AvoidNukeGoal@{\-Avoid\-Nuke\-Goal}}
\subsubsection[{achieve}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf \-Avoid\-Nuke\-Goal\-::achieve} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}\label{classAvoidNukeGoal_a1c6b114fe84b9e55ff9af3c17e3c9174}
\-Check for the end of the \-Nuke

\-Remove killed ghosts

(\-We could also put potential damages in the damages map?)

\-Kill the ghosts

\-To late to try and kill the ghost (14 seconds to drop the \-Nuke)

\-Flee the nuke 

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



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




\-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{AvoidNukeGoal_8h}{\-Avoid\-Nuke\-Goal.\-h}\item 
\-Snippy\-Hollo\-W-\/\-Broodwar\-Bot\-Q-\/f01ab56/src/\-Micro/\-Goals/\hyperlink{AvoidNukeGoal_8cpp}{\-Avoid\-Nuke\-Goal.\-cpp}\end{DoxyCompactItemize}
