BastatDoreau / Mbed 2 deprecated MoveYourTetris

Dependencies:   mbed APDS_9960 mbed-rtos

Dependents:   MoveYourTetris_OK

Revision:
14:6b6aa696680f
Parent:
13:336220ac9a8b
Child:
15:3782eb2bc312
--- a/include/cJeu.h	Sun Apr 10 21:54:27 2016 +0000
+++ b/include/cJeu.h	Mon Apr 11 11:36:14 2016 +0000
@@ -11,7 +11,8 @@
 class cJeu 
 {
     private:
-    cMatrice *_mat;
+    cMatrice _mat;
+    cForme *_ptrForme;
     unsigned char _score;    
     public:
     // CONSTRUCTEURS
@@ -19,16 +20,17 @@
     // DESTRUCTEUR
     ~cJeu();
     // SETTERS
-    void set_matrice(cMatrice *mat);
+    void set_matrice(cMatrice mat);
     void set_score(unsigned char sc);
     // GETTERS
-    cMatrice *get_matrice();
+    cMatrice get_matrice();
     unsigned char get_score();
     // METHODES
     void initialiser();
-    cForme* nouvellePiece();
-    void disparitionLigne();
-    unsigned char ligneComplete();
+    void nouvellePiece();
+    void ligneComplete();
+    void nouvelleManche();
+
     
 };