![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
Andreu- Felix
Diff: commande.h
- Revision:
- 0:afd478f066b0
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/commande.h Mon Jul 03 10:13:36 2017 +0000 @@ -0,0 +1,25 @@ +#ifndef DEF_COMMANDE +#define DEF_COMMANDE + +#include <string> + + +class commande +{ + public: + //commande(); + void avancer(char speed); + void avance(char speed); + void reculer(char speed); + void recu(char speed); + void tourner_droite(char speed); + void tourner_gauche(char speed); + void demi_tour(void); + void stop(void); + + private: + char speed; + +}; + +#endif \ No newline at end of file