BastatDoreau / Mbed 2 deprecated MoveYourTetris

Dependencies:   mbed APDS_9960 mbed-rtos

Dependents:   MoveYourTetris_OK

Revision:
1:ab5f440f4156
Parent:
0:b2acac6abf2b
Child:
3:493dd1cf30a4
--- a/include/cForme.h	Fri Mar 25 08:21:57 2016 +0000
+++ b/include/cForme.h	Wed Mar 30 08:53:18 2016 +0000
@@ -1,6 +1,8 @@
 #ifndef CFORME_H
 #define CFORME_H
 
+#include "cLed.h"
+
 class cForme
 {
 
@@ -8,17 +10,17 @@
     unsigned char _orientation; // 4 orientations : rotation de 90° --> de 1 à 4
     unsigned char _positionX;
     unsigned char _positionY;
-    // LEDS
+    cLed _Leds[4];// LEDS
 private:
 
 public:
     // CONSTRUCTEURS
     cForme();
-    cForme(unsigned char o, unsigned char x, unsigned char y);
     // GETTERS
     unsigned char getOrientation();
     unsigned char getPositionX();
     unsigned char getPositionY();
+    cLed *getLed();
     // SETTERS
     void setOrientation(unsigned char orientation);
     void setPositionX(unsigned char x);