BastatDoreau / Mbed 2 deprecated MoveYourTetris

Dependencies:   mbed APDS_9960 mbed-rtos

Dependents:   MoveYourTetris_OK

Revision:
32:029962133529
Parent:
16:5c3d61584f51
--- a/include/cCollision.h	Thu Apr 21 13:25:08 2016 +0000
+++ b/include/cCollision.h	Fri Apr 22 06:29:56 2016 +0000
@@ -4,24 +4,18 @@
 #include "cMatrice.h"
 #include "cForme.h"
 
-class cCollision{
-    
+// Définition de la classe cCollision
+// Classe qui gère les collisions possibles entre la pièce en cours et les pièces déjà placées
+
+class cCollision
+{
 private:
-    
-    // ATTRIBUTS
-        
 public:
-    
-    // CONSTRUCTEURS
-    
+    // CONSTRUCTEUR
     cCollision();
-        
-    // DESTRUCTEURS
-    
+    // DESTRUCTEUR
     ~cCollision();
-    
     // METHODES
-        
     bool bordDroit(cForme &);
     bool bordGauche(cForme &);
     bool bordBas(cForme &, cMatrice &);