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:
- 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