\hypertarget{classUnitInformationClass}{\section{\-Unit\-Information\-Class \-Class \-Reference}
\label{classUnitInformationClass}\index{\-Unit\-Information\-Class@{\-Unit\-Information\-Class}}
}


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

\subsection*{\-Public \-Member \-Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{classUnitInformationClass_a6e3ffffb19069c30fc4c7521e4b9fa21}{\-Unit\-Information\-Class} ()
\item 
void \hyperlink{classUnitInformationClass_ac5e5e9b023c405bf2fd6e3af84a73ae0}{update} ()
\item 
const \hyperlink{classUnitGroup}{\-Unit\-Group} \& \hyperlink{classUnitInformationClass_aee8a01ec4e074ebdd3a99ee5059b6f12}{get\-Units\-Targetting} (\hyperlink{Interface_8h_ab8fbb9e601c27f783b69f16c5a1fd40a}{\-Unit} unit)
\end{DoxyCompactItemize}
\subsection*{\-Private \-Attributes}
\begin{DoxyCompactItemize}
\item 
std\-::map$<$ \hyperlink{Interface_8h_ab8fbb9e601c27f783b69f16c5a1fd40a}{\-Unit}, \hyperlink{classUnitGroup}{\-Unit\-Group} $>$ \hyperlink{classUnitInformationClass_a795557c393996c8e4a4e9a7e2fe31bc2}{m\-Unit\-Targets}
\end{DoxyCompactItemize}


\subsection{\-Detailed \-Description}


\-Definition at line 9 of file \-Unit\-Information.\-h.



\subsection{\-Constructor \& \-Destructor \-Documentation}
\hypertarget{classUnitInformationClass_a6e3ffffb19069c30fc4c7521e4b9fa21}{\index{\-Unit\-Information\-Class@{\-Unit\-Information\-Class}!\-Unit\-Information\-Class@{\-Unit\-Information\-Class}}
\index{\-Unit\-Information\-Class@{\-Unit\-Information\-Class}!UnitInformationClass@{\-Unit\-Information\-Class}}
\subsubsection[{\-Unit\-Information\-Class}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-Unit\-Information\-Class\-::\-Unit\-Information\-Class} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{classUnitInformationClass_a6e3ffffb19069c30fc4c7521e4b9fa21}


\-Definition at line 4 of file \-Unit\-Information.\-cpp.


\begin{DoxyCode}
{
}
\end{DoxyCode}


\subsection{\-Member \-Function \-Documentation}
\hypertarget{classUnitInformationClass_aee8a01ec4e074ebdd3a99ee5059b6f12}{\index{\-Unit\-Information\-Class@{\-Unit\-Information\-Class}!get\-Units\-Targetting@{get\-Units\-Targetting}}
\index{get\-Units\-Targetting@{get\-Units\-Targetting}!UnitInformationClass@{\-Unit\-Information\-Class}}
\subsubsection[{get\-Units\-Targetting}]{\setlength{\rightskip}{0pt plus 5cm}const {\bf \-Unit\-Group}\& {\bf \-Unit\-Information\-Class\-::get\-Units\-Targetting} (
\begin{DoxyParamCaption}
\item[{{\bf \-Unit}}]{unit}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}\label{classUnitInformationClass_aee8a01ec4e074ebdd3a99ee5059b6f12}


\-Definition at line 16 of file \-Unit\-Information.\-h.



\-References m\-Unit\-Targets.


\begin{DoxyCode}
{ return mUnitTargets[unit]; }
\end{DoxyCode}
\hypertarget{classUnitInformationClass_ac5e5e9b023c405bf2fd6e3af84a73ae0}{\index{\-Unit\-Information\-Class@{\-Unit\-Information\-Class}!update@{update}}
\index{update@{update}!UnitInformationClass@{\-Unit\-Information\-Class}}
\subsubsection[{update}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf \-Unit\-Information\-Class\-::update} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{classUnitInformationClass_ac5e5e9b023c405bf2fd6e3af84a73ae0}


\-Definition at line 8 of file \-Unit\-Information.\-cpp.



\-References \-Singleton$<$ T $>$\-::\-Instance(), and m\-Unit\-Targets.


\begin{DoxyCode}
{
        mUnitTargets.clear();
        for each(Unit unit in UnitTracker::Instance().getAllUnits())
        {
                if(unit->getTarget())
                        mUnitTargets[unit->getTarget()].insert(unit);
        }
}\end{DoxyCode}


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




\subsection{\-Member \-Data \-Documentation}
\hypertarget{classUnitInformationClass_a795557c393996c8e4a4e9a7e2fe31bc2}{\index{\-Unit\-Information\-Class@{\-Unit\-Information\-Class}!m\-Unit\-Targets@{m\-Unit\-Targets}}
\index{m\-Unit\-Targets@{m\-Unit\-Targets}!UnitInformationClass@{\-Unit\-Information\-Class}}
\subsubsection[{m\-Unit\-Targets}]{\setlength{\rightskip}{0pt plus 5cm}std\-::map$<${\bf \-Unit}, {\bf \-Unit\-Group}$>$ {\bf \-Unit\-Information\-Class\-::m\-Unit\-Targets}\hspace{0.3cm}{\ttfamily  \mbox{[}private\mbox{]}}}}\label{classUnitInformationClass_a795557c393996c8e4a4e9a7e2fe31bc2}


\-Definition at line 19 of file \-Unit\-Information.\-h.



\-Referenced by get\-Units\-Targetting(), and update().



\-The documentation for this class was generated from the following files\-:\begin{DoxyCompactItemize}
\item 
\-Skynet/\-Skynet/\hyperlink{UnitInformation_8h}{\-Unit\-Information.\-h}\item 
\-Skynet/\-Skynet/\hyperlink{UnitInformation_8cpp}{\-Unit\-Information.\-cpp}\end{DoxyCompactItemize}
