Sound update
Dependencies: 4DGL-uLCD-SE Physac-MBED PinDetect SDFileSystem mbed-rtos mbed
Diff: Tetris/Pieces.h
- Revision:
- 15:e9f3b72b7486
diff -r 958f66f7b0a8 -r e9f3b72b7486 Tetris/Pieces.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Tetris/Pieces.h Wed Nov 30 22:12:41 2022 +0000 @@ -0,0 +1,15 @@ +#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_