\hypertarget{classBWAPI_1_1TilePosition}{\section{\-B\-W\-A\-P\-I\-:\-:\-Tile\-Position \-Class \-Reference}
\label{classBWAPI_1_1TilePosition}\index{\-B\-W\-A\-P\-I\-::\-Tile\-Position@{\-B\-W\-A\-P\-I\-::\-Tile\-Position}}
}


{\ttfamily \#include $<$\-Tile\-Position.\-h$>$}

\subsection*{\-Public \-Member \-Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{classBWAPI_1_1TilePosition_aaa609ad5b3e1f0206e6af93353ee7fc8}{\-Tile\-Position} ()
\item 
\hyperlink{classBWAPI_1_1TilePosition_abcc69ce11a8f46331c90f637fc104524}{\-Tile\-Position} (const \hyperlink{classBWAPI_1_1Position}{\-Position} \&position)
\item 
\hyperlink{classBWAPI_1_1TilePosition_a1336a8087caaf3dbd5f152e17a1f89b1}{\-Tile\-Position} (int \hyperlink{classBWAPI_1_1TilePosition_a3a7a2af7dd315417da557ef19fdb5b9a}{x}, int \hyperlink{classBWAPI_1_1TilePosition_a29140edffa52158ac865fcdaaba190e0}{y})
\item 
bool \hyperlink{classBWAPI_1_1TilePosition_a6b967c8d8210cf839f954bf6ba42093f}{operator==} (const \hyperlink{classBWAPI_1_1TilePosition}{\-Tile\-Position} \&\hyperlink{classBWAPI_1_1TilePosition}{\-Tile\-Position}) const 
\item 
bool \hyperlink{classBWAPI_1_1TilePosition_a7db43f384ab62bd49e902daca3a8cf1d}{operator!=} (const \hyperlink{classBWAPI_1_1TilePosition}{\-Tile\-Position} \&\hyperlink{classBWAPI_1_1TilePosition}{\-Tile\-Position}) const 
\item 
bool \hyperlink{classBWAPI_1_1TilePosition_a20591e3366a45d8cf68b1708cdc2615b}{operator$<$} (const \hyperlink{classBWAPI_1_1TilePosition}{\-Tile\-Position} \&\hyperlink{classBWAPI_1_1TilePosition}{\-Tile\-Position}) const 
\item 
bool \hyperlink{classBWAPI_1_1TilePosition_adf7888585070244f80856ba248714f02}{is\-Valid} () const 
\item 
\hyperlink{classBWAPI_1_1TilePosition_a3a766442d41626c464342eb131994d15}{operator bool} () const 
\item 
\hyperlink{classBWAPI_1_1TilePosition}{\-Tile\-Position} \hyperlink{classBWAPI_1_1TilePosition_ac93ad22db2792e81f22f2c456ac97240}{operator+} (const \hyperlink{classBWAPI_1_1TilePosition}{\-Tile\-Position} \&position) const 
\item 
\hyperlink{classBWAPI_1_1TilePosition}{\-Tile\-Position} \hyperlink{classBWAPI_1_1TilePosition_a9f0435f056dd0b8c40e043c5c51aa251}{operator-\/} (const \hyperlink{classBWAPI_1_1TilePosition}{\-Tile\-Position} \&position) const 
\item 
\hyperlink{classBWAPI_1_1TilePosition}{\-Tile\-Position} \& \hyperlink{classBWAPI_1_1TilePosition_a91c046a99aad2bec7dd9a90d6ed7d047}{make\-Valid} ()
\item 
\hyperlink{classBWAPI_1_1TilePosition}{\-Tile\-Position} \& \hyperlink{classBWAPI_1_1TilePosition_a408ce048d883b809a1cf264330b71fa5}{operator+=} (const \hyperlink{classBWAPI_1_1TilePosition}{\-Tile\-Position} \&position)
\item 
\hyperlink{classBWAPI_1_1TilePosition}{\-Tile\-Position} \& \hyperlink{classBWAPI_1_1TilePosition_ae4f959e0d4dcf8adf890ce71d05b1a8d}{operator-\/=} (const \hyperlink{classBWAPI_1_1TilePosition}{\-Tile\-Position} \&position)
\item 
double \hyperlink{classBWAPI_1_1TilePosition_aa01f86a01ca75c479c10fc2290c9da70}{get\-Distance} (const \hyperlink{classBWAPI_1_1TilePosition}{\-Tile\-Position} \&position) const 
\item 
double \hyperlink{classBWAPI_1_1TilePosition_a0e0f77af787f42149a33068af2aeaf2b}{get\-Length} () const 
\item 
bool \hyperlink{classBWAPI_1_1TilePosition_acd97d8331ad6ae4b9b199f4e5617eb83}{has\-Path} (const \hyperlink{classBWAPI_1_1TilePosition}{\-Tile\-Position} \&destination) const 
\item 
int \& \hyperlink{classBWAPI_1_1TilePosition_a3a7a2af7dd315417da557ef19fdb5b9a}{x} ()
\item 
int \& \hyperlink{classBWAPI_1_1TilePosition_a29140edffa52158ac865fcdaaba190e0}{y} ()
\item 
int \hyperlink{classBWAPI_1_1TilePosition_a7f0f33013340fb7216f76e83a9b784b9}{x} () const 
\item 
int \hyperlink{classBWAPI_1_1TilePosition_af1ecbcdbfc995ced92e98c81f4902fca}{y} () const 
\end{DoxyCompactItemize}


\subsection{\-Constructor \& \-Destructor \-Documentation}
\hypertarget{classBWAPI_1_1TilePosition_aaa609ad5b3e1f0206e6af93353ee7fc8}{\index{\-B\-W\-A\-P\-I\-::\-Tile\-Position@{\-B\-W\-A\-P\-I\-::\-Tile\-Position}!\-Tile\-Position@{\-Tile\-Position}}
\index{\-Tile\-Position@{\-Tile\-Position}!BWAPI::TilePosition@{\-B\-W\-A\-P\-I\-::\-Tile\-Position}}
\subsubsection[{\-Tile\-Position}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-B\-W\-A\-P\-I\-::\-Tile\-Position\-::\-Tile\-Position} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{classBWAPI_1_1TilePosition_aaa609ad5b3e1f0206e6af93353ee7fc8}
\hypertarget{classBWAPI_1_1TilePosition_abcc69ce11a8f46331c90f637fc104524}{\index{\-B\-W\-A\-P\-I\-::\-Tile\-Position@{\-B\-W\-A\-P\-I\-::\-Tile\-Position}!\-Tile\-Position@{\-Tile\-Position}}
\index{\-Tile\-Position@{\-Tile\-Position}!BWAPI::TilePosition@{\-B\-W\-A\-P\-I\-::\-Tile\-Position}}
\subsubsection[{\-Tile\-Position}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-B\-W\-A\-P\-I\-::\-Tile\-Position\-::\-Tile\-Position} (
\begin{DoxyParamCaption}
\item[{const {\bf \-Position} \&}]{position}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}explicit\mbox{]}}}}\label{classBWAPI_1_1TilePosition_abcc69ce11a8f46331c90f637fc104524}
\hypertarget{classBWAPI_1_1TilePosition_a1336a8087caaf3dbd5f152e17a1f89b1}{\index{\-B\-W\-A\-P\-I\-::\-Tile\-Position@{\-B\-W\-A\-P\-I\-::\-Tile\-Position}!\-Tile\-Position@{\-Tile\-Position}}
\index{\-Tile\-Position@{\-Tile\-Position}!BWAPI::TilePosition@{\-B\-W\-A\-P\-I\-::\-Tile\-Position}}
\subsubsection[{\-Tile\-Position}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-B\-W\-A\-P\-I\-::\-Tile\-Position\-::\-Tile\-Position} (
\begin{DoxyParamCaption}
\item[{int}]{x, }
\item[{int}]{y}
\end{DoxyParamCaption}
)}}\label{classBWAPI_1_1TilePosition_a1336a8087caaf3dbd5f152e17a1f89b1}


