a
Dependencies: mbed
Diff: Map/Obstacle/Obstacle.cpp
- Revision:
- 0:85567bbcebdb
diff -r 000000000000 -r 85567bbcebdb Map/Obstacle/Obstacle.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Map/Obstacle/Obstacle.cpp Sun Dec 14 17:49:01 2014 +0000 @@ -0,0 +1,11 @@ +#include "Obstacle.h" + +Obstacle::Obstacle(float robotWidth) +{ + this->robotWidth = robotWidth; + bigShape = true; + + lastId++; + id = lastId; +} +