Added function to get dimensions.

This commit is contained in:
Sheldon Lee
2020-07-04 00:02:55 +01:00
parent 974f99b8f8
commit 4e9422b672
2 changed files with 12 additions and 7 deletions
+2
View File
@@ -19,6 +19,8 @@ unsigned int toIndex(Grid* grid, int x, int y);
bool getPixel(Grid* grid, int x, int y);
void getDimensions(Grid* grid, unsigned int* width, unsigned int* height);
void clearGrid(Grid* grid);
void updateGrid(Grid* grid);