\hypertarget{classProtectUnitTask}{\section{\-Protect\-Unit\-Task \-Class \-Reference}
\label{classProtectUnitTask}\index{\-Protect\-Unit\-Task@{\-Protect\-Unit\-Task}}
}


{\ttfamily \#include $<$\-Protect\-Unit\-Task.\-h$>$}



\-Inheritance diagram for \-Protect\-Unit\-Task\-:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=550pt]{classProtectUnitTask__inherit__graph}
\end{center}
\end{figure}


\-Collaboration diagram for \-Protect\-Unit\-Task\-:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=550pt]{classProtectUnitTask__coll__graph}
\end{center}
\end{figure}
\subsection*{\-Public \-Member \-Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{classProtectUnitTask_a948eab4cf5c244b02f14a27623b72354}{\-Protect\-Unit\-Task} (\hyperlink{classAgent}{\-Agent} $\ast$agent, \hyperlink{classEnvironment}{\-Environment} $\ast$env)
\item 
virtual \hyperlink{classProtectUnitTask_ab6fcf6cd18c70414b4be1c52e8f6f9d4}{$\sim$\-Protect\-Unit\-Task} (void)
\item 
virtual void \hyperlink{classProtectUnitTask_a261a76f238855221a4d3d54452ed392a}{add\-Agent} (\hyperlink{classAgent}{\-Agent} $\ast$agent)
\item 
virtual void \hyperlink{classProtectUnitTask_a725b30904309512b2cd68347c755bda5}{remove\-Agent} (\hyperlink{classAgent}{\-Agent} $\ast$agent)
\item 
\hyperlink{classAgent}{\-Agent} $\ast$ \hyperlink{classProtectUnitTask_a5bb5b673d8890532fcfeeb827df46d44}{get\-Protected\-Agent} ()
\item 
\-Unit $\ast$ \hyperlink{classProtectUnitTask_a67c5648c6e5852d906fdfd6435c5ee8d}{get\-Target\-Enemy} ()
\item 
int \hyperlink{classProtectUnitTask_a57211f63725eadee8075c67bdd16b00a}{get\-Ready\-Range} ()
\item 
\-Position \hyperlink{classProtectUnitTask_ae01239258c8a3a37628678dd3708d4d3}{get\-Group\-Position} ()
\item 
virtual void \hyperlink{classProtectUnitTask_aa73ecd2561390b558d3ee14c34405557}{calculate\-Priority} ()
\item 
virtual double \hyperlink{classProtectUnitTask_adac8021b7fa0b656cf5485e1cebc1a0e}{evaluate\-Aptitude} (\hyperlink{classAgent}{\-Agent} $\ast$agent)
\item 
virtual void \hyperlink{classProtectUnitTask_af75354071ad8f69fea35c198f53257dc}{evaluate\-Status} ()
\item 
virtual void \hyperlink{classProtectUnitTask_abadcc26b52953ebd1ffad5d35156e819}{evaluate\-Needed\-Units} ()
\item 
virtual bool \hyperlink{classProtectUnitTask_ae0d9e4b7a1cdf88fc92fd8c367b15dd2}{execute} (\hyperlink{classAgent}{\-Agent} $\ast$agent)
\end{DoxyCompactItemize}
\subsection*{\-Static \-Public \-Member \-Functions}
\begin{DoxyCompactItemize}
\item 
static void \hyperlink{classProtectUnitTask_a1cc6fe336fabab79712b609bf5933bce}{generate\-Necessary\-Tasks} (\hyperlink{classEnvironment}{\-Environment} $\ast$env)
\end{DoxyCompactItemize}
\subsection*{\-Protected \-Member \-Functions}
\begin{DoxyCompactItemize}
\item 
bool \hyperlink{classProtectUnitTask_aad5df3bb48bbbfe13b59c6beb8fb11ac}{marine\-Execute} (\hyperlink{classAgent}{\-Agent} $\ast$agent)
\item 
bool \hyperlink{classProtectUnitTask_abe0db52a0689e2f9bac547250ce8dea8}{medic\-Execute} (\hyperlink{classAgent}{\-Agent} $\ast$agent)
\item 
bool \hyperlink{classProtectUnitTask_a0c7f16290d2ae23180accc62e2a1a8c6}{wraith\-Execute} (\hyperlink{classAgent}{\-Agent} $\ast$agent)
\item 
bool \hyperlink{classProtectUnitTask_a2f80c8d97cea1a3d2d9c78cdce8fbcad}{tank\-Execute} (\hyperlink{classAgent}{\-Agent} $\ast$agent)
\item 
bool \hyperlink{classProtectUnitTask_a054233e9da4079351b8ecaed8669c960}{siege\-Execute} (\hyperlink{classAgent}{\-Agent} $\ast$agent)
\end{DoxyCompactItemize}
\subsection*{\-Protected \-Attributes}
\begin{DoxyCompactItemize}
\item 
\hyperlink{classAgent}{\-Agent} $\ast$ \hyperlink{classProtectUnitTask_ab023a81e3d855faca26c07b5bc850cdb}{\-\_\-protected\-Agent}
\item 
int \hyperlink{classProtectUnitTask_a844e796d15d12a8ee9150b91b285f406}{\-\_\-needed\-Units}
\item 
\-Unit $\ast$ \hyperlink{classProtectUnitTask_ad3b0627f46a35abcc48c0d618658ae14}{\-\_\-target\-Enemy}
\item 
int \hyperlink{classProtectUnitTask_ad63f302c70d7532840a4bbb2fc1016e7}{\-\_\-ready\-Range}
\item 
\-Position \hyperlink{classProtectUnitTask_ac79e0edd380a362351631689e1d7d8f7}{\-\_\-group\-Position}
\item 
\hyperlink{classAgent}{\-Agent} $\ast$ \hyperlink{classProtectUnitTask_a191ed91e237cb012f06cee340573cdab}{\-\_\-center\-Agent}
\end{DoxyCompactItemize}


\subsection{\-Constructor \& \-Destructor \-Documentation}
\hypertarget{classProtectUnitTask_a948eab4cf5c244b02f14a27623b72354}{\index{\-Protect\-Unit\-Task@{\-Protect\-Unit\-Task}!\-Protect\-Unit\-Task@{\-Protect\-Unit\-Task}}
\index{\-Protect\-Unit\-Task@{\-Protect\-Unit\-Task}!ProtectUnitTask@{\-Protect\-Unit\-Task}}
\subsubsection[{\-Protect\-Unit\-Task}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-Protect\-Unit\-Task\-::\-Protect\-Unit\-Task} (
\begin{DoxyParamCaption}
\item[{{\bf \-Agent} $\ast$}]{agent, }
\item[{{\bf \-Environment} $\ast$}]{env}
\end{DoxyParamCaption}
)}}\label{classProtectUnitTask_a948eab4cf5c244b02f14a27623b72354}


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




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


