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


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

\subsection*{\-Public \-Member \-Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{classBWAPI_1_1WeaponType_ac407e0bd58d35813965bc24139834b2b}{\-Weapon\-Type} ()
\item 
\hyperlink{classBWAPI_1_1WeaponType_a8286631eed9594c29efd6f017aa36d79}{\-Weapon\-Type} (int id)
\item 
\hyperlink{classBWAPI_1_1WeaponType_a6c76ef61efd5d9be3629e9b4666128c2}{\-Weapon\-Type} (const \hyperlink{classBWAPI_1_1WeaponType}{\-Weapon\-Type} \&other)
\item 
\hyperlink{classBWAPI_1_1WeaponType}{\-Weapon\-Type} \& \hyperlink{classBWAPI_1_1WeaponType_aef036c7947928484352b1210b710b0c5}{operator=} (const \hyperlink{classBWAPI_1_1WeaponType}{\-Weapon\-Type} \&other)
\item 
\hyperlink{classBWAPI_1_1WeaponType_adc316af9ee9b329941f26304813106ea}{operator int} () const 
\item 
int \hyperlink{classBWAPI_1_1WeaponType_a8949602bcb8e5810c0c846068bcfecf9}{get\-I\-D} () const 
\item 
std\-::string \hyperlink{classBWAPI_1_1WeaponType_a364019675f3dbf9d6ec76528de81cd07}{get\-Name} () const 
\item 
\hyperlink{classBWAPI_1_1TechType}{\-Tech\-Type} \hyperlink{classBWAPI_1_1WeaponType_ab30cd16bba65f94b60714c5ed4fbff92}{get\-Tech} () const 
\item 
\hyperlink{classBWAPI_1_1UnitType}{\-Unit\-Type} \hyperlink{classBWAPI_1_1WeaponType_ac3edeb20096de8f6966c4d5c1cf1adbf}{what\-Uses} () const 
\item 
int \hyperlink{classBWAPI_1_1WeaponType_a4293dd8e655974958b7b9041e842945a}{damage\-Amount} () const 
\item 
int \hyperlink{classBWAPI_1_1WeaponType_abc3c68020712e12cd5f0cdd5d149a099}{damage\-Bonus} () const 
\item 
int \hyperlink{classBWAPI_1_1WeaponType_adeeb0bb1fdc69f5fd7bf90601e019559}{damage\-Cooldown} () const 
\item 
int \hyperlink{classBWAPI_1_1WeaponType_acb5c4c7c3dc24ef721b36c6f3c473578}{damage\-Factor} () const 
\item 
\hyperlink{classBWAPI_1_1UpgradeType}{\-Upgrade\-Type} \hyperlink{classBWAPI_1_1WeaponType_ac2504b234aa2a7642c1eb45b46e2745d}{upgrade\-Type} () const 
\item 
\hyperlink{classBWAPI_1_1DamageType}{\-Damage\-Type} \hyperlink{classBWAPI_1_1WeaponType_a41f9c5c670e8cbeddb54a7fa6b679e1c}{damage\-Type} () const 
\item 
\hyperlink{classBWAPI_1_1ExplosionType}{\-Explosion\-Type} \hyperlink{classBWAPI_1_1WeaponType_a0f620a4753f3650de10a2611d3b2c935}{explosion\-Type} () const 
\item 
int \hyperlink{classBWAPI_1_1WeaponType_a7edc396ab54d2d0cc6c7002c179c273c}{min\-Range} () const 
\item 
int \hyperlink{classBWAPI_1_1WeaponType_a24c544a9eb3e858b8ce8f030ffcc8e99}{max\-Range} () const 
\item 
int \hyperlink{classBWAPI_1_1WeaponType_a9308ad50fcdb1fa22c633aee4b7d2537}{inner\-Splash\-Radius} () const 
\item 
int \hyperlink{classBWAPI_1_1WeaponType_a00e56505d3ecda92935acbc6b7f864b0}{median\-Splash\-Radius} () const 
\item 
int \hyperlink{classBWAPI_1_1WeaponType_a54e00e305b6e6932b0256abd8c494768}{outer\-Splash\-Radius} () const 
\item 
bool \hyperlink{classBWAPI_1_1WeaponType_a7aaee544d2a57bb2ad025c629b6b65e3}{targets\-Air} () const 
\item 
bool \hyperlink{classBWAPI_1_1WeaponType_a791429cfd766c4ca97530f2bc4240078}{targets\-Ground} () const 
\item 
bool \hyperlink{classBWAPI_1_1WeaponType_a23127253d754d359b0f009c1106db289}{targets\-Mechanical} () const 
\item 
bool \hyperlink{classBWAPI_1_1WeaponType_aa58b98060a14d4d446509f66446055d5}{targets\-Organic} () const 
\item 
bool \hyperlink{classBWAPI_1_1WeaponType_a46368c21c8e968968b29e07262825740}{targets\-Non\-Building} () const 
\item 
bool \hyperlink{classBWAPI_1_1WeaponType_aea05eeb276f6bdc4be9577bd45b26d11}{targets\-Non\-Robotic} () const 
\item 
bool \hyperlink{classBWAPI_1_1WeaponType_a158faa3b3a019365e08b44db740dec29}{targets\-Terrain} () const 
\item 
bool \hyperlink{classBWAPI_1_1WeaponType_ac1711c048cf9aa39bf233fd9960ac1fb}{targets\-Org\-Or\-Mech} () const 
\item 
bool \hyperlink{classBWAPI_1_1WeaponType_a4d56245b93d06f458f11e780743bc00c}{targets\-Own} () const 
\end{DoxyCompactItemize}


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


\subsection{\-Member \-Function \-Documentation}
\hypertarget{classBWAPI_1_1WeaponType_a4293dd8e655974958b7b9041e842945a}{\index{\-B\-W\-A\-P\-I\-::\-Weapon\-Type@{\-B\-W\-A\-P\-I\-::\-Weapon\-Type}!damage\-Amount@{damage\-Amount}}
\index{damage\-Amount@{damage\-Amount}!BWAPI::WeaponType@{\-B\-W\-A\-P\-I\-::\-Weapon\-Type}}
\subsubsection[{damage\-Amount}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf \-B\-W\-A\-P\-I\-::\-Weapon\-Type\-::damage\-Amount} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{classBWAPI_1_1WeaponType_a4293dd8e655974958b7b9041e842945a}
\-Returns the amount of damage that this weapon deals per attack. 

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


\hypertarget{classBWAPI_1_1WeaponType_abc3c68020712e12cd5f0cdd5d149a099}{\index{\-B\-W\-A\-P\-I\-::\-Weapon\-Type@{\-B\-W\-A\-P\-I\-::\-Weapon\-Type}!damage\-Bonus@{damage\-Bonus}}
\index{damage\-Bonus@{damage\-Bonus}!BWAPI::WeaponType@{\-B\-W\-A\-P\-I\-::\-Weapon\-Type}}
\subsubsection[{damage\-Bonus}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf \-B\-W\-A\-P\-I\-::\-Weapon\-Type\-::damage\-Bonus} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{classBWAPI_1_1WeaponType_abc3c68020712e12cd5f0cdd5d149a099}
\hypertarget{classBWAPI_1_1WeaponType_adeeb0bb1fdc69f5fd7bf90601e019559}{\index{\-B\-W\-A\-P\-I\-::\-Weapon\-Type@{\-B\-W\-A\-P\-I\-::\-Weapon\-Type}!damage\-Cooldown@{damage\-Cooldown}}
\index{damage\-Cooldown@{damage\-Cooldown}!BWAPI::WeaponType@{\-B\-W\-A\-P\-I\-::\-Weapon\-Type}}
\subsubsection[{damage\-Cooldown}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf \-B\-W\-A\-P\-I\-::\-Weapon\-Type\-::damage\-Cooldown} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{classBWAPI_1_1WeaponType_adeeb0bb1fdc69f5fd7bf90601e019559}
\-Returns the amount of cooldown time between attacks. 

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


\hypertarget{classBWAPI_1_1WeaponType_acb5c4c7c3dc24ef721b36c6f3c473578}{\index{\-B\-W\-A\-P\-I\-::\-Weapon\-Type@{\-B\-W\-A\-P\-I\-::\-Weapon\-Type}!damage\-Factor@{damage\-Factor}}
\index{damage\-Factor@{damage\-Factor}!BWAPI::WeaponType@{\-B\-W\-A\-P\-I\-::\-Weapon\-Type}}
\subsubsection[{damage\-Factor}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf \-B\-W\-A\-P\-I\-::\-Weapon\-Type\-::damage\-Factor} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{classBWAPI_1_1WeaponType_acb5c4c7c3dc24ef721b36c6f3c473578}
\-Returns the amount that the damage increases per upgrade. \begin{DoxySeeAlso}{\-See also}
\hyperlink{classBWAPI_1_1WeaponType_ac2504b234aa2a7642c1eb45b46e2745d}{\-Weapon\-Type\-::upgrade\-Type}. 
\end{DoxySeeAlso}
\hypertarget{classBWAPI_1_1WeaponType_a41f9c5c670e8cbeddb54a7fa6b679e1c}{\index{\-B\-W\-A\-P\-I\-::\-Weapon\-Type@{\-B\-W\-A\-P\-I\-::\-Weapon\-Type}!damage\-Type@{damage\-Type}}
\index{damage\-Type@{damage\-Type}!BWAPI::WeaponType@{\-B\-W\-A\-P\-I\-::\-Weapon\-Type}}
\subsubsection[{damage\-Type}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-Damage\-Type} {\bf \-B\-W\-A\-P\-I\-::\-Weapon\-Type\-::damage\-Type} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{classBWAPI_1_1WeaponType_a41f9c5c670e8cbeddb54a7fa6b679e1c}
\-Returns the type of damage that this weapon uses (i.\-e. concussive, normal, explosive, etc). 

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


\hypertarget{classBWAPI_1_1WeaponType_a0f620a4753f3650de10a2611d3b2c935}{\index{\-B\-W\-A\-P\-I\-::\-Weapon\-Type@{\-B\-W\-A\-P\-I\-::\-Weapon\-Type}!explosion\-Type@{explosion\-Type}}
\index{explosion\-Type@{explosion\-Type}!BWAPI::WeaponType@{\-B\-W\-A\-P\-I\-::\-Weapon\-Type}}
\subsubsection[{explosion\-Type}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-Explosion\-Type} {\bf \-B\-W\-A\-P\-I\-::\-Weapon\-Type\-::explosion\-Type} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{classBWAPI_1_1WeaponType_a0f620a4753f3650de10a2611d3b2c935}
\-Returns the type of explosion that this weapon uses. \hypertarget{classBWAPI_1_1WeaponType_a8949602bcb8e5810c0c846068bcfecf9}{\index{\-B\-W\-A\-P\-I\-::\-Weapon\-Type@{\-B\-W\-A\-P\-I\-::\-Weapon\-Type}!get\-I\-D@{get\-I\-D}}
\index{get\-I\-D@{get\-I\-D}!BWAPI::WeaponType@{\-B\-W\-A\-P\-I\-::\-Weapon\-Type}}
\subsubsection[{get\-I\-D}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf \-B\-W\-A\-P\-I\-::\-Weapon\-Type\-::get\-I\-D} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{classBWAPI_1_1WeaponType_a8949602bcb8e5810c0c846068bcfecf9}
\-Returns a unique \-I\-D for this weapon type. \hypertarget{classBWAPI_1_1WeaponType_a364019675f3dbf9d6ec76528de81cd07}{\index{\-B\-W\-A\-P\-I\-::\-Weapon\-Type@{\-B\-W\-A\-P\-I\-::\-Weapon\-Type}!get\-Name@{get\-Name}}
\index{get\-Name@{get\-Name}!BWAPI::WeaponType@{\-B\-W\-A\-P\-I\-::\-Weapon\-Type}}
\subsubsection[{get\-Name}]{\setlength{\rightskip}{0pt plus 5cm}std\-::string {\bf \-B\-W\-A\-P\-I\-::\-Weapon\-Type\-::get\-Name} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{classBWAPI_1_1WeaponType_a364019675f3dbf9d6ec76528de81cd07}
\-Returns the name of the weapon. \hypertarget{classBWAPI_1_1WeaponType_ab30cd16bba65f94b60714c5ed4fbff92}{\index{\-B\-W\-A\-P\-I\-::\-Weapon\-Type@{\-B\-W\-A\-P\-I\-::\-Weapon\-Type}!get\-Tech@{get\-Tech}}
\index{get\-Tech@{get\-Tech}!BWAPI::WeaponType@{\-B\-W\-A\-P\-I\-::\-Weapon\-Type}}
\subsubsection[{get\-Tech}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-Tech\-Type} {\bf \-B\-W\-A\-P\-I\-::\-Weapon\-Type\-::get\-Tech} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{classBWAPI_1_1WeaponType_ab30cd16bba65f94b60714c5ed4fbff92}
\-Returns the tech type that must be researched before this weapon can be used, or \hyperlink{namespaceBWAPI_1_1TechTypes_a888026c44fa65bbcc338fcca795c4d25}{\-Tech\-Types\-::\-None} if no tech type is required. \hypertarget{classBWAPI_1_1WeaponType_a9308ad50fcdb1fa22c633aee4b7d2537}{\index{\-B\-W\-A\-P\-I\-::\-Weapon\-Type@{\-B\-W\-A\-P\-I\-::\-Weapon\-Type}!inner\-Splash\-Radius@{inner\-Splash\-Radius}}
\index{inner\-Splash\-Radius@{inner\-Splash\-Radius}!BWAPI::WeaponType@{\-B\-W\-A\-P\-I\-::\-Weapon\-Type}}
\subsubsection[{inner\-Splash\-Radius}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf \-B\-W\-A\-P\-I\-::\-Weapon\-Type\-::inner\-Splash\-Radius} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{classBWAPI_1_1WeaponType_a9308ad50fcdb1fa22c633aee4b7d2537}
\-Inner radius used in splash damage calculations. \hypertarget{classBWAPI_1_1WeaponType_a24c544a9eb3e858b8ce8f030ffcc8e99}{\index{\-B\-W\-A\-P\-I\-::\-Weapon\-Type@{\-B\-W\-A\-P\-I\-::\-Weapon\-Type}!max\-Range@{max\-Range}}
\index{max\-Range@{max\-Range}!BWAPI::WeaponType@{\-B\-W\-A\-P\-I\-::\-Weapon\-Type}}
\subsubsection[{max\-Range}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf \-B\-W\-A\-P\-I\-::\-Weapon\-Type\-::max\-Range} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{classBWAPI_1_1WeaponType_a24c544a9eb3e858b8ce8f030ffcc8e99}
\-Returns the maximum attack range of the weapon, measured in pixels. 

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


\hypertarget{classBWAPI_1_1WeaponType_a00e56505d3ecda92935acbc6b7f864b0}{\index{\-B\-W\-A\-P\-I\-::\-Weapon\-Type@{\-B\-W\-A\-P\-I\-::\-Weapon\-Type}!median\-Splash\-Radius@{median\-Splash\-Radius}}
\index{median\-Splash\-Radius@{median\-Splash\-Radius}!BWAPI::WeaponType@{\-B\-W\-A\-P\-I\-::\-Weapon\-Type}}
\subsubsection[{median\-Splash\-Radius}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf \-B\-W\-A\-P\-I\-::\-Weapon\-Type\-::median\-Splash\-Radius} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{classBWAPI_1_1WeaponType_a00e56505d3ecda92935acbc6b7f864b0}
\-Median radius used in splash damage calculations. \hypertarget{classBWAPI_1_1WeaponType_a7edc396ab54d2d0cc6c7002c179c273c}{\index{\-B\-W\-A\-P\-I\-::\-Weapon\-Type@{\-B\-W\-A\-P\-I\-::\-Weapon\-Type}!min\-Range@{min\-Range}}
\index{min\-Range@{min\-Range}!BWAPI::WeaponType@{\-B\-W\-A\-P\-I\-::\-Weapon\-Type}}
\subsubsection[{min\-Range}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf \-B\-W\-A\-P\-I\-::\-Weapon\-Type\-::min\-Range} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{classBWAPI_1_1WeaponType_a7edc396ab54d2d0cc6c7002c179c273c}
\-Returns the minimum attack range of the weapon, measured in pixels, 0 for most things except \hyperlink{namespaceBWAPI_1_1WeaponTypes_a3a2b771a1bf59b0d4c18ac6e50ba1d72}{\-Weapon\-Types\-::\-Arclite\-\_\-\-Shock\-\_\-\-Cannon} (the weapon of the \-Terran \-Siege \-Tank in \-Siege \-Mode). 

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


\hypertarget{classBWAPI_1_1WeaponType_adc316af9ee9b329941f26304813106ea}{\index{\-B\-W\-A\-P\-I\-::\-Weapon\-Type@{\-B\-W\-A\-P\-I\-::\-Weapon\-Type}!operator int@{operator int}}
\index{operator int@{operator int}!BWAPI::WeaponType@{\-B\-W\-A\-P\-I\-::\-Weapon\-Type}}
\subsubsection[{operator int}]{\setlength{\rightskip}{0pt plus 5cm}\-B\-W\-A\-P\-I\-::\-Weapon\-Type\-::operator int (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{classBWAPI_1_1WeaponType_adc316af9ee9b329941f26304813106ea}
\hypertarget{classBWAPI_1_1WeaponType_aef036c7947928484352b1210b710b0c5}{\index{\-B\-W\-A\-P\-I\-::\-Weapon\-Type@{\-B\-W\-A\-P\-I\-::\-Weapon\-Type}!operator=@{operator=}}
\index{operator=@{operator=}!BWAPI::WeaponType@{\-B\-W\-A\-P\-I\-::\-Weapon\-Type}}
\subsubsection[{operator=}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-Weapon\-Type}\& \-B\-W\-A\-P\-I\-::\-Weapon\-Type\-::operator= (
\begin{DoxyParamCaption}
\item[{const {\bf \-Weapon\-Type} \&}]{other}
\end{DoxyParamCaption}
)}}\label{classBWAPI_1_1WeaponType_aef036c7947928484352b1210b710b0c5}
\hypertarget{classBWAPI_1_1WeaponType_a54e00e305b6e6932b0256abd8c494768}{\index{\-B\-W\-A\-P\-I\-::\-Weapon\-Type@{\-B\-W\-A\-P\-I\-::\-Weapon\-Type}!outer\-Splash\-Radius@{outer\-Splash\-Radius}}
\index{outer\-Splash\-Radius@{outer\-Splash\-Radius}!BWAPI::WeaponType@{\-B\-W\-A\-P\-I\-::\-Weapon\-Type}}
\subsubsection[{outer\-Splash\-Radius}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf \-B\-W\-A\-P\-I\-::\-Weapon\-Type\-::outer\-Splash\-Radius} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{classBWAPI_1_1WeaponType_a54e00e305b6e6932b0256abd8c494768}
\-Outer radius used in splash damage calculations. \hypertarget{classBWAPI_1_1WeaponType_a7aaee544d2a57bb2ad025c629b6b65e3}{\index{\-B\-W\-A\-P\-I\-::\-Weapon\-Type@{\-B\-W\-A\-P\-I\-::\-Weapon\-Type}!targets\-Air@{targets\-Air}}
\index{targets\-Air@{targets\-Air}!BWAPI::WeaponType@{\-B\-W\-A\-P\-I\-::\-Weapon\-Type}}
\subsubsection[{targets\-Air}]{\setlength{\rightskip}{0pt plus 5cm}bool {\bf \-B\-W\-A\-P\-I\-::\-Weapon\-Type\-::targets\-Air} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{classBWAPI_1_1WeaponType_a7aaee544d2a57bb2ad025c629b6b65e3}
\-Returns true if this weapon can attack air units. \hypertarget{classBWAPI_1_1WeaponType_a791429cfd766c4ca97530f2bc4240078}{\index{\-B\-W\-A\-P\-I\-::\-Weapon\-Type@{\-B\-W\-A\-P\-I\-::\-Weapon\-Type}!targets\-Ground@{targets\-Ground}}
\index{targets\-Ground@{targets\-Ground}!BWAPI::WeaponType@{\-B\-W\-A\-P\-I\-::\-Weapon\-Type}}
\subsubsection[{targets\-Ground}]{\setlength{\rightskip}{0pt plus 5cm}bool {\bf \-B\-W\-A\-P\-I\-::\-Weapon\-Type\-::targets\-Ground} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{classBWAPI_1_1WeaponType_a791429cfd766c4ca97530f2bc4240078}
\-Returns true if this weapon can attack ground units. \hypertarget{classBWAPI_1_1WeaponType_a23127253d754d359b0f009c1106db289}{\index{\-B\-W\-A\-P\-I\-::\-Weapon\-Type@{\-B\-W\-A\-P\-I\-::\-Weapon\-Type}!targets\-Mechanical@{targets\-Mechanical}}
\index{targets\-Mechanical@{targets\-Mechanical}!BWAPI::WeaponType@{\-B\-W\-A\-P\-I\-::\-Weapon\-Type}}
\subsubsection[{targets\-Mechanical}]{\setlength{\rightskip}{0pt plus 5cm}bool {\bf \-B\-W\-A\-P\-I\-::\-Weapon\-Type\-::targets\-Mechanical} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{classBWAPI_1_1WeaponType_a23127253d754d359b0f009c1106db289}
\hypertarget{classBWAPI_1_1WeaponType_a46368c21c8e968968b29e07262825740}{\index{\-B\-W\-A\-P\-I\-::\-Weapon\-Type@{\-B\-W\-A\-P\-I\-::\-Weapon\-Type}!targets\-Non\-Building@{targets\-Non\-Building}}
\index{targets\-Non\-Building@{targets\-Non\-Building}!BWAPI::WeaponType@{\-B\-W\-A\-P\-I\-::\-Weapon\-Type}}
\subsubsection[{targets\-Non\-Building}]{\setlength{\rightskip}{0pt plus 5cm}bool {\bf \-B\-W\-A\-P\-I\-::\-Weapon\-Type\-::targets\-Non\-Building} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{classBWAPI_1_1WeaponType_a46368c21c8e968968b29e07262825740}
\hypertarget{classBWAPI_1_1WeaponType_aea05eeb276f6bdc4be9577bd45b26d11}{\index{\-B\-W\-A\-P\-I\-::\-Weapon\-Type@{\-B\-W\-A\-P\-I\-::\-Weapon\-Type}!targets\-Non\-Robotic@{targets\-Non\-Robotic}}
\index{targets\-Non\-Robotic@{targets\-Non\-Robotic}!BWAPI::WeaponType@{\-B\-W\-A\-P\-I\-::\-Weapon\-Type}}
\subsubsection[{targets\-Non\-Robotic}]{\setlength{\rightskip}{0pt plus 5cm}bool {\bf \-B\-W\-A\-P\-I\-::\-Weapon\-Type\-::targets\-Non\-Robotic} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{classBWAPI_1_1WeaponType_aea05eeb276f6bdc4be9577bd45b26d11}
\hypertarget{classBWAPI_1_1WeaponType_aa58b98060a14d4d446509f66446055d5}{\index{\-B\-W\-A\-P\-I\-::\-Weapon\-Type@{\-B\-W\-A\-P\-I\-::\-Weapon\-Type}!targets\-Organic@{targets\-Organic}}
\index{targets\-Organic@{targets\-Organic}!BWAPI::WeaponType@{\-B\-W\-A\-P\-I\-::\-Weapon\-Type}}
\subsubsection[{targets\-Organic}]{\setlength{\rightskip}{0pt plus 5cm}bool {\bf \-B\-W\-A\-P\-I\-::\-Weapon\-Type\-::targets\-Organic} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{classBWAPI_1_1WeaponType_aa58b98060a14d4d446509f66446055d5}
\hypertarget{classBWAPI_1_1WeaponType_ac1711c048cf9aa39bf233fd9960ac1fb}{\index{\-B\-W\-A\-P\-I\-::\-Weapon\-Type@{\-B\-W\-A\-P\-I\-::\-Weapon\-Type}!targets\-Org\-Or\-Mech@{targets\-Org\-Or\-Mech}}
\index{targets\-Org\-Or\-Mech@{targets\-Org\-Or\-Mech}!BWAPI::WeaponType@{\-B\-W\-A\-P\-I\-::\-Weapon\-Type}}
\subsubsection[{targets\-Org\-Or\-Mech}]{\setlength{\rightskip}{0pt plus 5cm}bool {\bf \-B\-W\-A\-P\-I\-::\-Weapon\-Type\-::targets\-Org\-Or\-Mech} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{classBWAPI_1_1WeaponType_ac1711c048cf9aa39bf233fd9960ac1fb}
\hypertarget{classBWAPI_1_1WeaponType_a4d56245b93d06f458f11e780743bc00c}{\index{\-B\-W\-A\-P\-I\-::\-Weapon\-Type@{\-B\-W\-A\-P\-I\-::\-Weapon\-Type}!targets\-Own@{targets\-Own}}
\index{targets\-Own@{targets\-Own}!BWAPI::WeaponType@{\-B\-W\-A\-P\-I\-::\-Weapon\-Type}}
\subsubsection[{targets\-Own}]{\setlength{\rightskip}{0pt plus 5cm}bool {\bf \-B\-W\-A\-P\-I\-::\-Weapon\-Type\-::targets\-Own} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{classBWAPI_1_1WeaponType_a4d56245b93d06f458f11e780743bc00c}
\hypertarget{classBWAPI_1_1WeaponType_a158faa3b3a019365e08b44db740dec29}{\index{\-B\-W\-A\-P\-I\-::\-Weapon\-Type@{\-B\-W\-A\-P\-I\-::\-Weapon\-Type}!targets\-Terrain@{targets\-Terrain}}
\index{targets\-Terrain@{targets\-Terrain}!BWAPI::WeaponType@{\-B\-W\-A\-P\-I\-::\-Weapon\-Type}}
\subsubsection[{targets\-Terrain}]{\setlength{\rightskip}{0pt plus 5cm}bool {\bf \-B\-W\-A\-P\-I\-::\-Weapon\-Type\-::targets\-Terrain} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{classBWAPI_1_1WeaponType_a158faa3b3a019365e08b44db740dec29}
\hypertarget{classBWAPI_1_1WeaponType_ac2504b234aa2a7642c1eb45b46e2745d}{\index{\-B\-W\-A\-P\-I\-::\-Weapon\-Type@{\-B\-W\-A\-P\-I\-::\-Weapon\-Type}!upgrade\-Type@{upgrade\-Type}}
\index{upgrade\-Type@{upgrade\-Type}!BWAPI::WeaponType@{\-B\-W\-A\-P\-I\-::\-Weapon\-Type}}
\subsubsection[{upgrade\-Type}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-Upgrade\-Type} {\bf \-B\-W\-A\-P\-I\-::\-Weapon\-Type\-::upgrade\-Type} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{classBWAPI_1_1WeaponType_ac2504b234aa2a7642c1eb45b46e2745d}
\-Returns the upgrade type that can be upgraded to increase the attack damage. \hypertarget{classBWAPI_1_1WeaponType_ac3edeb20096de8f6966c4d5c1cf1adbf}{\index{\-B\-W\-A\-P\-I\-::\-Weapon\-Type@{\-B\-W\-A\-P\-I\-::\-Weapon\-Type}!what\-Uses@{what\-Uses}}
\index{what\-Uses@{what\-Uses}!BWAPI::WeaponType@{\-B\-W\-A\-P\-I\-::\-Weapon\-Type}}
\subsubsection[{what\-Uses}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-Unit\-Type} {\bf \-B\-W\-A\-P\-I\-::\-Weapon\-Type\-::what\-Uses} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{classBWAPI_1_1WeaponType_ac3edeb20096de8f6966c4d5c1cf1adbf}
\-Returns the unit that can use this weapon. 

\-The documentation for this class was generated from the following file\-:\begin{DoxyCompactItemize}
\item 
include\-Nova/\-B\-W\-A\-P\-I/\hyperlink{WeaponType_8h}{\-Weapon\-Type.\-h}\end{DoxyCompactItemize}
