BastatDoreau / Mbed 2 deprecated MoveYourTetris

Dependencies:   mbed APDS_9960 mbed-rtos

Dependents:   MoveYourTetris_OK

Revision:
7:4b283e36b147
Parent:
5:d6b0bf27bac6
Child:
9:6f3d8b714a59
--- a/include/cMatrice.h	Thu Mar 31 11:24:34 2016 +0000
+++ b/include/cMatrice.h	Fri Apr 01 14:30:30 2016 +0000
@@ -5,33 +5,32 @@
 #include <vector>
 #include "mbed.h"
 
-
-
-
 // Déclaration de la classe Matrice
 
-class cMatrice
-{
+class cMatrice {
 private:
-    unsigned char** _matrice;
-    //unsigned char _matrice [8][8];
-        std::vector<cForme> _formes;
+	unsigned char** _matrice;
+	//unsigned char _matrice [8][8];
+	std::vector<cForme> _formes;
 protected:
 public:
 // CONSTRUCTEUR
-    cMatrice();
-    virtual ~cMatrice();
+	cMatrice();
+	virtual ~cMatrice();
 
 // GETTER
-    unsigned char **getMatrice();
+	unsigned char **getMatrice();
 // SETTER
-    void updateMatrice(cForme &);
+	void updateMatrice(cForme &);
 // METHODES
-    void envoyerMatrice();
-    void afficherForme(cForme &, unsigned char c);
-    void ajouterForme(cForme &, unsigned char c);
-    void supprimerForme(cForme & f);
-    void clear();
+	void envoyerMatrice();
+	void afficherForme(cForme &, unsigned char c);
+	void ajouterForme(cForme &, unsigned char c);
+	void supprimerForme(cForme & f);
+	cForme getForme(unsigned int i);
+	void clear();
 };
 
+
+
 #endif // CMATRICE_H