ELEC2645 (2018/19) / Mbed 2 deprecated el17ajf

Dependencies:   mbed

Fork of el17ajf by Angus Findlay

Revision:
9:3a7776a29a11
Parent:
8:5066ce13a430
Child:
11:fba7d54fd36b
--- a/Grid/Grid.h	Fri Mar 15 16:39:06 2019 +0000
+++ b/Grid/Grid.h	Fri Mar 15 20:30:01 2019 +0000
@@ -12,8 +12,8 @@
     void checkForLines();
     void moveDownIfNeeded();
     void shiftDownFrom(int row);
-    const static int HEIGHT = 20;
-    const static int WIDTH = 10;
-    bool grid[WIDTH][HEIGHT];
+    const static int GRID_HEIGHT = 20;
+    const static int GRID_WIDTH = 10;
+    bool grid[GRID_WIDTH][GRID_HEIGHT];
     bool isSpaceForBlock(Block block);
 };
\ No newline at end of file