BastatDoreau / Mbed 2 deprecated MoveYourTetris

Dependencies:   mbed APDS_9960 mbed-rtos

Dependents:   MoveYourTetris_OK

Revision:
30:c647da947bd9
Parent:
29:95469b25e187
Child:
32:029962133529
diff -r 95469b25e187 -r c647da947bd9 include/cMatrice.h
--- a/include/cMatrice.h	Wed Apr 20 15:09:43 2016 +0000
+++ b/include/cMatrice.h	Thu Apr 21 12:33:58 2016 +0000
@@ -10,9 +10,9 @@
 class cMatrice {
 private:
 	cForme * _pForme;
-	unsigned int ** _matrice;
-	unsigned int _col;
-	unsigned int _lig;
+	int ** _matrice;
+	int _col;
+	int _lig;
 	////////////////////////////////////////////////////////
 	// Gestion des collisions aux bords
 	////////////////////////////////////////////////////////
@@ -28,25 +28,25 @@
 public:
 // CONSTRUCTEUR
 	cMatrice();
-	cMatrice(unsigned int, unsigned int);
+	cMatrice(int, int);
 
 // DESTRUCTEUR
 	virtual ~cMatrice();
 
 // GETTER
-	unsigned int getValTab(unsigned int l, unsigned int c);
-	unsigned int getCol();
-	unsigned int getLig();
+	int getValTab(int l, int c);
+	int getCol();
+	int getLig();
 	cForme* get_pForme();
 // SETTER
-	void setCol(unsigned int);
-	void setLig(unsigned int);
-	void setValTab(unsigned int l, unsigned int c, unsigned int coul);
+	void setCol(int);
+	void setLig(int);
+	void setValTab(int l, int c, unsigned int coul);
 // METHODES
 	void updateMatrice();
 	void afficherForme(cForme * f, unsigned int c);
 	void clear();
-	unsigned int verificationMvt(unsigned int c);
+
 };