![](/media/cache/group/default_image.jpg.50x50_q85.jpg)
a
Dependencies: mbed
Map/Obstacle/Obstacle.h
- Committer:
- Jagang
- Date:
- 2014-12-14
- Revision:
- 0:85567bbcebdb
File content as of revision 0:85567bbcebdb:
#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