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:
- 30:c647da947bd9
- Parent:
- 29:95469b25e187
- Child:
- 32:029962133529
--- a/include/cMatrice.h Wed Apr 20 15:09:43 2016 +0000
+++ b/include/cMatrice.h Thu Apr 21 12:33:58 2016 +0000
@@ -10,9 +10,9 @@
class cMatrice {
private:
cForme * _pForme;
- unsigned int ** _matrice;
- unsigned int _col;
- unsigned int _lig;
+ int ** _matrice;
+ int _col;
+ int _lig;
////////////////////////////////////////////////////////
// Gestion des collisions aux bords
////////////////////////////////////////////////////////
@@ -28,25 +28,25 @@
public:
// CONSTRUCTEUR
cMatrice();
- cMatrice(unsigned int, unsigned int);
+ cMatrice(int, int);
// DESTRUCTEUR
virtual ~cMatrice();
// GETTER
- unsigned int getValTab(unsigned int l, unsigned int c);
- unsigned int getCol();
- unsigned int getLig();
+ int getValTab(int l, int c);
+ int getCol();
+ int getLig();
cForme* get_pForme();
// SETTER
- void setCol(unsigned int);
- void setLig(unsigned int);
- void setValTab(unsigned int l, unsigned int c, unsigned int coul);
+ void setCol(int);
+ void setLig(int);
+ void setValTab(int l, int c, unsigned int coul);
// METHODES
void updateMatrice();
void afficherForme(cForme * f, unsigned int c);
void clear();
- unsigned int verificationMvt(unsigned int c);
+
};