Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed APDS_9960 mbed-rtos
Diff: include/cCollision.h
- 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 &);