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
include/cCollision.h@32:029962133529, 2016-04-22 (annotated)
- Committer:
- Willheisen
- Date:
- Fri Apr 22 06:29:56 2016 +0000
- Revision:
- 32:029962133529
- Parent:
- 16:5c3d61584f51
debuggage des matrices
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
clementdoreau | 15:3782eb2bc312 | 1 | #ifndef CCOLLISION_H |
clementdoreau | 15:3782eb2bc312 | 2 | #define CCOLLISION_H |
clementdoreau | 15:3782eb2bc312 | 3 | |
Willheisen | 16:5c3d61584f51 | 4 | #include "cMatrice.h" |
Willheisen | 16:5c3d61584f51 | 5 | #include "cForme.h" |
clementdoreau | 15:3782eb2bc312 | 6 | |
Willheisen | 32:029962133529 | 7 | // Définition de la classe cCollision |
Willheisen | 32:029962133529 | 8 | // Classe qui gère les collisions possibles entre la pièce en cours et les pièces déjà placées |
Willheisen | 32:029962133529 | 9 | |
Willheisen | 32:029962133529 | 10 | class cCollision |
Willheisen | 32:029962133529 | 11 | { |
clementdoreau | 15:3782eb2bc312 | 12 | private: |
clementdoreau | 15:3782eb2bc312 | 13 | public: |
Willheisen | 32:029962133529 | 14 | // CONSTRUCTEUR |
clementdoreau | 15:3782eb2bc312 | 15 | cCollision(); |
Willheisen | 32:029962133529 | 16 | // DESTRUCTEUR |
clementdoreau | 15:3782eb2bc312 | 17 | ~cCollision(); |
clementdoreau | 15:3782eb2bc312 | 18 | // METHODES |
Willheisen | 16:5c3d61584f51 | 19 | bool bordDroit(cForme &); |
Willheisen | 16:5c3d61584f51 | 20 | bool bordGauche(cForme &); |
Willheisen | 16:5c3d61584f51 | 21 | bool bordBas(cForme &, cMatrice &); |
Willheisen | 16:5c3d61584f51 | 22 | bool pieceBas(cForme &, cMatrice &); |
Willheisen | 16:5c3d61584f51 | 23 | bool pieceGauche(cForme &, cMatrice &); |
Willheisen | 16:5c3d61584f51 | 24 | bool pieceDroite(cForme &, cMatrice &); |
clementdoreau | 15:3782eb2bc312 | 25 | }; |
clementdoreau | 15:3782eb2bc312 | 26 | |
clementdoreau | 15:3782eb2bc312 | 27 | #endif |