BastatDoreau / Mbed 2 deprecated MoveYourTetris

Dependencies:   mbed APDS_9960 mbed-rtos

Dependents:   MoveYourTetris_OK

Revision:
16:5c3d61584f51
Parent:
15:3782eb2bc312
Child:
32:029962133529
Child:
38:418278e5eb6b
--- a/include/cCollision.h	Mon Apr 11 13:29:31 2016 +0000
+++ b/include/cCollision.h	Mon Apr 11 14:02:02 2016 +0000
@@ -1,7 +1,8 @@
 #ifndef CCOLLISION_H
 #define CCOLLISION_H
 
-#include "cJeu.h"
+#include "cMatrice.h"
+#include "cForme.h"
 
 class cCollision{
     
@@ -21,12 +22,12 @@
     
     // METHODES
         
-    bool bordDroit(const cForme &, const cMatrice &);
-    bool bordGauche(const cForme &, const cMatrice &);
-    bool bordBas(const cForme &, const cMatrice &);
-    bool pieceBas(const cForme &, const cMatrice &);
-    bool pieceGauche(const cForme &, const cMatrice &);
-    bool pieceDroite(const cForme &, const cMatrice &);
+    bool bordDroit(cForme &);
+    bool bordGauche(cForme &);
+    bool bordBas(cForme &, cMatrice &);
+    bool pieceBas(cForme &, cMatrice &);
+    bool pieceGauche(cForme &, cMatrice &);
+    bool pieceDroite(cForme &, cMatrice &);
 };
 
 #endif
\ No newline at end of file