Tetris game on mikroTFT touchscreen and LPC1768

Dependencies:   Tetris

Dependents:   Tetris

Committer:
sergun2311
Date:
Sat Mar 18 14:45:16 2017 +0000
Revision:
4:107d1d5a642e
Parent:
2:6b6986c3d2bd
Tetris V1

Who changed what in which revision?

UserRevisionLine numberNew contents of line
sergun2311 0:645509d95b8d 1 #ifndef BLOCK_H
sergun2311 0:645509d95b8d 2 #define BLOCK_H
sergun2311 0:645509d95b8d 3
sergun2311 4:107d1d5a642e 4 class Block
sergun2311 4:107d1d5a642e 5 {
sergun2311 4:107d1d5a642e 6 public:
sergun2311 4:107d1d5a642e 7 Block();
sergun2311 4:107d1d5a642e 8 ~Block();
sergun2311 4:107d1d5a642e 9 int form;
sergun2311 4:107d1d5a642e 10 int nextForm;
sergun2311 4:107d1d5a642e 11 int angle;
sergun2311 4:107d1d5a642e 12 int x;
sergun2311 4:107d1d5a642e 13 int y;
sergun2311 4:107d1d5a642e 14 bool Active;
sergun2311 4:107d1d5a642e 15 void rotateLeft();
sergun2311 4:107d1d5a642e 16 void rotateRight();
sergun2311 4:107d1d5a642e 17 bool CheckBottom();
sergun2311 4:107d1d5a642e 18 bool CheckLeft();
sergun2311 4:107d1d5a642e 19 bool CheckRight();
sergun2311 4:107d1d5a642e 20 bool CheckRotateLeft();
sergun2311 4:107d1d5a642e 21 bool CheckRotateRight();
sergun2311 4:107d1d5a642e 22 void moveLeft();
sergun2311 4:107d1d5a642e 23 void moveRight();
sergun2311 0:645509d95b8d 24 };
sergun2311 4:107d1d5a642e 25
sergun2311 0:645509d95b8d 26 #endif