\hypertarget{classProtectUnitTask_ab6fcf6cd18c70414b4be1c52e8f6f9d4}{\index{\-Protect\-Unit\-Task@{\-Protect\-Unit\-Task}!$\sim$\-Protect\-Unit\-Task@{$\sim$\-Protect\-Unit\-Task}}
\index{$\sim$\-Protect\-Unit\-Task@{$\sim$\-Protect\-Unit\-Task}!ProtectUnitTask@{\-Protect\-Unit\-Task}}
\subsubsection[{$\sim$\-Protect\-Unit\-Task}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-Protect\-Unit\-Task\-::$\sim$\-Protect\-Unit\-Task} (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}\label{classProtectUnitTask_ab6fcf6cd18c70414b4be1c52e8f6f9d4}


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




\subsection{\-Member \-Function \-Documentation}
\hypertarget{classProtectUnitTask_a261a76f238855221a4d3d54452ed392a}{\index{\-Protect\-Unit\-Task@{\-Protect\-Unit\-Task}!add\-Agent@{add\-Agent}}
\index{add\-Agent@{add\-Agent}!ProtectUnitTask@{\-Protect\-Unit\-Task}}
\subsubsection[{add\-Agent}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf \-Protect\-Unit\-Task\-::add\-Agent} (
\begin{DoxyParamCaption}
\item[{{\bf \-Agent} $\ast$}]{agent}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}\label{classProtectUnitTask_a261a76f238855221a4d3d54452ed392a}


\-Reimplemented from \hyperlink{classTask_a04857726e29a5c20e7f76d925b52c79c}{\-Task}.



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


\hypertarget{classProtectUnitTask_aa73ecd2561390b558d3ee14c34405557}{\index{\-Protect\-Unit\-Task@{\-Protect\-Unit\-Task}!calculate\-Priority@{calculate\-Priority}}
\index{calculate\-Priority@{calculate\-Priority}!ProtectUnitTask@{\-Protect\-Unit\-Task}}
\subsubsection[{calculate\-Priority}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf \-Protect\-Unit\-Task\-::calculate\-Priority} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}\label{classProtectUnitTask_aa73ecd2561390b558d3ee14c34405557}


\-Implements \hyperlink{classTask_aeaa337dce1c537422242cfb0838b47c2}{\-Task}.



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


\hypertarget{classProtectUnitTask_adac8021b7fa0b656cf5485e1cebc1a0e}{\index{\-Protect\-Unit\-Task@{\-Protect\-Unit\-Task}!evaluate\-Aptitude@{evaluate\-Aptitude}}
\index{evaluate\-Aptitude@{evaluate\-Aptitude}!ProtectUnitTask@{\-Protect\-Unit\-Task}}
\subsubsection[{evaluate\-Aptitude}]{\setlength{\rightskip}{0pt plus 5cm}double {\bf \-Protect\-Unit\-Task\-::evaluate\-Aptitude} (
\begin{DoxyParamCaption}
\item[{{\bf \-Agent} $\ast$}]{agent}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}\label{classProtectUnitTask_adac8021b7fa0b656cf5485e1cebc1a0e}


\-Implements \hyperlink{classTask_a52dcd78d317cb21b4deb7fc0bdcdc976}{\-Task}.



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


\hypertarget{classProtectUnitTask_abadcc26b52953ebd1ffad5d35156e819}{\index{\-Protect\-Unit\-Task@{\-Protect\-Unit\-Task}!evaluate\-Needed\-Units@{evaluate\-Needed\-Units}}
\index{evaluate\-Needed\-Units@{evaluate\-Needed\-Units}!ProtectUnitTask@{\-Protect\-Unit\-Task}}
\subsubsection[{evaluate\-Needed\-Units}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf \-Protect\-Unit\-Task\-::evaluate\-Needed\-Units} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}\label{classProtectUnitTask_abadcc26b52953ebd1ffad5d35156e819}


\-Implements \hyperlink{classTask_a24042bca01a0a6b11f8df106a6fdbfde}{\-Task}.

\hypertarget{classProtectUnitTask_af75354071ad8f69fea35c198f53257dc}{\index{\-Protect\-Unit\-Task@{\-Protect\-Unit\-Task}!evaluate\-Status@{evaluate\-Status}}
\index{evaluate\-Status@{evaluate\-Status}!ProtectUnitTask@{\-Protect\-Unit\-Task}}
\subsubsection[{evaluate\-Status}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf \-Protect\-Unit\-Task\-::evaluate\-Status} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}\label{classProtectUnitTask_af75354071ad8f69fea35c198f53257dc}


\-Implements \hyperlink{classTask_a174dedffa7cea9d7276d60d8333f12d4}{\-Task}.



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


\hypertarget{classProtectUnitTask_ae0d9e4b7a1cdf88fc92fd8c367b15dd2}{\index{\-Protect\-Unit\-Task@{\-Protect\-Unit\-Task}!execute@{execute}}
\index{execute@{execute}!ProtectUnitTask@{\-Protect\-Unit\-Task}}
\subsubsection[{execute}]{\setlength{\rightskip}{0pt plus 5cm}bool {\bf \-Protect\-Unit\-Task\-::execute} (
\begin{DoxyParamCaption}
\item[{{\bf \-Agent} $\ast$}]{agent}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}\label{classProtectUnitTask_ae0d9e4b7a1cdf88fc92fd8c367b15dd2}


\-Implements \hyperlink{classTask_a58fe17b77f88f108f4a72d305b066c9f}{\-Task}.



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


\hypertarget{classProtectUnitTask_a1cc6fe336fabab79712b609bf5933bce}{\index{\-Protect\-Unit\-Task@{\-Protect\-Unit\-Task}!generate\-Necessary\-Tasks@{generate\-Necessary\-Tasks}}
\index{generate\-Necessary\-Tasks@{generate\-Necessary\-Tasks}!ProtectUnitTask@{\-Protect\-Unit\-Task}}
\subsubsection[{generate\-Necessary\-Tasks}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf \-Protect\-Unit\-Task\-::generate\-Necessary\-Tasks} (
\begin{DoxyParamCaption}
\item[{{\bf \-Environment} $\ast$}]{env}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}static\mbox{]}}}}\label{classProtectUnitTask_a1cc6fe336fabab79712b609bf5933bce}


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


\hypertarget{classProtectUnitTask_ae01239258c8a3a37628678dd3708d4d3}{\index{\-Protect\-Unit\-Task@{\-Protect\-Unit\-Task}!get\-Group\-Position@{get\-Group\-Position}}
\index{get\-Group\-Position@{get\-Group\-Position}!ProtectUnitTask@{\-Protect\-Unit\-Task}}
\subsubsection[{get\-Group\-Position}]{\setlength{\rightskip}{0pt plus 5cm}\-Position {\bf \-Protect\-Unit\-Task\-::get\-Group\-Position} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{classProtectUnitTask_ae01239258c8a3a37628678dd3708d4d3}


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


\hypertarget{classProtectUnitTask_a5bb5b673d8890532fcfeeb827df46d44}{\index{\-Protect\-Unit\-Task@{\-Protect\-Unit\-Task}!get\-Protected\-Agent@{get\-Protected\-Agent}}
\index{get\-Protected\-Agent@{get\-Protected\-Agent}!ProtectUnitTask@{\-Protect\-Unit\-Task}}
\subsubsection[{get\-Protected\-Agent}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-Agent} $\ast$ {\bf \-Protect\-Unit\-Task\-::get\-Protected\-Agent} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{classProtectUnitTask_a5bb5b673d8890532fcfeeb827df46d44}


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


\hypertarget{classProtectUnitTask_a57211f63725eadee8075c67bdd16b00a}{\index{\-Protect\-Unit\-Task@{\-Protect\-Unit\-Task}!get\-Ready\-Range@{get\-Ready\-Range}}
\index{get\-Ready\-Range@{get\-Ready\-Range}!ProtectUnitTask@{\-Protect\-Unit\-Task}}
\subsubsection[{get\-Ready\-Range}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf \-Protect\-Unit\-Task\-::get\-Ready\-Range} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{classProtectUnitTask_a57211f63725eadee8075c67bdd16b00a}


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


\hypertarget{classProtectUnitTask_a67c5648c6e5852d906fdfd6435c5ee8d}{\index{\-Protect\-Unit\-Task@{\-Protect\-Unit\-Task}!get\-Target\-Enemy@{get\-Target\-Enemy}}
\index{get\-Target\-Enemy@{get\-Target\-Enemy}!ProtectUnitTask@{\-Protect\-Unit\-Task}}
\subsubsection[{get\-Target\-Enemy}]{\setlength{\rightskip}{0pt plus 5cm}\-Unit $\ast$ {\bf \-Protect\-Unit\-Task\-::get\-Target\-Enemy} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{classProtectUnitTask_a67c5648c6e5852d906fdfd6435c5ee8d}


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


\hypertarget{classProtectUnitTask_aad5df3bb48bbbfe13b59c6beb8fb11ac}{\index{\-Protect\-Unit\-Task@{\-Protect\-Unit\-Task}!marine\-Execute@{marine\-Execute}}
\index{marine\-Execute@{marine\-Execute}!ProtectUnitTask@{\-Protect\-Unit\-Task}}
\subsubsection[{marine\-Execute}]{\setlength{\rightskip}{0pt plus 5cm}bool {\bf \-Protect\-Unit\-Task\-::marine\-Execute} (
\begin{DoxyParamCaption}
\item[{{\bf \-Agent} $\ast$}]{agent}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}protected\mbox{]}}}}\label{classProtectUnitTask_aad5df3bb48bbbfe13b59c6beb8fb11ac}


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




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


\hypertarget{classProtectUnitTask_abe0db52a0689e2f9bac547250ce8dea8}{\index{\-Protect\-Unit\-Task@{\-Protect\-Unit\-Task}!medic\-Execute@{medic\-Execute}}
\index{medic\-Execute@{medic\-Execute}!ProtectUnitTask@{\-Protect\-Unit\-Task}}
\subsubsection[{medic\-Execute}]{\setlength{\rightskip}{0pt plus 5cm}bool {\bf \-Protect\-Unit\-Task\-::medic\-Execute} (
\begin{DoxyParamCaption}
\item[{{\bf \-Agent} $\ast$}]{agent}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}protected\mbox{]}}}}\label{classProtectUnitTask_abe0db52a0689e2f9bac547250ce8dea8}


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




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


\hypertarget{classProtectUnitTask_a725b30904309512b2cd68347c755bda5}{\index{\-Protect\-Unit\-Task@{\-Protect\-Unit\-Task}!remove\-Agent@{remove\-Agent}}
\index{remove\-Agent@{remove\-Agent}!ProtectUnitTask@{\-Protect\-Unit\-Task}}
\subsubsection[{remove\-Agent}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf \-Protect\-Unit\-Task\-::remove\-Agent} (
\begin{DoxyParamCaption}
\item[{{\bf \-Agent} $\ast$}]{agent}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}\label{classProtectUnitTask_a725b30904309512b2cd68347c755bda5}


\-Reimplemented from \hyperlink{classTask_a7af4b2dfcf677383eff7d0e5b7f73329}{\-Task}.



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


\hypertarget{classProtectUnitTask_a054233e9da4079351b8ecaed8669c960}{\index{\-Protect\-Unit\-Task@{\-Protect\-Unit\-Task}!siege\-Execute@{siege\-Execute}}
\index{siege\-Execute@{siege\-Execute}!ProtectUnitTask@{\-Protect\-Unit\-Task}}
\subsubsection[{siege\-Execute}]{\setlength{\rightskip}{0pt plus 5cm}bool {\bf \-Protect\-Unit\-Task\-::siege\-Execute} (
\begin{DoxyParamCaption}
\item[{{\bf \-Agent} $\ast$}]{agent}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}protected\mbox{]}}}}\label{classProtectUnitTask_a054233e9da4079351b8ecaed8669c960}


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




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


\hypertarget{classProtectUnitTask_a2f80c8d97cea1a3d2d9c78cdce8fbcad}{\index{\-Protect\-Unit\-Task@{\-Protect\-Unit\-Task}!tank\-Execute@{tank\-Execute}}
\index{tank\-Execute@{tank\-Execute}!ProtectUnitTask@{\-Protect\-Unit\-Task}}
\subsubsection[{tank\-Execute}]{\setlength{\rightskip}{0pt plus 5cm}bool {\bf \-Protect\-Unit\-Task\-::tank\-Execute} (
\begin{DoxyParamCaption}
\item[{{\bf \-Agent} $\ast$}]{agent}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}protected\mbox{]}}}}\label{classProtectUnitTask_a2f80c8d97cea1a3d2d9c78cdce8fbcad}


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




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


\hypertarget{classProtectUnitTask_a0c7f16290d2ae23180accc62e2a1a8c6}{\index{\-Protect\-Unit\-Task@{\-Protect\-Unit\-Task}!wraith\-Execute@{wraith\-Execute}}
\index{wraith\-Execute@{wraith\-Execute}!ProtectUnitTask@{\-Protect\-Unit\-Task}}
\subsubsection[{wraith\-Execute}]{\setlength{\rightskip}{0pt plus 5cm}bool {\bf \-Protect\-Unit\-Task\-::wraith\-Execute} (
\begin{DoxyParamCaption}
\item[{{\bf \-Agent} $\ast$}]{agent}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}protected\mbox{]}}}}\label{classProtectUnitTask_a0c7f16290d2ae23180accc62e2a1a8c6}


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




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




