From 6b8a144bd192de206e11a171841ec6161d11b6aa Mon Sep 17 00:00:00 2001 From: manzerbredes Date: Sat, 2 May 2015 11:06:54 +0200 Subject: Correct bugs --- src/Model/Grid.hpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/Model/Grid.hpp') diff --git a/src/Model/Grid.hpp b/src/Model/Grid.hpp index a291cc8..b7c1f9f 100644 --- a/src/Model/Grid.hpp +++ b/src/Model/Grid.hpp @@ -27,7 +27,10 @@ class Grid bool isEmpty(int i, int j); bool gridIsFull(); - void setCell(int i, int j, Cell * cell); + int getNRows(); + int getNCols(); + void setCell(int i, int j, Cell *cell); + Cell* getCell(short i, short j); }; -- cgit v1.2.3