\hypertarget{class_invaders_grid}{}\doxysection{Invaders\+Grid Class Reference}
\label{class_invaders_grid}\index{InvadersGrid@{InvadersGrid}}


{\ttfamily \#include $<$invaders\+Grid.\+h$>$}



Inheritance diagram for Invaders\+Grid\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=211pt]{d9/de6/class_invaders_grid__inherit__graph}
\end{center}
\end{figure}


Collaboration diagram for Invaders\+Grid\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=211pt]{d3/dd8/class_invaders_grid__coll__graph}
\end{center}
\end{figure}
\doxysubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
unsigned \mbox{\hyperlink{class_invaders_grid_ad327fc6f3a003e65ff3c131698ca6982}{valid\+Cols\+Number}} () const
\begin{DoxyCompactList}\small\item\em Helper function for \mbox{\hyperlink{class_invaders_grid_ac184c30c8a60fdbe8abed9b9455d35d2}{random\+Valid\+Col()}} that returns the number of valid column (at least one invader in them) in the grid This is a separate function because we need to use it elsewhere. \end{DoxyCompactList}\item 
unsigned \mbox{\hyperlink{class_invaders_grid_ac184c30c8a60fdbe8abed9b9455d35d2}{random\+Valid\+Col}} () const
\begin{DoxyCompactList}\small\item\em Returns a random valid column in the grid. \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}


Definition at line \mbox{\hyperlink{invaders_grid_8h_source_l00062}{62}} of file \mbox{\hyperlink{invaders_grid_8h_source}{invaders\+Grid.\+h}}.



\doxysubsection{Member Function Documentation}
\mbox{\Hypertarget{class_invaders_grid_ac184c30c8a60fdbe8abed9b9455d35d2}\label{class_invaders_grid_ac184c30c8a60fdbe8abed9b9455d35d2}} 
\index{InvadersGrid@{InvadersGrid}!randomValidCol@{randomValidCol}}
\index{randomValidCol@{randomValidCol}!InvadersGrid@{InvadersGrid}}
\doxysubsubsection{\texorpdfstring{randomValidCol()}{randomValidCol()}}
{\footnotesize\ttfamily unsigned Invaders\+Grid\+::random\+Valid\+Col (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const}



Returns a random valid column in the grid. 

\begin{DoxyReturn}{Returns}
an index pointing to a column in the grid 
\end{DoxyReturn}


Definition at line \mbox{\hyperlink{invader_grids_8cpp_source_l00058}{58}} of file \mbox{\hyperlink{invader_grids_8cpp_source}{invader\+Grids.\+cpp}}.

Here is the call graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{d0/d8d/class_invaders_grid_ac184c30c8a60fdbe8abed9b9455d35d2_cgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{class_invaders_grid_ad327fc6f3a003e65ff3c131698ca6982}\label{class_invaders_grid_ad327fc6f3a003e65ff3c131698ca6982}} 
\index{InvadersGrid@{InvadersGrid}!validColsNumber@{validColsNumber}}
\index{validColsNumber@{validColsNumber}!InvadersGrid@{InvadersGrid}}
\doxysubsubsection{\texorpdfstring{validColsNumber()}{validColsNumber()}}
{\footnotesize\ttfamily unsigned Invaders\+Grid\+::valid\+Cols\+Number (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const}



Helper function for \mbox{\hyperlink{class_invaders_grid_ac184c30c8a60fdbe8abed9b9455d35d2}{random\+Valid\+Col()}} that returns the number of valid column (at least one invader in them) in the grid This is a separate function because we need to use it elsewhere. 

\begin{DoxyReturn}{Returns}
The number of valid columns in the grid 
\end{DoxyReturn}


Definition at line \mbox{\hyperlink{invader_grids_8cpp_source_l00050}{50}} of file \mbox{\hyperlink{invader_grids_8cpp_source}{invader\+Grids.\+cpp}}.

Here is the call graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{d0/d8d/class_invaders_grid_ad327fc6f3a003e65ff3c131698ca6982_cgraph}
\end{center}
\end{figure}
Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{d0/d8d/class_invaders_grid_ad327fc6f3a003e65ff3c131698ca6982_icgraph}
\end{center}
\end{figure}


The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
\item 
headers/\mbox{\hyperlink{invaders_grid_8h}{invaders\+Grid.\+h}}\item 
src/\mbox{\hyperlink{invader_grids_8cpp}{invader\+Grids.\+cpp}}\end{DoxyCompactItemize}
