ELEC2645 (2018/19) / Mbed 2 deprecated el17ajf

Dependencies:   mbed

Fork of el17ajf by Angus Findlay

Revision:
15:afeefa3ceb61
Parent:
11:fba7d54fd36b
Child:
18:24ce897024d0
--- a/Grid/Grid.h	Mon Mar 18 18:26:11 2019 +0000
+++ b/Grid/Grid.h	Tue Mar 19 10:36:51 2019 +0000
@@ -7,13 +7,13 @@
     void clear();
     void draw();
     Grid();
+    const static int GRID_HEIGHT = 20;
+    const static int GRID_WIDTH = 10;
     
 private:
     void checkForLines();
     void moveDownIfNeeded();
     void shiftDownFrom(int row);
-    const static int GRID_HEIGHT = 20;
-    const static int GRID_WIDTH = 10;
     bool grid[10][20];
     bool isSpaceForBlock(Block block);
 };
\ No newline at end of file