\doxysection{Game\+Manager\texorpdfstring{$<$}{<} T \texorpdfstring{$>$}{>} Class Template Reference}
\hypertarget{class_game_manager}{}\label{class_game_manager}\index{GameManager$<$ T $>$@{GameManager$<$ T $>$}}


Controls the flow of a board game between two players.  




{\ttfamily \#include $<$Board\+Game\+\_\+\+Classes.\+h$>$}

\doxysubsubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{class_game_manager_addaf3682d9783bdc432a8e3273b5b92c}{Game\+Manager}} (\mbox{\hyperlink{class_board}{Board}}$<$ T $>$ \texorpdfstring{$\ast$}{*}b, \mbox{\hyperlink{class_player}{Player}}$<$ T $>$ \texorpdfstring{$\ast$}{*}p\mbox{[}2\mbox{]}, \mbox{\hyperlink{class_u_i}{UI}}$<$ T $>$ \texorpdfstring{$\ast$}{*}u)
\begin{DoxyCompactList}\small\item\em Construct a game manager with board, players, and \doxylink{class_u_i}{UI}. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_game_manager_a71f46d5189dac5c773f608cea1b5a203}{run}} ()
\begin{DoxyCompactList}\small\item\em Run the main game loop until someone wins or the game ends. \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
\subsubsection*{template$<$typename T$>$\newline
class Game\+Manager$<$ T $>$}
Controls the flow of a board game between two players. 


\begin{DoxyTemplParams}{Template Parameters}
{\em T} & Type of symbol used on the board. \\
\hline
\end{DoxyTemplParams}


\label{doc-constructors}
\Hypertarget{class_game_manager_doc-constructors}
\doxysubsection{Constructor \& Destructor Documentation}
\Hypertarget{class_game_manager_addaf3682d9783bdc432a8e3273b5b92c}\index{GameManager$<$ T $>$@{GameManager$<$ T $>$}!GameManager@{GameManager}}
\index{GameManager@{GameManager}!GameManager$<$ T $>$@{GameManager$<$ T $>$}}
\doxysubsubsection{\texorpdfstring{GameManager()}{GameManager()}}
{\footnotesize\ttfamily \label{class_game_manager_addaf3682d9783bdc432a8e3273b5b92c} 
template$<$typename T$>$ \\
\mbox{\hyperlink{class_game_manager}{Game\+Manager}}$<$ T $>$\+::\+Game\+Manager (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{class_board}{Board}}$<$ T $>$ \texorpdfstring{$\ast$}{*}}]{b}{, }\item[{\mbox{\hyperlink{class_player}{Player}}$<$ T $>$ \texorpdfstring{$\ast$}{*}}]{p}{\mbox{[}2\mbox{]}, }\item[{\mbox{\hyperlink{class_u_i}{UI}}$<$ T $>$ \texorpdfstring{$\ast$}{*}}]{u}{}\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



Construct a game manager with board, players, and \doxylink{class_u_i}{UI}. 



\label{doc-func-members}
\Hypertarget{class_game_manager_doc-func-members}
\doxysubsection{Member Function Documentation}
\Hypertarget{class_game_manager_a71f46d5189dac5c773f608cea1b5a203}\index{GameManager$<$ T $>$@{GameManager$<$ T $>$}!run@{run}}
\index{run@{run}!GameManager$<$ T $>$@{GameManager$<$ T $>$}}
\doxysubsubsection{\texorpdfstring{run()}{run()}}
{\footnotesize\ttfamily \label{class_game_manager_a71f46d5189dac5c773f608cea1b5a203} 
template$<$typename T$>$ \\
void \mbox{\hyperlink{class_game_manager}{Game\+Manager}}$<$ T $>$\+::run (\begin{DoxyParamCaption}{}{}\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



Run the main game loop until someone wins or the game ends. 



The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{_board_game___classes_8h}{Board\+Game\+\_\+\+Classes.\+h}}\end{DoxyCompactItemize}
