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: Grid/Grid.h
- 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