BastatDoreau / Mbed 2 deprecated MoveYourTetris

Dependencies:   mbed APDS_9960 mbed-rtos

Dependents:   MoveYourTetris_OK

Revision:
6:0e6c1cccb275
Parent:
3:493dd1cf30a4
--- a/include/cMatrice.h	Wed Mar 30 10:22:07 2016 +0000
+++ b/include/cMatrice.h	Thu Mar 31 07:28:11 2016 +0000
@@ -14,7 +14,7 @@
 {
 private:
     unsigned char** _matrice;
-    //unsigned char _matrice [8][8];
+    std::vector<cForme> _formes;
 protected:
 public:
 // CONSTRUCTEUR
@@ -24,9 +24,13 @@
 // GETTER
     unsigned char **getMatrice();
 // SETTER
-    void updateMatrice(cForme &);
+
 // METHODES
     void envoyerMatrice();
+    void afficherForme(cForme &, unsigned char c);
+    void ajouterForme(cForme &);
+    void supprimerForme(cForme & f);
+    void clear();
 };
 
 #endif // CMATRICE_H