ELEC2645 (2018/19) / Mbed 2 deprecated el17ajf

Dependencies:   mbed

Fork of el17ajf by Angus Findlay

Revision:
34:0bb0d010e755
Parent:
25:bf47fe41883a
Child:
41:91b0c73b9e02
diff -r 0a5bc157bbf8 -r 0bb0d010e755 Tetromino/Tetromino.h
--- a/Tetromino/Tetromino.h	Sat Apr 13 10:05:10 2019 +0000
+++ b/Tetromino/Tetromino.h	Tue Apr 23 16:38:32 2019 +0000
@@ -72,12 +72,19 @@
      */
     static Type getRandomTetrominoType();
     
-    Tetromino(); // TODO is this needed
+    /**
+     * Destructor
+     */
     ~Tetromino();
+    
+    /**
+     * The 4 blocks that make up the tetromino
+     */
     Block blocks[4];
     
     /**
      * @brief This Tetromino, but translated by [x, 0]
+     * @param x The x coordinate to move the Tetromino to
      * @returns A tetromino with the same blocks as this, translated by [x, 0]
      */
     Tetromino teleportedTo(int x);