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.
Dependencies: mbed
Fork of el17ajf by
Diff: Tetromino/Tetromino.h
- Revision:
 - 7:2e37bad816cb
 - Parent:
 - 6:a54df561f442
 - Child:
 - 8:5066ce13a430
 
diff -r a54df561f442 -r 2e37bad816cb Tetromino/Tetromino.h
--- a/Tetromino/Tetromino.h	Thu Mar 14 12:08:10 2019 +0000
+++ b/Tetromino/Tetromino.h	Fri Mar 15 07:55:23 2019 +0000
@@ -9,11 +9,15 @@
     Tetromino movedLeft();
     Tetromino movedRight();
     Tetromino movedDown();
+    Tetromino rotatedClockwise();
+    Tetromino rotatedAnticlockwise();
     void draw();
     static Type getRandomTetrominoType();
+    Tetromino(); // TODO is this needed
+    ~Tetromino();
+    Block blocks[4];
 private:
     Tetromino translated(int dx, int dy);
     Tetromino(Block a, Block b, Block c, Block d);
     static Tetromino getTetrominoFromString(const char * str);
-    ~Tetromino();
 };
\ No newline at end of file
    