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/cMatrice.h
- Revision:
- 14:6b6aa696680f
- Parent:
- 11:c37922a0a915
- Child:
- 29:95469b25e187
- Child:
- 36:f58a566595ad
diff -r 336220ac9a8b -r 6b6aa696680f include/cMatrice.h --- a/include/cMatrice.h Sun Apr 10 21:54:27 2016 +0000 +++ b/include/cMatrice.h Mon Apr 11 11:36:14 2016 +0000 @@ -16,13 +16,14 @@ //////////////////////////////////////////////////////// // Gestion des collisions aux bords //////////////////////////////////////////////////////// - bool _collisionBordGauche; +/* bool _collisionBordGauche; bool _collisionBordDroit; bool _collisionBordBas; void controleCollisionBords(); //////////////////////////////////////////////////////// // Gestion des collisions aux pièces //////////////////////////////////////////////////////// + */ protected: public: // CONSTRUCTEUR @@ -33,13 +34,14 @@ virtual ~cMatrice(); // GETTER - unsigned char getValTab(unsigned char, unsigned char); + unsigned char getValTab(unsigned char l, unsigned char c); unsigned char getCol(); unsigned char getLig(); cForme* get_pForme(); // SETTER void setCol(unsigned char); void setLig(unsigned char); + void setValTab(unsigned char l, unsigned char c, unsigned char coul); // METHODES void updateMatrice(); void afficherForme(cForme * f, unsigned char c);