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:
- 29:95469b25e187
- Parent:
- 26:0897d27b6961
- Child:
- 31:7313366789f2
--- a/include/cJeu.h Wed Apr 20 14:18:18 2016 +0000 +++ b/include/cJeu.h Wed Apr 20 15:09:43 2016 +0000 @@ -24,8 +24,7 @@ cMatrice *_mat; cForme *_ptrForme; cSPI _spi; - unsigned char _score; - unsigned char _detec; + unsigned int _score; osMessageQId* _queue ; osPoolId* _pool; //////////////////////////////////////////////////// @@ -34,23 +33,22 @@ cJeu(); //// //cJeu(unsigned char, unsigned char); - cJeu(unsigned char, unsigned char); + cJeu(unsigned int, unsigned int); // DESTRUCTEUR ~cJeu(); // SETTERS void set_matrice(cMatrice *mat); - void set_score(unsigned char sc); - void setDetec(unsigned char); + void set_score(unsigned int sc); + void setDetec(unsigned int); void setQueue(osMessageQId*, osPoolId*); // GETTERS cMatrice* get_matrice(); - unsigned char get_score(); - unsigned char *getDetec(); + unsigned int get_score(); // METHODES void initialiser(); void nouvellePiece(); - unsigned char ligneComplete(); + unsigned int ligneComplete(); void nouvelleManche(); int partieEnCours(); void fin();