96 lines
3.3 KiB
TeX
96 lines
3.3 KiB
TeX
\hypertarget{class_torpedo}{}\doxysection{Torpedo Class Reference}
|
|
\label{class_torpedo}\index{Torpedo@{Torpedo}}
|
|
|
|
|
|
player\textquotesingle{}s projectiles
|
|
|
|
|
|
|
|
|
|
{\ttfamily \#include $<$projectiles.\+h$>$}
|
|
|
|
|
|
|
|
Inheritance diagram for Torpedo\+:
|
|
\nopagebreak
|
|
\begin{figure}[H]
|
|
\begin{center}
|
|
\leavevmode
|
|
\includegraphics[width=132pt]{df/d0f/class_torpedo__inherit__graph}
|
|
\end{center}
|
|
\end{figure}
|
|
|
|
|
|
Collaboration diagram for Torpedo\+:
|
|
\nopagebreak
|
|
\begin{figure}[H]
|
|
\begin{center}
|
|
\leavevmode
|
|
\includegraphics[width=132pt]{da/db0/class_torpedo__coll__graph}
|
|
\end{center}
|
|
\end{figure}
|
|
\doxysubsection*{Public Member Functions}
|
|
\begin{DoxyCompactItemize}
|
|
\item
|
|
\mbox{\hyperlink{class_torpedo_afef3b77d673bd4d7d32c9c9cc2266349}{Torpedo}} (int x, int y, \mbox{\hyperlink{utils_8h_a19f2f2312637b6ed67b6d24598b6f470}{player\+ID}} \mbox{\hyperlink{class_torpedo_a4e5e5bbe1868258704ae3eb3c1c273ae}{owner}})
|
|
\begin{DoxyCompactList}\small\item\em constuctor for the torpedo class \end{DoxyCompactList}\end{DoxyCompactItemize}
|
|
\doxysubsection*{Public Attributes}
|
|
\begin{DoxyCompactItemize}
|
|
\item
|
|
\mbox{\hyperlink{utils_8h_a19f2f2312637b6ed67b6d24598b6f470}{player\+ID}} \mbox{\hyperlink{class_torpedo_a4e5e5bbe1868258704ae3eb3c1c273ae}{owner}}
|
|
\begin{DoxyCompactList}\small\item\em id of the player that shot the torpedo \end{DoxyCompactList}\end{DoxyCompactItemize}
|
|
|
|
|
|
\doxysubsection{Detailed Description}
|
|
player\textquotesingle{}s projectiles
|
|
|
|
Definition at line \mbox{\hyperlink{projectiles_8h_source_l00022}{22}} of file \mbox{\hyperlink{projectiles_8h_source}{projectiles.\+h}}.
|
|
|
|
|
|
|
|
\doxysubsection{Constructor \& Destructor Documentation}
|
|
\mbox{\Hypertarget{class_torpedo_afef3b77d673bd4d7d32c9c9cc2266349}\label{class_torpedo_afef3b77d673bd4d7d32c9c9cc2266349}}
|
|
\index{Torpedo@{Torpedo}!Torpedo@{Torpedo}}
|
|
\index{Torpedo@{Torpedo}!Torpedo@{Torpedo}}
|
|
\doxysubsubsection{\texorpdfstring{Torpedo()}{Torpedo()}}
|
|
{\footnotesize\ttfamily Torpedo\+::\+Torpedo (\begin{DoxyParamCaption}\item[{int}]{x, }\item[{int}]{y, }\item[{\mbox{\hyperlink{utils_8h_a19f2f2312637b6ed67b6d24598b6f470}{player\+ID}}}]{owner }\end{DoxyParamCaption})}
|
|
|
|
|
|
|
|
constuctor for the torpedo class
|
|
|
|
|
|
\begin{DoxyParams}[1]{Parameters}
|
|
\mbox{\texttt{ in}} & {\em x} & \+: horizontal pixel coordinate \\
|
|
\hline
|
|
\mbox{\texttt{ in}} & {\em y} & \+: vertical pixel coordinate \\
|
|
\hline
|
|
\end{DoxyParams}
|
|
|
|
|
|
Definition at line \mbox{\hyperlink{projectiles_8cpp_source_l00012}{12}} of file \mbox{\hyperlink{projectiles_8cpp_source}{projectiles.\+cpp}}.
|
|
|
|
|
|
|
|
\doxysubsection{Member Data Documentation}
|
|
\mbox{\Hypertarget{class_torpedo_a4e5e5bbe1868258704ae3eb3c1c273ae}\label{class_torpedo_a4e5e5bbe1868258704ae3eb3c1c273ae}}
|
|
\index{Torpedo@{Torpedo}!owner@{owner}}
|
|
\index{owner@{owner}!Torpedo@{Torpedo}}
|
|
\doxysubsubsection{\texorpdfstring{owner}{owner}}
|
|
{\footnotesize\ttfamily \mbox{\hyperlink{utils_8h_a19f2f2312637b6ed67b6d24598b6f470}{player\+ID}} Torpedo\+::owner}
|
|
|
|
|
|
|
|
id of the player that shot the torpedo
|
|
|
|
|
|
|
|
Definition at line \mbox{\hyperlink{projectiles_8h_source_l00028}{28}} of file \mbox{\hyperlink{projectiles_8h_source}{projectiles.\+h}}.
|
|
|
|
|
|
|
|
The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
|
|
\item
|
|
headers/\mbox{\hyperlink{projectiles_8h}{projectiles.\+h}}\item
|
|
src/\mbox{\hyperlink{projectiles_8cpp}{projectiles.\+cpp}}\end{DoxyCompactItemize}
|