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