Jordan Sanchez / Mbed 2 deprecated Tetris

Dependencies:   4DGL-uLCD-SE SDFileSystem mbed-rtos mbed wave_player

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers Pieces.h Source File

Pieces.h

00001 #ifndef _PIECES_
00002 #define _PIECES_
00003 
00004 // Pieces Header to Support Game Pieces
00005 
00006 class Pieces
00007 {
00008     public:
00009     
00010     int GetBlockType(int pPiece, int pRotation, int pX, int pY);
00011     int GetXInitialPosition(int pPiece, int pRotation);
00012     int GetYInitialPosition(int pPiece, int pRotation);
00013 };
00014 
00015 #endif  // _PIECES_