Tetris game on mikroTFT touchscreen and LPC1768
Diff: Block.h
- Revision:
- 2:6b6986c3d2bd
- Parent:
- 1:b4aa36ae11ac
- Child:
- 4:107d1d5a642e
diff -r b4aa36ae11ac -r 6b6986c3d2bd Block.h --- a/Block.h Sat Feb 25 23:52:28 2017 +0000 +++ b/Block.h Fri Mar 03 13:19:26 2017 +0000 @@ -6,6 +6,7 @@ Block(); ~Block(); int form; + int nextForm; int angle; int x; int y; @@ -15,6 +16,8 @@ bool CheckBottom(); bool CheckLeft(); bool CheckRight(); + bool CheckRotateLeft(); + bool CheckRotateRight(); void moveLeft(); void moveRight(); };