\hypertarget{classBWAPI_1_1DamageType}{\section{\-B\-W\-A\-P\-I\-:\-:\-Damage\-Type \-Class \-Reference}
\label{classBWAPI_1_1DamageType}\index{\-B\-W\-A\-P\-I\-::\-Damage\-Type@{\-B\-W\-A\-P\-I\-::\-Damage\-Type}}
}


{\ttfamily \#include $<$\-Damage\-Type.\-h$>$}

\subsection*{\-Public \-Member \-Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{classBWAPI_1_1DamageType_a290a81c55d0a84cceabdd1be18595c00}{\-Damage\-Type} ()
\item 
\hyperlink{classBWAPI_1_1DamageType_a3de826ee593e69d58c9ee4331782cfaf}{\-Damage\-Type} (int id)
\item 
\hyperlink{classBWAPI_1_1DamageType_a75ed9e89a4ff867e7033f251124dfc61}{\-Damage\-Type} (const \hyperlink{classBWAPI_1_1DamageType}{\-Damage\-Type} \&other)
\item 
\hyperlink{classBWAPI_1_1DamageType}{\-Damage\-Type} \& \hyperlink{classBWAPI_1_1DamageType_a3ced570ee6e5e8eadc9fbf9a8aa199a1}{operator=} (const \hyperlink{classBWAPI_1_1DamageType}{\-Damage\-Type} \&other)
\item 
\hyperlink{classBWAPI_1_1DamageType_ad0b7b1bf170fb51c67dbc7b8f86525ff}{operator int} () const 
\item 
int \hyperlink{classBWAPI_1_1DamageType_a318457ebd84aa3ca57f3ee9f4f14c722}{get\-I\-D} () const 
\item 
std\-::string \hyperlink{classBWAPI_1_1DamageType_a3bb4985ca30308814fe33c9ddd8c6810}{get\-Name} () const 
\end{DoxyCompactItemize}


\subsection{\-Constructor \& \-Destructor \-Documentation}
\hypertarget{classBWAPI_1_1DamageType_a290a81c55d0a84cceabdd1be18595c00}{\index{\-B\-W\-A\-P\-I\-::\-Damage\-Type@{\-B\-W\-A\-P\-I\-::\-Damage\-Type}!\-Damage\-Type@{\-Damage\-Type}}
\index{\-Damage\-Type@{\-Damage\-Type}!BWAPI::DamageType@{\-B\-W\-A\-P\-I\-::\-Damage\-Type}}
\subsubsection[{\-Damage\-Type}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-B\-W\-A\-P\-I\-::\-Damage\-Type\-::\-Damage\-Type} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{classBWAPI_1_1DamageType_a290a81c55d0a84cceabdd1be18595c00}
\hypertarget{classBWAPI_1_1DamageType_a3de826ee593e69d58c9ee4331782cfaf}{\index{\-B\-W\-A\-P\-I\-::\-Damage\-Type@{\-B\-W\-A\-P\-I\-::\-Damage\-Type}!\-Damage\-Type@{\-Damage\-Type}}
\index{\-Damage\-Type@{\-Damage\-Type}!BWAPI::DamageType@{\-B\-W\-A\-P\-I\-::\-Damage\-Type}}
\subsubsection[{\-Damage\-Type}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-B\-W\-A\-P\-I\-::\-Damage\-Type\-::\-Damage\-Type} (
\begin{DoxyParamCaption}
\item[{int}]{id}
\end{DoxyParamCaption}
)}}\label{classBWAPI_1_1DamageType_a3de826ee593e69d58c9ee4331782cfaf}
\hypertarget{classBWAPI_1_1DamageType_a75ed9e89a4ff867e7033f251124dfc61}{\index{\-B\-W\-A\-P\-I\-::\-Damage\-Type@{\-B\-W\-A\-P\-I\-::\-Damage\-Type}!\-Damage\-Type@{\-Damage\-Type}}
\index{\-Damage\-Type@{\-Damage\-Type}!BWAPI::DamageType@{\-B\-W\-A\-P\-I\-::\-Damage\-Type}}
\subsubsection[{\-Damage\-Type}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-B\-W\-A\-P\-I\-::\-Damage\-Type\-::\-Damage\-Type} (
\begin{DoxyParamCaption}
\item[{const {\bf \-Damage\-Type} \&}]{other}
\end{DoxyParamCaption}
)}}\label{classBWAPI_1_1DamageType_a75ed9e89a4ff867e7033f251124dfc61}


\subsection{\-Member \-Function \-Documentation}
\hypertarget{classBWAPI_1_1DamageType_a318457ebd84aa3ca57f3ee9f4f14c722}{\index{\-B\-W\-A\-P\-I\-::\-Damage\-Type@{\-B\-W\-A\-P\-I\-::\-Damage\-Type}!get\-I\-D@{get\-I\-D}}
\index{get\-I\-D@{get\-I\-D}!BWAPI::DamageType@{\-B\-W\-A\-P\-I\-::\-Damage\-Type}}
\subsubsection[{get\-I\-D}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf \-B\-W\-A\-P\-I\-::\-Damage\-Type\-::get\-I\-D} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{classBWAPI_1_1DamageType_a318457ebd84aa3ca57f3ee9f4f14c722}
\-Returns a unique \-I\-D for this damage type. \hypertarget{classBWAPI_1_1DamageType_a3bb4985ca30308814fe33c9ddd8c6810}{\index{\-B\-W\-A\-P\-I\-::\-Damage\-Type@{\-B\-W\-A\-P\-I\-::\-Damage\-Type}!get\-Name@{get\-Name}}
\index{get\-Name@{get\-Name}!BWAPI::DamageType@{\-B\-W\-A\-P\-I\-::\-Damage\-Type}}
\subsubsection[{get\-Name}]{\setlength{\rightskip}{0pt plus 5cm}std\-::string {\bf \-B\-W\-A\-P\-I\-::\-Damage\-Type\-::get\-Name} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{classBWAPI_1_1DamageType_a3bb4985ca30308814fe33c9ddd8c6810}
\-Returns the name of this damage type. \-For example \-Damage\-Types\-::\-Explosive.\-get\-Name() will return std\-::string(\char`\"{}\-Explosive\char`\"{}). \hypertarget{classBWAPI_1_1DamageType_ad0b7b1bf170fb51c67dbc7b8f86525ff}{\index{\-B\-W\-A\-P\-I\-::\-Damage\-Type@{\-B\-W\-A\-P\-I\-::\-Damage\-Type}!operator int@{operator int}}
\index{operator int@{operator int}!BWAPI::DamageType@{\-B\-W\-A\-P\-I\-::\-Damage\-Type}}
\subsubsection[{operator int}]{\setlength{\rightskip}{0pt plus 5cm}\-B\-W\-A\-P\-I\-::\-Damage\-Type\-::operator int (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{classBWAPI_1_1DamageType_ad0b7b1bf170fb51c67dbc7b8f86525ff}
\hypertarget{classBWAPI_1_1DamageType_a3ced570ee6e5e8eadc9fbf9a8aa199a1}{\index{\-B\-W\-A\-P\-I\-::\-Damage\-Type@{\-B\-W\-A\-P\-I\-::\-Damage\-Type}!operator=@{operator=}}
\index{operator=@{operator=}!BWAPI::DamageType@{\-B\-W\-A\-P\-I\-::\-Damage\-Type}}
\subsubsection[{operator=}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-Damage\-Type}\& \-B\-W\-A\-P\-I\-::\-Damage\-Type\-::operator= (
\begin{DoxyParamCaption}
\item[{const {\bf \-Damage\-Type} \&}]{other}
\end{DoxyParamCaption}
)}}\label{classBWAPI_1_1DamageType_a3ced570ee6e5e8eadc9fbf9a8aa199a1}


\-The documentation for this class was generated from the following file\-:\begin{DoxyCompactItemize}
\item 
\-U\-Alberta\-Bot\-\_\-src/\-B\-W\-A\-P\-I\-\_\-3\-\_\-6/include/\-B\-W\-A\-P\-I/\hyperlink{DamageType_8h}{\-Damage\-Type.\-h}\end{DoxyCompactItemize}
