Sound update
Dependencies: 4DGL-uLCD-SE Physac-MBED PinDetect SDFileSystem mbed-rtos mbed
tetris/Pieces.h@31:b08cc3c126d6, 21 months ago (annotated)
- Committer:
- jaybalar
- Date:
- Fri Dec 09 21:28:32 2022 +0000
- Revision:
- 31:b08cc3c126d6
- Parent:
- 19:6d9bee043ede
update
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
jsanchez307 | 15:e9f3b72b7486 | 1 | #ifndef _PIECES_ |
jsanchez307 | 15:e9f3b72b7486 | 2 | #define _PIECES_ |
jsanchez307 | 15:e9f3b72b7486 | 3 | |
jsanchez307 | 15:e9f3b72b7486 | 4 | // Pieces Header to Support Game Pieces |
jsanchez307 | 15:e9f3b72b7486 | 5 | |
jsanchez307 | 15:e9f3b72b7486 | 6 | class Pieces |
jsanchez307 | 15:e9f3b72b7486 | 7 | { |
jsanchez307 | 15:e9f3b72b7486 | 8 | public: |
jsanchez307 | 15:e9f3b72b7486 | 9 | |
jsanchez307 | 15:e9f3b72b7486 | 10 | int GetBlockType(int pPiece, int pRotation, int pX, int pY); |
jsanchez307 | 15:e9f3b72b7486 | 11 | int GetXInitialPosition(int pPiece, int pRotation); |
jsanchez307 | 15:e9f3b72b7486 | 12 | int GetYInitialPosition(int pPiece, int pRotation); |
jsanchez307 | 15:e9f3b72b7486 | 13 | }; |
jsanchez307 | 15:e9f3b72b7486 | 14 | |
jsanchez307 | 15:e9f3b72b7486 | 15 | #endif // _PIECES_ |