![]() |
SUPER Space invader : Turbo edition DX - VS GOD 1.0.0
A simple space invader ripoff
|
#include <invadersGrid.h>
Public Member Functions | |
unsigned | validColsNumber () const |
Helper function for randomValidCol() 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. More... | |
unsigned | randomValidCol () const |
Returns a random valid column in the grid. More... | |
Definition at line 62 of file invadersGrid.h.
unsigned InvadersGrid::randomValidCol | ( | ) | const |
Returns a random valid column in the grid.
Definition at line 58 of file invaderGrids.cpp.
unsigned InvadersGrid::validColsNumber | ( | ) | const |
Helper function for randomValidCol() 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.
Definition at line 50 of file invaderGrids.cpp.