Tetris game on mikroTFT touchscreen and LPC1768

Dependencies:   Tetris

Dependents:   Tetris

Block.h

Committer:
sergun2311
Date:
2017-03-03
Revision:
2:6b6986c3d2bd
Parent:
1:b4aa36ae11ac
Child:
4:107d1d5a642e

File content as of revision 2:6b6986c3d2bd:

#ifndef BLOCK_H
#define BLOCK_H

class Block {
    public:
        Block();
        ~Block();
        int form;
        int nextForm;
        int angle;
        int x;
        int y;
        bool Active;
        void rotateLeft();
        void rotateRight();
        bool CheckBottom();
        bool CheckLeft();
        bool CheckRight();
        bool CheckRotateLeft(); 
        bool CheckRotateRight();
        void moveLeft();
        void moveRight();
};
    
#endif