Tetris game on mikroTFT touchscreen and LPC1768

Dependencies:   Tetris

Dependents:   Tetris

Block.h

Committer:
sergun2311
Date:
2017-02-25
Revision:
1:b4aa36ae11ac
Parent:
0:645509d95b8d
Child:
2:6b6986c3d2bd

File content as of revision 1:b4aa36ae11ac:

#ifndef BLOCK_H
#define BLOCK_H

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