Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of Tetris by
Diff: Block.h
- Revision:
- 2:6b6986c3d2bd
- Parent:
- 1:b4aa36ae11ac
- Child:
- 4:107d1d5a642e
--- 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();
};
