|
KallistiOS git master
Independent SDK for the Sega Dreamcast
|
#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] |
| Grid::Grid | ( | ) |
References Constants::cellSize, GetCellColors(), and Initialize().
| int Grid::ClearFullRows | ( | ) |
| void Grid::Draw | ( | ) |
References grid, and Constants::gridOffset.
Referenced by Game::Draw().
| bool Grid::isCellEmpty | ( | int | row, |
| int | column ) |
References grid.
| bool Grid::IsCellOutside | ( | int | row, |
| int | column ) |
| int Grid::grid[20][10] |
Referenced by Draw(), Initialize(), isCellEmpty(), and Print().