\hypertarget{classWalkPosition}{\section{\-Walk\-Position \-Class \-Reference}
\label{classWalkPosition}\index{\-Walk\-Position@{\-Walk\-Position}}
}


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

\subsection*{\-Public \-Member \-Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{classWalkPosition_af515fd76ee91266ceb0ee8bffd3d3cf0}{\-Walk\-Position} ()
\item 
\hyperlink{classWalkPosition_aae27cde0b66ca8500d521c1ae7be2feb}{\-Walk\-Position} (int \hyperlink{classWalkPosition_abd05579ede05d1b8635788d8e88cb6f5}{x}, int \hyperlink{classWalkPosition_a460c98b7ad00b69a4f41f6994515e21d}{y})
\item 
\hyperlink{classWalkPosition_a302a61e72853717dadf6aae5d9fc417a}{\-Walk\-Position} (const \hyperlink{Interface_8h_a7ae5d695cf6b7c013c5ad30d124278e0}{\-Position} \&p)
\item 
\hyperlink{classWalkPosition_a61f07be62fa7ac5c6ad220dc2870aeb5}{\-Walk\-Position} (const \hyperlink{Interface_8h_ad2186bdc15b990e538451931b3e11c67}{\-Tile\-Position} \&p)
\item 
\hyperlink{classWalkPosition_a49f46f37c67c30e7aa3c793c4f5f4dae}{operator Position} ()
\item 
\hyperlink{classWalkPosition_ab9dc4c6541ed86eb6ca5a66e02f75bba}{operator Tile\-Position} ()
\item 
bool \hyperlink{classWalkPosition_a4e6708ebd0b4f59d19632830afda0222}{operator==} (const \hyperlink{classWalkPosition}{\-Walk\-Position} \&v) const 
\item 
bool \hyperlink{classWalkPosition_a8611dd55e86b7bd42d07f6513d76d66b}{operator!=} (const \hyperlink{classWalkPosition}{\-Walk\-Position} \&v) const 
\item 
bool \hyperlink{classWalkPosition_afbafb6af2b40fcb6da589480ca374b29}{operator$<$} (const \hyperlink{classWalkPosition}{\-Walk\-Position} \&v) const 
\item 
bool \hyperlink{classWalkPosition_a8bd9d00c9c75ead6216281966a738139}{operator$>$} (const \hyperlink{classWalkPosition}{\-Walk\-Position} \&v) const 
\item 
\hyperlink{Interface_8h_a7ae5d695cf6b7c013c5ad30d124278e0}{\-Position} \hyperlink{classWalkPosition_a7a1293c4e06aba07c3b63eb0944cae36}{get\-Center\-Position} () const 
\end{DoxyCompactItemize}
\subsection*{\-Public \-Attributes}
\begin{DoxyCompactItemize}
\item 
int \hyperlink{classWalkPosition_abd05579ede05d1b8635788d8e88cb6f5}{x}
\item 
int \hyperlink{classWalkPosition_a460c98b7ad00b69a4f41f6994515e21d}{y}
\end{DoxyCompactItemize}


\subsection{\-Detailed \-Description}


\-Definition at line 5 of file \-Walk\-Position.\-h.



\subsection{\-Constructor \& \-Destructor \-Documentation}
\hypertarget{classWalkPosition_af515fd76ee91266ceb0ee8bffd3d3cf0}{\index{\-Walk\-Position@{\-Walk\-Position}!\-Walk\-Position@{\-Walk\-Position}}
\index{\-Walk\-Position@{\-Walk\-Position}!WalkPosition@{\-Walk\-Position}}
\subsubsection[{\-Walk\-Position}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-Walk\-Position\-::\-Walk\-Position} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}\label{classWalkPosition_af515fd76ee91266ceb0ee8bffd3d3cf0}


\-Definition at line 10 of file \-Walk\-Position.\-h.


\begin{DoxyCode}
                : x(0), y(0)
        { }
\end{DoxyCode}
\hypertarget{classWalkPosition_aae27cde0b66ca8500d521c1ae7be2feb}{\index{\-Walk\-Position@{\-Walk\-Position}!\-Walk\-Position@{\-Walk\-Position}}
\index{\-Walk\-Position@{\-Walk\-Position}!WalkPosition@{\-Walk\-Position}}
\subsubsection[{\-Walk\-Position}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-Walk\-Position\-::\-Walk\-Position} (
\begin{DoxyParamCaption}
\item[{int}]{x, }
\item[{int}]{y}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}\label{classWalkPosition_aae27cde0b66ca8500d521c1ae7be2feb}


\-Definition at line 14 of file \-Walk\-Position.\-h.


\begin{DoxyCode}
                : x(x), y(y)
        { }
\end{DoxyCode}
\hypertarget{classWalkPosition_a302a61e72853717dadf6aae5d9fc417a}{\index{\-Walk\-Position@{\-Walk\-Position}!\-Walk\-Position@{\-Walk\-Position}}
\index{\-Walk\-Position@{\-Walk\-Position}!WalkPosition@{\-Walk\-Position}}
\subsubsection[{\-Walk\-Position}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-Walk\-Position\-::\-Walk\-Position} (
\begin{DoxyParamCaption}
\item[{const {\bf \-Position} \&}]{p}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}\label{classWalkPosition_a302a61e72853717dadf6aae5d9fc417a}


\-Definition at line 18 of file \-Walk\-Position.\-h.


\begin{DoxyCode}
                : x(p.x() / 8), y(p.y() / 8)
        { }
\end{DoxyCode}
\hypertarget{classWalkPosition_a61f07be62fa7ac5c6ad220dc2870aeb5}{\index{\-Walk\-Position@{\-Walk\-Position}!\-Walk\-Position@{\-Walk\-Position}}
\index{\-Walk\-Position@{\-Walk\-Position}!WalkPosition@{\-Walk\-Position}}
\subsubsection[{\-Walk\-Position}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-Walk\-Position\-::\-Walk\-Position} (
\begin{DoxyParamCaption}
\item[{const {\bf \-Tile\-Position} \&}]{p}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}\label{classWalkPosition_a61f07be62fa7ac5c6ad220dc2870aeb5}


\-Definition at line 22 of file \-Walk\-Position.\-h.


\begin{DoxyCode}
                : x(p.x() * 4), y(p.y() * 4)
        { }
\end{DoxyCode}


\subsection{\-Member \-Function \-Documentation}
\hypertarget{classWalkPosition_a7a1293c4e06aba07c3b63eb0944cae36}{\index{\-Walk\-Position@{\-Walk\-Position}!get\-Center\-Position@{get\-Center\-Position}}
\index{get\-Center\-Position@{get\-Center\-Position}!WalkPosition@{\-Walk\-Position}}
\subsubsection[{get\-Center\-Position}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-Position} {\bf \-Walk\-Position\-::get\-Center\-Position} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}\label{classWalkPosition_a7a1293c4e06aba07c3b63eb0944cae36}


\-Definition at line 62 of file \-Walk\-Position.\-h.



\-References x, and y.



\-Referenced by \-Terrain\-Anaysis\-Class\-::create\-Regions().


\begin{DoxyCode}
        {
                return Position(x * 8 + 4, y * 8 + 4);
        }
\end{DoxyCode}


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


\hypertarget{classWalkPosition_a49f46f37c67c30e7aa3c793c4f5f4dae}{\index{\-Walk\-Position@{\-Walk\-Position}!operator Position@{operator Position}}
\index{operator Position@{operator Position}!WalkPosition@{\-Walk\-Position}}
\subsubsection[{operator Position}]{\setlength{\rightskip}{0pt plus 5cm}\-Walk\-Position\-::operator {\bf \-Position} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}\label{classWalkPosition_a49f46f37c67c30e7aa3c793c4f5f4dae}


\-Definition at line 26 of file \-Walk\-Position.\-h.



\-References x, and y.


\begin{DoxyCode}
        {
                return Position(x * 8, y * 8);
        }
\end{DoxyCode}
\hypertarget{classWalkPosition_ab9dc4c6541ed86eb6ca5a66e02f75bba}{\index{\-Walk\-Position@{\-Walk\-Position}!operator Tile\-Position@{operator Tile\-Position}}
\index{operator Tile\-Position@{operator Tile\-Position}!WalkPosition@{\-Walk\-Position}}
\subsubsection[{operator Tile\-Position}]{\setlength{\rightskip}{0pt plus 5cm}\-Walk\-Position\-::operator {\bf \-Tile\-Position} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}\label{classWalkPosition_ab9dc4c6541ed86eb6ca5a66e02f75bba}


\-Definition at line 31 of file \-Walk\-Position.\-h.



\-References x, and y.


\begin{DoxyCode}
        {
                return TilePosition(x / 4, y / 4);
        }
\end{DoxyCode}
\hypertarget{classWalkPosition_a8611dd55e86b7bd42d07f6513d76d66b}{\index{\-Walk\-Position@{\-Walk\-Position}!operator!=@{operator!=}}
\index{operator!=@{operator!=}!WalkPosition@{\-Walk\-Position}}
\subsubsection[{operator!=}]{\setlength{\rightskip}{0pt plus 5cm}bool \-Walk\-Position\-::operator!= (
\begin{DoxyParamCaption}
\item[{const {\bf \-Walk\-Position} \&}]{v}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}\label{classWalkPosition_a8611dd55e86b7bd42d07f6513d76d66b}


\-Definition at line 41 of file \-Walk\-Position.\-h.



\-References x, and y.


\begin{DoxyCode}
        {
                return !(x == v.x && y == v.y);
        }
\end{DoxyCode}
\hypertarget{classWalkPosition_afbafb6af2b40fcb6da589480ca374b29}{\index{\-Walk\-Position@{\-Walk\-Position}!operator$<$@{operator$<$}}
\index{operator$<$@{operator$<$}!WalkPosition@{\-Walk\-Position}}
\subsubsection[{operator$<$}]{\setlength{\rightskip}{0pt plus 5cm}bool \-Walk\-Position\-::operator$<$ (
\begin{DoxyParamCaption}
\item[{const {\bf \-Walk\-Position} \&}]{v}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}\label{classWalkPosition_afbafb6af2b40fcb6da589480ca374b29}


\-Definition at line 46 of file \-Walk\-Position.\-h.



\-References x, and y.


\begin{DoxyCode}
        {
                if(x == v.x)
                        return y < v.y;
                
                return x < v.x;
        }
\end{DoxyCode}
\hypertarget{classWalkPosition_a4e6708ebd0b4f59d19632830afda0222}{\index{\-Walk\-Position@{\-Walk\-Position}!operator==@{operator==}}
\index{operator==@{operator==}!WalkPosition@{\-Walk\-Position}}
\subsubsection[{operator==}]{\setlength{\rightskip}{0pt plus 5cm}bool \-Walk\-Position\-::operator== (
\begin{DoxyParamCaption}
\item[{const {\bf \-Walk\-Position} \&}]{v}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}\label{classWalkPosition_a4e6708ebd0b4f59d19632830afda0222}


\-Definition at line 36 of file \-Walk\-Position.\-h.



\-References x, and y.


\begin{DoxyCode}
        {
                return (x == v.x && y == v.y);
        }
\end{DoxyCode}
\hypertarget{classWalkPosition_a8bd9d00c9c75ead6216281966a738139}{\index{\-Walk\-Position@{\-Walk\-Position}!operator$>$@{operator$>$}}
\index{operator$>$@{operator$>$}!WalkPosition@{\-Walk\-Position}}
\subsubsection[{operator$>$}]{\setlength{\rightskip}{0pt plus 5cm}bool \-Walk\-Position\-::operator$>$ (
\begin{DoxyParamCaption}
\item[{const {\bf \-Walk\-Position} \&}]{v}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}\label{classWalkPosition_a8bd9d00c9c75ead6216281966a738139}


\-Definition at line 54 of file \-Walk\-Position.\-h.



\-References x, and y.


\begin{DoxyCode}
        {
                if(x == v.x)
                        return y > v.y;

                return x > v.x;
        }
\end{DoxyCode}


\subsection{\-Member \-Data \-Documentation}
\hypertarget{classWalkPosition_abd05579ede05d1b8635788d8e88cb6f5}{\index{\-Walk\-Position@{\-Walk\-Position}!x@{x}}
\index{x@{x}!WalkPosition@{\-Walk\-Position}}
\subsubsection[{x}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf \-Walk\-Position\-::x}}}\label{classWalkPosition_abd05579ede05d1b8635788d8e88cb6f5}


\-Definition at line 8 of file \-Walk\-Position.\-h.



\-Referenced by \-Terrain\-Anaysis\-Class\-::calculate\-Walk\-Tile\-Clearance(), \-Terrain\-Anaysis\-Class\-::create\-Regions(), \-Path\-Finder\-Class\-::\-Create\-Walk\-Path(), \-Walk\-Position\-Path\-::draw\-Path(), \-Terrain\-Anaysis\-Class\-::find\-Choke\-Point(), get\-Center\-Position(), \-Terrain\-Anaysis\-Class\-::get\-Region(), \-Terrain\-Anaysis\-Class\-::get\-Walk\-Clearance(), \-Terrain\-Anaysis\-Class\-::get\-Walk\-Connectivity(), operator Position(), operator Tile\-Position(), operator!=(), \-Default\-Walk\-G\-Value\-::operator()(), \-Default\-Walk\-H\-Value\-::operator()(), \-Default\-Walk\-Test\-::operator()(), operator$<$(), operator==(), operator$>$(), and \-Map\-Helper\-::walk\-Search().

\hypertarget{classWalkPosition_a460c98b7ad00b69a4f41f6994515e21d}{\index{\-Walk\-Position@{\-Walk\-Position}!y@{y}}
\index{y@{y}!WalkPosition@{\-Walk\-Position}}
\subsubsection[{y}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf \-Walk\-Position\-::y}}}\label{classWalkPosition_a460c98b7ad00b69a4f41f6994515e21d}


\-Definition at line 8 of file \-Walk\-Position.\-h.



\-Referenced by \-Terrain\-Anaysis\-Class\-::calculate\-Walk\-Tile\-Clearance(), \-Terrain\-Anaysis\-Class\-::create\-Regions(), \-Path\-Finder\-Class\-::\-Create\-Walk\-Path(), \-Walk\-Position\-Path\-::draw\-Path(), \-Terrain\-Anaysis\-Class\-::find\-Choke\-Point(), get\-Center\-Position(), \-Terrain\-Anaysis\-Class\-::get\-Region(), \-Terrain\-Anaysis\-Class\-::get\-Walk\-Clearance(), \-Terrain\-Anaysis\-Class\-::get\-Walk\-Connectivity(), operator Position(), operator Tile\-Position(), operator!=(), \-Default\-Walk\-G\-Value\-::operator()(), \-Default\-Walk\-H\-Value\-::operator()(), \-Default\-Walk\-Test\-::operator()(), operator$<$(), operator==(), operator$>$(), and \-Map\-Helper\-::walk\-Search().



\-The documentation for this class was generated from the following file\-:\begin{DoxyCompactItemize}
\item 
\-Skynet/\-Skynet/\hyperlink{WalkPosition_8h}{\-Walk\-Position.\-h}\end{DoxyCompactItemize}
