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
Map/Objectifs/Objectif.h
- Committer:
- Jagang
- Date:
- 2015-05-24
- Revision:
- 0:b127c787a51b
File content as of revision 0:b127c787a51b:
#ifndef OBJECTIF_H #define OBJECTIF_H #include "includes.h" class Objectif { public: Objectif(float x, float y, float theta); virtual void run() = 0; bool isDone(){return done;} float getX(){return x;} float getY(){return y;} float getTheta(){return theta;} int getId(){return id;} void setId(int id){this->id = id;} virtual int isActive(){return active;} void activate(){active=true;} void desactivate(){active=false;} protected: float x,y,theta; bool done,active; int id; }; #endif