\hypertarget{classDefaultGValue}{\section{\-Default\-G\-Value \-Class \-Reference}
\label{classDefaultGValue}\index{\-Default\-G\-Value@{\-Default\-G\-Value}}
}


{\ttfamily \#include $<$\-Path\-Finder.\-h$>$}

\subsection*{\-Public \-Member \-Functions}
\begin{DoxyCompactItemize}
\item 
int \hyperlink{classDefaultGValue_aef9dd7c9067524267c18329973fa8d0b}{operator()} (\hyperlink{Interface_8h_ad2186bdc15b990e538451931b3e11c67}{\-Tile\-Position} current\-Tile, \hyperlink{Interface_8h_ad2186bdc15b990e538451931b3e11c67}{\-Tile\-Position} previous\-Tile, int g\-Total)
\end{DoxyCompactItemize}


\subsection{\-Detailed \-Description}


\-Definition at line 13 of file \-Path\-Finder.\-h.



\subsection{\-Member \-Function \-Documentation}
\hypertarget{classDefaultGValue_aef9dd7c9067524267c18329973fa8d0b}{\index{\-Default\-G\-Value@{\-Default\-G\-Value}!operator()@{operator()}}
\index{operator()@{operator()}!DefaultGValue@{\-Default\-G\-Value}}
\subsubsection[{operator()}]{\setlength{\rightskip}{0pt plus 5cm}int \-Default\-G\-Value\-::operator() (
\begin{DoxyParamCaption}
\item[{{\bf \-Tile\-Position}}]{current\-Tile, }
\item[{{\bf \-Tile\-Position}}]{previous\-Tile, }
\item[{int}]{g\-Total}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}\label{classDefaultGValue_aef9dd7c9067524267c18329973fa8d0b}


\-Definition at line 16 of file \-Path\-Finder.\-h.



\-References \-B\-W\-A\-P\-I\-::\-Tile\-Position\-::x(), and \-B\-W\-A\-P\-I\-::\-Tile\-Position\-::y().


\begin{DoxyCode}
        {
                gTotal += 10;
                if (currentTile.x() != previousTile.x() && currentTile.y() != 
      previousTile.y())
                        gTotal += 4;

                return gTotal;
        }
\end{DoxyCode}


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




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