![](/media/cache/group/default_image.jpg.50x50_q85.jpg)
a
Dependencies: mbed
Diff: Map/Obstacle/Obstacle.h
- Revision:
- 0:85567bbcebdb
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Map/Obstacle/Obstacle.h Sun Dec 14 17:49:01 2014 +0000 @@ -0,0 +1,26 @@ + +#ifndef OBSTABLE_H_ +#define OBSTABLE_H_ + +class Obstacle +{ + public: + static int lastId; + + Obstacle(float robotWidth); + + virtual int height(float x, float y) = 0; + + void setBigShape(bool bs) {bigShape = bs;} + bool isBigShape() {return bigShape;} + + int getId() {return id;} + + private: + bool bigShape; + float robotWidth; + + int id; +}; + +#endif