\subsection{\-Member \-Function \-Documentation}
\hypertarget{classBWAPI_1_1TilePosition_aa01f86a01ca75c479c10fc2290c9da70}{\index{\-B\-W\-A\-P\-I\-::\-Tile\-Position@{\-B\-W\-A\-P\-I\-::\-Tile\-Position}!get\-Distance@{get\-Distance}}
\index{get\-Distance@{get\-Distance}!BWAPI::TilePosition@{\-B\-W\-A\-P\-I\-::\-Tile\-Position}}
\subsubsection[{get\-Distance}]{\setlength{\rightskip}{0pt plus 5cm}double {\bf \-B\-W\-A\-P\-I\-::\-Tile\-Position\-::get\-Distance} (
\begin{DoxyParamCaption}
\item[{const {\bf \-Tile\-Position} \&}]{position}
\end{DoxyParamCaption}
) const}}\label{classBWAPI_1_1TilePosition_aa01f86a01ca75c479c10fc2290c9da70}
\hypertarget{classBWAPI_1_1TilePosition_a0e0f77af787f42149a33068af2aeaf2b}{\index{\-B\-W\-A\-P\-I\-::\-Tile\-Position@{\-B\-W\-A\-P\-I\-::\-Tile\-Position}!get\-Length@{get\-Length}}
\index{get\-Length@{get\-Length}!BWAPI::TilePosition@{\-B\-W\-A\-P\-I\-::\-Tile\-Position}}
\subsubsection[{get\-Length}]{\setlength{\rightskip}{0pt plus 5cm}double {\bf \-B\-W\-A\-P\-I\-::\-Tile\-Position\-::get\-Length} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{classBWAPI_1_1TilePosition_a0e0f77af787f42149a33068af2aeaf2b}
\hypertarget{classBWAPI_1_1TilePosition_acd97d8331ad6ae4b9b199f4e5617eb83}{\index{\-B\-W\-A\-P\-I\-::\-Tile\-Position@{\-B\-W\-A\-P\-I\-::\-Tile\-Position}!has\-Path@{has\-Path}}
\index{has\-Path@{has\-Path}!BWAPI::TilePosition@{\-B\-W\-A\-P\-I\-::\-Tile\-Position}}
\subsubsection[{has\-Path}]{\setlength{\rightskip}{0pt plus 5cm}bool {\bf \-B\-W\-A\-P\-I\-::\-Tile\-Position\-::has\-Path} (
\begin{DoxyParamCaption}
\item[{const {\bf \-Tile\-Position} \&}]{destination}
\end{DoxyParamCaption}
) const}}\label{classBWAPI_1_1TilePosition_acd97d8331ad6ae4b9b199f4e5617eb83}
\hypertarget{classBWAPI_1_1TilePosition_adf7888585070244f80856ba248714f02}{\index{\-B\-W\-A\-P\-I\-::\-Tile\-Position@{\-B\-W\-A\-P\-I\-::\-Tile\-Position}!is\-Valid@{is\-Valid}}
\index{is\-Valid@{is\-Valid}!BWAPI::TilePosition@{\-B\-W\-A\-P\-I\-::\-Tile\-Position}}
\subsubsection[{is\-Valid}]{\setlength{\rightskip}{0pt plus 5cm}bool {\bf \-B\-W\-A\-P\-I\-::\-Tile\-Position\-::is\-Valid} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{classBWAPI_1_1TilePosition_adf7888585070244f80856ba248714f02}


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


\hypertarget{classBWAPI_1_1TilePosition_a91c046a99aad2bec7dd9a90d6ed7d047}{\index{\-B\-W\-A\-P\-I\-::\-Tile\-Position@{\-B\-W\-A\-P\-I\-::\-Tile\-Position}!make\-Valid@{make\-Valid}}
\index{make\-Valid@{make\-Valid}!BWAPI::TilePosition@{\-B\-W\-A\-P\-I\-::\-Tile\-Position}}
\subsubsection[{make\-Valid}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-Tile\-Position}\& {\bf \-B\-W\-A\-P\-I\-::\-Tile\-Position\-::make\-Valid} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{classBWAPI_1_1TilePosition_a91c046a99aad2bec7dd9a90d6ed7d047}
\hypertarget{classBWAPI_1_1TilePosition_a3a766442d41626c464342eb131994d15}{\index{\-B\-W\-A\-P\-I\-::\-Tile\-Position@{\-B\-W\-A\-P\-I\-::\-Tile\-Position}!operator bool@{operator bool}}
\index{operator bool@{operator bool}!BWAPI::TilePosition@{\-B\-W\-A\-P\-I\-::\-Tile\-Position}}
\subsubsection[{operator bool}]{\setlength{\rightskip}{0pt plus 5cm}\-B\-W\-A\-P\-I\-::\-Tile\-Position\-::operator bool (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{classBWAPI_1_1TilePosition_a3a766442d41626c464342eb131994d15}
\hypertarget{classBWAPI_1_1TilePosition_a7db43f384ab62bd49e902daca3a8cf1d}{\index{\-B\-W\-A\-P\-I\-::\-Tile\-Position@{\-B\-W\-A\-P\-I\-::\-Tile\-Position}!operator!=@{operator!=}}
\index{operator!=@{operator!=}!BWAPI::TilePosition@{\-B\-W\-A\-P\-I\-::\-Tile\-Position}}
\subsubsection[{operator!=}]{\setlength{\rightskip}{0pt plus 5cm}bool \-B\-W\-A\-P\-I\-::\-Tile\-Position\-::operator!= (
\begin{DoxyParamCaption}
\item[{const {\bf \-Tile\-Position} \&}]{\-Tile\-Position}
\end{DoxyParamCaption}
) const}}\label{classBWAPI_1_1TilePosition_a7db43f384ab62bd49e902daca3a8cf1d}
\hypertarget{classBWAPI_1_1TilePosition_ac93ad22db2792e81f22f2c456ac97240}{\index{\-B\-W\-A\-P\-I\-::\-Tile\-Position@{\-B\-W\-A\-P\-I\-::\-Tile\-Position}!operator+@{operator+}}
\index{operator+@{operator+}!BWAPI::TilePosition@{\-B\-W\-A\-P\-I\-::\-Tile\-Position}}
\subsubsection[{operator+}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-Tile\-Position} \-B\-W\-A\-P\-I\-::\-Tile\-Position\-::operator+ (
\begin{DoxyParamCaption}
\item[{const {\bf \-Tile\-Position} \&}]{position}
\end{DoxyParamCaption}
) const}}\label{classBWAPI_1_1TilePosition_ac93ad22db2792e81f22f2c456ac97240}
\hypertarget{classBWAPI_1_1TilePosition_a408ce048d883b809a1cf264330b71fa5}{\index{\-B\-W\-A\-P\-I\-::\-Tile\-Position@{\-B\-W\-A\-P\-I\-::\-Tile\-Position}!operator+=@{operator+=}}
\index{operator+=@{operator+=}!BWAPI::TilePosition@{\-B\-W\-A\-P\-I\-::\-Tile\-Position}}
\subsubsection[{operator+=}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-Tile\-Position}\& \-B\-W\-A\-P\-I\-::\-Tile\-Position\-::operator+= (
\begin{DoxyParamCaption}
\item[{const {\bf \-Tile\-Position} \&}]{position}
\end{DoxyParamCaption}
)}}\label{classBWAPI_1_1TilePosition_a408ce048d883b809a1cf264330b71fa5}
\hypertarget{classBWAPI_1_1TilePosition_a9f0435f056dd0b8c40e043c5c51aa251}{\index{\-B\-W\-A\-P\-I\-::\-Tile\-Position@{\-B\-W\-A\-P\-I\-::\-Tile\-Position}!operator-\/@{operator-\/}}
\index{operator-\/@{operator-\/}!BWAPI::TilePosition@{\-B\-W\-A\-P\-I\-::\-Tile\-Position}}
\subsubsection[{operator-\/}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-Tile\-Position} \-B\-W\-A\-P\-I\-::\-Tile\-Position\-::operator-\/ (
\begin{DoxyParamCaption}
\item[{const {\bf \-Tile\-Position} \&}]{position}
\end{DoxyParamCaption}
) const}}\label{classBWAPI_1_1TilePosition_a9f0435f056dd0b8c40e043c5c51aa251}
\hypertarget{classBWAPI_1_1TilePosition_ae4f959e0d4dcf8adf890ce71d05b1a8d}{\index{\-B\-W\-A\-P\-I\-::\-Tile\-Position@{\-B\-W\-A\-P\-I\-::\-Tile\-Position}!operator-\/=@{operator-\/=}}
\index{operator-\/=@{operator-\/=}!BWAPI::TilePosition@{\-B\-W\-A\-P\-I\-::\-Tile\-Position}}
\subsubsection[{operator-\/=}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-Tile\-Position}\& \-B\-W\-A\-P\-I\-::\-Tile\-Position\-::operator-\/= (
\begin{DoxyParamCaption}
\item[{const {\bf \-Tile\-Position} \&}]{position}
\end{DoxyParamCaption}
)}}\label{classBWAPI_1_1TilePosition_ae4f959e0d4dcf8adf890ce71d05b1a8d}
\hypertarget{classBWAPI_1_1TilePosition_a20591e3366a45d8cf68b1708cdc2615b}{\index{\-B\-W\-A\-P\-I\-::\-Tile\-Position@{\-B\-W\-A\-P\-I\-::\-Tile\-Position}!operator$<$@{operator$<$}}
\index{operator$<$@{operator$<$}!BWAPI::TilePosition@{\-B\-W\-A\-P\-I\-::\-Tile\-Position}}
\subsubsection[{operator$<$}]{\setlength{\rightskip}{0pt plus 5cm}bool \-B\-W\-A\-P\-I\-::\-Tile\-Position\-::operator$<$ (
\begin{DoxyParamCaption}
\item[{const {\bf \-Tile\-Position} \&}]{\-Tile\-Position}
\end{DoxyParamCaption}
) const}}\label{classBWAPI_1_1TilePosition_a20591e3366a45d8cf68b1708cdc2615b}
\hypertarget{classBWAPI_1_1TilePosition_a6b967c8d8210cf839f954bf6ba42093f}{\index{\-B\-W\-A\-P\-I\-::\-Tile\-Position@{\-B\-W\-A\-P\-I\-::\-Tile\-Position}!operator==@{operator==}}
\index{operator==@{operator==}!BWAPI::TilePosition@{\-B\-W\-A\-P\-I\-::\-Tile\-Position}}
\subsubsection[{operator==}]{\setlength{\rightskip}{0pt plus 5cm}bool \-B\-W\-A\-P\-I\-::\-Tile\-Position\-::operator== (
\begin{DoxyParamCaption}
\item[{const {\bf \-Tile\-Position} \&}]{\-Tile\-Position}
\end{DoxyParamCaption}
) const}}\label{classBWAPI_1_1TilePosition_a6b967c8d8210cf839f954bf6ba42093f}
\hypertarget{classBWAPI_1_1TilePosition_a3a7a2af7dd315417da557ef19fdb5b9a}{\index{\-B\-W\-A\-P\-I\-::\-Tile\-Position@{\-B\-W\-A\-P\-I\-::\-Tile\-Position}!x@{x}}
\index{x@{x}!BWAPI::TilePosition@{\-B\-W\-A\-P\-I\-::\-Tile\-Position}}
\subsubsection[{x}]{\setlength{\rightskip}{0pt plus 5cm}int\& {\bf \-B\-W\-A\-P\-I\-::\-Tile\-Position\-::x} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{classBWAPI_1_1TilePosition_a3a7a2af7dd315417da557ef19fdb5b9a}


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


\hypertarget{classBWAPI_1_1TilePosition_a7f0f33013340fb7216f76e83a9b784b9}{\index{\-B\-W\-A\-P\-I\-::\-Tile\-Position@{\-B\-W\-A\-P\-I\-::\-Tile\-Position}!x@{x}}
\index{x@{x}!BWAPI::TilePosition@{\-B\-W\-A\-P\-I\-::\-Tile\-Position}}
\subsubsection[{x}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf \-B\-W\-A\-P\-I\-::\-Tile\-Position\-::x} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{classBWAPI_1_1TilePosition_a7f0f33013340fb7216f76e83a9b784b9}
\hypertarget{classBWAPI_1_1TilePosition_a29140edffa52158ac865fcdaaba190e0}{\index{\-B\-W\-A\-P\-I\-::\-Tile\-Position@{\-B\-W\-A\-P\-I\-::\-Tile\-Position}!y@{y}}
\index{y@{y}!BWAPI::TilePosition@{\-B\-W\-A\-P\-I\-::\-Tile\-Position}}
\subsubsection[{y}]{\setlength{\rightskip}{0pt plus 5cm}int\& {\bf \-B\-W\-A\-P\-I\-::\-Tile\-Position\-::y} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{classBWAPI_1_1TilePosition_a29140edffa52158ac865fcdaaba190e0}


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


\hypertarget{classBWAPI_1_1TilePosition_af1ecbcdbfc995ced92e98c81f4902fca}{\index{\-B\-W\-A\-P\-I\-::\-Tile\-Position@{\-B\-W\-A\-P\-I\-::\-Tile\-Position}!y@{y}}
\index{y@{y}!BWAPI::TilePosition@{\-B\-W\-A\-P\-I\-::\-Tile\-Position}}
\subsubsection[{y}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf \-B\-W\-A\-P\-I\-::\-Tile\-Position\-::y} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{classBWAPI_1_1TilePosition_af1ecbcdbfc995ced92e98c81f4902fca}


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