BastatDoreau / Mbed 2 deprecated MoveYourTetris

Dependencies:   mbed APDS_9960 mbed-rtos

Dependents:   MoveYourTetris_OK

Revision:
14:6b6aa696680f
Parent:
11:c37922a0a915
Child:
29:95469b25e187
Child:
36:f58a566595ad
diff -r 336220ac9a8b -r 6b6aa696680f include/cMatrice.h
--- a/include/cMatrice.h	Sun Apr 10 21:54:27 2016 +0000
+++ b/include/cMatrice.h	Mon Apr 11 11:36:14 2016 +0000
@@ -16,13 +16,14 @@
 	////////////////////////////////////////////////////////
 	// Gestion des collisions aux bords
 	////////////////////////////////////////////////////////
-	bool _collisionBordGauche;
+/*	bool _collisionBordGauche;
 	bool _collisionBordDroit;
 	bool _collisionBordBas;
 	void controleCollisionBords();
 	////////////////////////////////////////////////////////
 	// Gestion des collisions aux pièces
 	////////////////////////////////////////////////////////
+	*/
 protected:
 public:
 // CONSTRUCTEUR
@@ -33,13 +34,14 @@
 	virtual ~cMatrice();
 
 // GETTER
-	unsigned char getValTab(unsigned char, unsigned char);
+	unsigned char getValTab(unsigned char l, unsigned char c);
 	unsigned char getCol();
 	unsigned char getLig();
 	cForme* get_pForme();
 // SETTER
 	void setCol(unsigned char);
 	void setLig(unsigned char);
+	void setValTab(unsigned char l, unsigned char c, unsigned char coul);
 // METHODES
 	void updateMatrice();
 	void afficherForme(cForme * f, unsigned char c);