Tetris game on mikroTFT touchscreen and LPC1768

Dependencies:   Tetris

Dependents:   Tetris

Block.h

Committer:
sergun2311
Date:
2017-03-18
Revision:
4:107d1d5a642e
Parent:
2:6b6986c3d2bd

File content as of revision 4:107d1d5a642e:

#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