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/cJeu.h
- Revision:
- 13:336220ac9a8b
- Parent:
- 12:7afdbc7465ac
- Child:
- 14:6b6aa696680f
--- a/include/cJeu.h Sun Apr 10 20:51:02 2016 +0000 +++ b/include/cJeu.h Sun Apr 10 21:54:27 2016 +0000 @@ -11,17 +11,19 @@ class cJeu { private: - cMatrice *mat; - + cMatrice *_mat; + unsigned char _score; public: // CONSTRUCTEURS cJeu(); // DESTRUCTEUR ~cJeu(); // SETTERS - void set_matrice(cMatrice &mat); + void set_matrice(cMatrice *mat); + void set_score(unsigned char sc); // GETTERS - cMatrice get_matrice(); + cMatrice *get_matrice(); + unsigned char get_score(); // METHODES void initialiser(); cForme* nouvellePiece();