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.
Fork of Timer by
Diff: Map/Obstacles/Obstacle.h
- Revision:
- 40:ca4dd3faffa8
- Parent:
- 37:da3a2c781672
--- a/Map/Obstacles/Obstacle.h Sat Feb 06 10:11:28 2016 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,34 +0,0 @@
-#ifndef OBSTACLE_H_
-#define OBSTACLE_H_
-
-class Obstacle
-{
- public:
- Obstacle(float robotRadius,int id);
- virtual ~Obstacle();
-
- virtual int height(float x, float y) = 0;
-
- void setBigShape(bool bs) {bigShape = bs;}
- bool isBigShape() {return bigShape;}
-
- void setSmoothBigShape(bool sbs) {smoothBigShape = sbs;}
- bool isSmoothBigShape() {return smoothBigShape;}
-
- void setRobotRadius(float robotRadius) {this->robotRadius = robotRadius;}
- float getRobotRadius() {return robotRadius;}
-
- int getId(){return id;}
- void setId(int id){this->id = id;}
-
- void activate(){active=true;}
- void desactivate(){active=false;}
- protected:
- bool bigShape,smoothBigShape;
- bool active;
- float robotRadius;
-
- int id;
-};
-
-#endif
