summaryrefslogtreecommitdiff
path: root/src/Model/Grid.hpp
diff options
context:
space:
mode:
authormanzerbredes <loic.guegan_secondary@yahoo.fr>2015-05-02 11:06:54 +0200
committermanzerbredes <loic.guegan_secondary@yahoo.fr>2015-05-02 11:06:54 +0200
commit6b8a144bd192de206e11a171841ec6161d11b6aa (patch)
tree0e0d17f8571750233c4b3008b45e2284d2b03f15 /src/Model/Grid.hpp
parent01b25accba1a5329e220aa647255d2c2b284c16e (diff)
Correct bugs
Diffstat (limited to 'src/Model/Grid.hpp')
-rw-r--r--src/Model/Grid.hpp5
1 files changed, 4 insertions, 1 deletions
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<StringElement> * cell);
+ int getNRows();
+ int getNCols();
+ void setCell(int i, int j, Cell<StringElement> *cell);
+ Cell<StringElement>* getCell(short i, short j);
};