\subsection{\-Member \-Data \-Documentation}
\hypertarget{classProtectUnitTask_a191ed91e237cb012f06cee340573cdab}{\index{\-Protect\-Unit\-Task@{\-Protect\-Unit\-Task}!\-\_\-center\-Agent@{\-\_\-center\-Agent}}
\index{\-\_\-center\-Agent@{\-\_\-center\-Agent}!ProtectUnitTask@{\-Protect\-Unit\-Task}}
\subsubsection[{\-\_\-center\-Agent}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-Agent}$\ast$ {\bf \-Protect\-Unit\-Task\-::\-\_\-center\-Agent}\hspace{0.3cm}{\ttfamily  \mbox{[}protected\mbox{]}}}}\label{classProtectUnitTask_a191ed91e237cb012f06cee340573cdab}
\hypertarget{classProtectUnitTask_ac79e0edd380a362351631689e1d7d8f7}{\index{\-Protect\-Unit\-Task@{\-Protect\-Unit\-Task}!\-\_\-group\-Position@{\-\_\-group\-Position}}
\index{\-\_\-group\-Position@{\-\_\-group\-Position}!ProtectUnitTask@{\-Protect\-Unit\-Task}}
\subsubsection[{\-\_\-group\-Position}]{\setlength{\rightskip}{0pt plus 5cm}\-Position {\bf \-Protect\-Unit\-Task\-::\-\_\-group\-Position}\hspace{0.3cm}{\ttfamily  \mbox{[}protected\mbox{]}}}}\label{classProtectUnitTask_ac79e0edd380a362351631689e1d7d8f7}
\hypertarget{classProtectUnitTask_a844e796d15d12a8ee9150b91b285f406}{\index{\-Protect\-Unit\-Task@{\-Protect\-Unit\-Task}!\-\_\-needed\-Units@{\-\_\-needed\-Units}}
\index{\-\_\-needed\-Units@{\-\_\-needed\-Units}!ProtectUnitTask@{\-Protect\-Unit\-Task}}
\subsubsection[{\-\_\-needed\-Units}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf \-Protect\-Unit\-Task\-::\-\_\-needed\-Units}\hspace{0.3cm}{\ttfamily  \mbox{[}protected\mbox{]}}}}\label{classProtectUnitTask_a844e796d15d12a8ee9150b91b285f406}
\hypertarget{classProtectUnitTask_ab023a81e3d855faca26c07b5bc850cdb}{\index{\-Protect\-Unit\-Task@{\-Protect\-Unit\-Task}!\-\_\-protected\-Agent@{\-\_\-protected\-Agent}}
\index{\-\_\-protected\-Agent@{\-\_\-protected\-Agent}!ProtectUnitTask@{\-Protect\-Unit\-Task}}
\subsubsection[{\-\_\-protected\-Agent}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-Agent}$\ast$ {\bf \-Protect\-Unit\-Task\-::\-\_\-protected\-Agent}\hspace{0.3cm}{\ttfamily  \mbox{[}protected\mbox{]}}}}\label{classProtectUnitTask_ab023a81e3d855faca26c07b5bc850cdb}
\hypertarget{classProtectUnitTask_ad63f302c70d7532840a4bbb2fc1016e7}{\index{\-Protect\-Unit\-Task@{\-Protect\-Unit\-Task}!\-\_\-ready\-Range@{\-\_\-ready\-Range}}
\index{\-\_\-ready\-Range@{\-\_\-ready\-Range}!ProtectUnitTask@{\-Protect\-Unit\-Task}}
\subsubsection[{\-\_\-ready\-Range}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf \-Protect\-Unit\-Task\-::\-\_\-ready\-Range}\hspace{0.3cm}{\ttfamily  \mbox{[}protected\mbox{]}}}}\label{classProtectUnitTask_ad63f302c70d7532840a4bbb2fc1016e7}
\hypertarget{classProtectUnitTask_ad3b0627f46a35abcc48c0d618658ae14}{\index{\-Protect\-Unit\-Task@{\-Protect\-Unit\-Task}!\-\_\-target\-Enemy@{\-\_\-target\-Enemy}}
\index{\-\_\-target\-Enemy@{\-\_\-target\-Enemy}!ProtectUnitTask@{\-Protect\-Unit\-Task}}
\subsubsection[{\-\_\-target\-Enemy}]{\setlength{\rightskip}{0pt plus 5cm}\-Unit$\ast$ {\bf \-Protect\-Unit\-Task\-::\-\_\-target\-Enemy}\hspace{0.3cm}{\ttfamily  \mbox{[}protected\mbox{]}}}}\label{classProtectUnitTask_ad3b0627f46a35abcc48c0d618658ae14}


\-The documentation for this class was generated from the following files\-:\begin{DoxyCompactItemize}
\item 
\-Tasks/\hyperlink{ProtectUnitTask_8h}{\-Protect\-Unit\-Task.\-h}\item 
\-Tasks/\hyperlink{ProtectUnitTask_8cpp}{\-Protect\-Unit\-Task.\-cpp}\end{DoxyCompactItemize}
