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:
- 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