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
include/cJeu.h@10:9ef3f520ff6c, 2016-04-07 (annotated)
- Committer:
- clementdoreau
- Date:
- Thu Apr 07 15:24:07 2016 +0000
- Revision:
- 10:9ef3f520ff6c
- Parent:
- 9:6f3d8b714a59
- Child:
- 12:7afdbc7465ac
Optimisation du code
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Willheisen | 8:92d0c4961a16 | 1 | #ifndef JEU_H |
Willheisen | 8:92d0c4961a16 | 2 | #define JEU_H |
Willheisen | 8:92d0c4961a16 | 3 | |
Willheisen | 8:92d0c4961a16 | 4 | #include "cMatrice.h" |
Willheisen | 8:92d0c4961a16 | 5 | #include "cCarre.h" |
Willheisen | 8:92d0c4961a16 | 6 | #include "cZed.h" |
Willheisen | 8:92d0c4961a16 | 7 | #include "cEl.h" |
Willheisen | 8:92d0c4961a16 | 8 | #include "cTe.h" |
Willheisen | 8:92d0c4961a16 | 9 | #include "cLigne.h" |
Willheisen | 8:92d0c4961a16 | 10 | |
Willheisen | 8:92d0c4961a16 | 11 | class cJeu |
Willheisen | 8:92d0c4961a16 | 12 | { |
Willheisen | 8:92d0c4961a16 | 13 | private: |
Willheisen | 9:6f3d8b714a59 | 14 | cMatrice *mat; |
Willheisen | 8:92d0c4961a16 | 15 | |
Willheisen | 8:92d0c4961a16 | 16 | public: |
Willheisen | 8:92d0c4961a16 | 17 | // CONSTRUCTEURS |
Willheisen | 8:92d0c4961a16 | 18 | cJeu(); |
Willheisen | 9:6f3d8b714a59 | 19 | // DESTRUCTEUR |
Willheisen | 9:6f3d8b714a59 | 20 | ~cJeu(); |
Willheisen | 8:92d0c4961a16 | 21 | // METHODES |
Willheisen | 8:92d0c4961a16 | 22 | void initialiser(); |
clementdoreau | 10:9ef3f520ff6c | 23 | cForme* nouvellePiece(); |
Willheisen | 8:92d0c4961a16 | 24 | void disparitionLigne(); |
Willheisen | 8:92d0c4961a16 | 25 | // MUTATEUR |
Willheisen | 8:92d0c4961a16 | 26 | void set_matrice(cMatrice &mat); |
Willheisen | 8:92d0c4961a16 | 27 | // ACCESSEUR |
Willheisen | 8:92d0c4961a16 | 28 | cMatrice get_matrice(); |
Willheisen | 8:92d0c4961a16 | 29 | }; |
Willheisen | 8:92d0c4961a16 | 30 | |
Willheisen | 8:92d0c4961a16 | 31 | #endif //JEU_H |