BastatDoreau / Mbed 2 deprecated MoveYourTetris

Dependencies:   mbed APDS_9960 mbed-rtos

Dependents:   MoveYourTetris_OK

Revision:
13:336220ac9a8b
Parent:
12:7afdbc7465ac
Child:
14:6b6aa696680f
--- a/include/cJeu.h	Sun Apr 10 20:51:02 2016 +0000
+++ b/include/cJeu.h	Sun Apr 10 21:54:27 2016 +0000
@@ -11,17 +11,19 @@
 class cJeu 
 {
     private:
-    cMatrice *mat;
-    
+    cMatrice *_mat;
+    unsigned char _score;    
     public:
     // CONSTRUCTEURS
     cJeu();
     // 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();