KallistiOS git master
Independent SDK for the Sega Dreamcast
Loading...
Searching...
No Matches
Grid Class Reference

#include <grid.h>

Public Member Functions

 Grid ()
 
void Initialize ()
 
void Print ()
 
void Draw ()
 
bool IsCellOutside (int row, int column)
 
bool isCellEmpty (int row, int column)
 
int ClearFullRows ()
 

Data Fields

int grid [20][10]
 

Constructor & Destructor Documentation

◆ Grid()

Grid::Grid ( )

Member Function Documentation

◆ ClearFullRows()

int Grid::ClearFullRows ( )

◆ Draw()

void Grid::Draw ( )

References grid, and Constants::gridOffset.

Referenced by Game::Draw().

◆ Initialize()

void Grid::Initialize ( )

References grid.

Referenced by Grid().

◆ isCellEmpty()

bool Grid::isCellEmpty ( int row,
int column )

References grid.

◆ IsCellOutside()

bool Grid::IsCellOutside ( int row,
int column )

◆ Print()

void Grid::Print ( )

References grid, and printf.

Field Documentation

◆ grid

int Grid::grid[20][10]

Referenced by Draw(), Initialize(), isCellEmpty(), and Print().


The documentation for this class was generated from the following files: