Tetris Base Game
Dependencies: 4DGL-uLCD-SE SDFileSystem mbed-rtos mbed wave_player
Pieces.h
- Committer:
- jsanchez307
- Date:
- 20 months ago
- Revision:
- 0:1858f2b100fd
File content as of revision 0:1858f2b100fd:
#ifndef _PIECES_
#define _PIECES_
// Pieces Header to Support Game Pieces
class Pieces
{
public:
int GetBlockType(int pPiece, int pRotation, int pX, int pY);
int GetXInitialPosition(int pPiece, int pRotation);
int GetYInitialPosition(int pPiece, int pRotation);
};
#endif // _PIECES_