class for obstacles in Car_race game

Revision:
3:124cf90ee993
Parent:
2:4430d4fd91c2
Child:
4:b1648ba28d3f
--- a/Obstacles.cpp	Fri Mar 17 19:37:36 2017 +0000
+++ b/Obstacles.cpp	Sun Mar 19 22:52:41 2017 +0000
@@ -24,15 +24,15 @@
     switch(_Obstacle_x){
       
       case 0:
-      lcd.drawRect(2,2,24,2,1);
+      lcd.drawRect(2,2,25,2,1);
       break;
       
       case 1:
-      lcd.drawRect(30,2,24,2,1);
+      lcd.drawRect(28,2,27,2,1);
       break;
       
       case 2:
-      lcd.drawRect(58,2,24,2,1);
+      lcd.drawRect(56,2,25,2,1);
       break;
    }
 }