BastatDoreau / Mbed 2 deprecated MoveYourTetris

Dependencies:   mbed APDS_9960 mbed-rtos

Dependents:   MoveYourTetris_OK

Revision:
15:3782eb2bc312
Child:
16:5c3d61584f51
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/include/cCollision.h	Mon Apr 11 13:29:31 2016 +0000
@@ -0,0 +1,32 @@
+#ifndef CCOLLISION_H
+#define CCOLLISION_H
+
+#include "cJeu.h"
+
+class cCollision{
+    
+private:
+    
+    // ATTRIBUTS
+        
+public:
+    
+    // CONSTRUCTEURS
+    
+    cCollision();
+        
+    // DESTRUCTEURS
+    
+    ~cCollision();
+    
+    // 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 &);
+};
+
+#endif
\ No newline at end of file