Robot's source code
Dependencies: mbed
Map/Obstacles/Obs_circle.h@123:55e5e9acc541, 2015-05-11 (annotated)
- Committer:
- Jagang
- Date:
- Mon May 11 20:32:11 2015 +0000
- Revision:
- 123:55e5e9acc541
- Parent:
- 109:53918ba98306
Maj AI; Repositionnement du d?part (1000,177); Ajout de l'action sur les claps
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Jagang | 109:53918ba98306 | 1 | #ifndef OBS_CIRCLE_H_ |
Jagang | 109:53918ba98306 | 2 | #define OBS_CIRCLE_H_ |
Jagang | 109:53918ba98306 | 3 | |
Jagang | 109:53918ba98306 | 4 | #include "Obstacle.h" |
Jagang | 109:53918ba98306 | 5 | |
Jagang | 109:53918ba98306 | 6 | class Obs_circle: public Obstacle |
Jagang | 109:53918ba98306 | 7 | { |
Jagang | 109:53918ba98306 | 8 | public: |
Jagang | 123:55e5e9acc541 | 9 | Obs_circle(float robotRadius, int id, float x, float y, float size); |
Jagang | 109:53918ba98306 | 10 | virtual int height(float x, float y); |
Jagang | 109:53918ba98306 | 11 | |
Jagang | 123:55e5e9acc541 | 12 | //void setPos(float x, float y); |
Jagang | 109:53918ba98306 | 13 | private: |
Jagang | 109:53918ba98306 | 14 | float x,y,size2; // size2 c'est la taille au carré |
Jagang | 109:53918ba98306 | 15 | }; |
Jagang | 109:53918ba98306 | 16 | |
Jagang | 109:53918ba98306 | 17 | #endif |