|
KallistiOS git master
Independent SDK for the Sega Dreamcast
|
#include <block.h>
Public Member Functions | |
| Block () | |
| void | Draw (int offsetX, int offsetY) |
| void | Move (int rows, int columns) |
| void | Reset () |
| std::vector< Position > | GetCellPositions () |
| void | Rotate () |
| void | UndoRotation () |
Data Fields | |
| int | id |
| std::map< int, std::vector< Position > > | cells |
| const char * | vmuIcon |
| Block::Block | ( | ) |
References Constants::cellSize, GetCellColors(), vmuIcon, and vmuNULL.
| void Block::Draw | ( | int | offsetX, |
| int | offsetY ) |
References GetCellPositions().
Referenced by Game::Draw().
| void Block::Move | ( | int | rows, |
| int | columns ) |
Referenced by Game::MoveBlockDown().
| void Block::Reset | ( | ) |
References Constants::numCols.
| void Block::Rotate | ( | ) |
References cells.
| void Block::UndoRotation | ( | ) |
References cells.
| std::map<int, std::vector<Position> > Block::cells |
Referenced by GetCellPositions(), Rotate(), and UndoRotation().
| int Block::id |
| const char* Block::vmuIcon |
Referenced by Block(), and Game::HandleInput().