\hypertarget{DefaultSquad_8cpp}{\section{\-Skynet/\-Skynet/\-Default\-Squad.cpp \-File \-Reference}
\label{DefaultSquad_8cpp}\index{\-Skynet/\-Skynet/\-Default\-Squad.\-cpp@{\-Skynet/\-Skynet/\-Default\-Squad.\-cpp}}
}
{\ttfamily \#include \char`\"{}\-Default\-Squad.\-h\char`\"{}}\*
{\ttfamily \#include \char`\"{}\-Unit\-Tracker.\-h\char`\"{}}\*
{\ttfamily \#include \char`\"{}\-Base\-Tracker.\-h\char`\"{}}\*
{\ttfamily \#include \char`\"{}\-Border\-Tracker.\-h\char`\"{}}\*
{\ttfamily \#include \char`\"{}\-Build\-Order\-Manager.\-h\char`\"{}}\*
{\ttfamily \#include \char`\"{}\-Player\-Tracker.\-h\char`\"{}}\*
{\ttfamily \#include \char`\"{}\-Unit\-Helper.\-h\char`\"{}}\*
{\ttfamily \#include \char`\"{}\-Game\-Progress\-Detection.\-h\char`\"{}}\*
\-Include dependency graph for \-Default\-Squad.\-cpp\-:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{DefaultSquad_8cpp__incl}
\end{center}
\end{figure}
\subsection*{\-Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{classBorderPosition}{\-Border\-Position} \hyperlink{DefaultSquad_8cpp_a32f6adc427090b870bb3f9ecb16e8995}{get\-Largest\-Choke} (const std\-::set$<$ \hyperlink{classBorderPosition}{\-Border\-Position} $>$ \&chokes)
\end{DoxyCompactItemize}


\subsection{\-Function \-Documentation}
\hypertarget{DefaultSquad_8cpp_a32f6adc427090b870bb3f9ecb16e8995}{\index{\-Default\-Squad.\-cpp@{\-Default\-Squad.\-cpp}!get\-Largest\-Choke@{get\-Largest\-Choke}}
\index{get\-Largest\-Choke@{get\-Largest\-Choke}!DefaultSquad.cpp@{\-Default\-Squad.\-cpp}}
\subsubsection[{get\-Largest\-Choke}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-Border\-Position} {\bf get\-Largest\-Choke} (
\begin{DoxyParamCaption}
\item[{const std\-::set$<$ {\bf \-Border\-Position} $>$ \&}]{chokes}
\end{DoxyParamCaption}
)}}\label{DefaultSquad_8cpp_a32f6adc427090b870bb3f9ecb16e8995}


\-Definition at line 49 of file \-Default\-Squad.\-cpp.



\-References \-Border\-Position\-::m\-Choke.



\-Referenced by \-Default\-Squad\-Task\-::update().


\begin{DoxyCode}
{
        int largestChokeSize = 0;
        BorderPosition largestChoke;
        for each(BorderPosition border in chokes)
        {
                int chokeSize = border.mChoke->getClearance();
                if(chokeSize > largestChokeSize)
                {
                        largestChoke = border;
                        largestChokeSize = chokeSize;
                }
        }

        return largestChoke;
}
\end{DoxyCode}


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


