ARES / Mbed 2 deprecated Robot 2016

Dependencies:   mbed

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers Obs_circle.h Source File

Obs_circle.h

00001 #ifndef OBS_CIRCLE_H_
00002 #define OBS_CIRCLE_H_
00003 
00004 #include "Obstacle.h"
00005 
00006 class Obs_circle: public Obstacle
00007 {
00008     public:
00009         Obs_circle(float robotRadius, int id, float x, float y, float size);
00010         virtual int height(float x, float y);
00011         
00012         //void setPos(float x, float y);
00013     private:
00014         float x,y,size2; // size2 c'est la taille au carré
00015 };
00016 
00017 #endif