class for obstacles in Car_race game

Revision:
5:b000cefeb3c5
Parent:
4:b1648ba28d3f
Child:
6:44243b2bc27c
diff -r b1648ba28d3f -r b000cefeb3c5 Obstacles.cpp
--- a/Obstacles.cpp	Thu Mar 23 23:59:46 2017 +0000
+++ b/Obstacles.cpp	Fri Apr 07 10:56:09 2017 +0000
@@ -24,15 +24,15 @@
     switch(_Obstacle_x){
       
       case 0:
-      lcd.drawRect(2,2,25,2,1);
+      lcd.drawRect(2,2,25,2,FILL_BLACK);
       break;
       
       case 1:
-      lcd.drawRect(28,2,27,2,1);
+      lcd.drawRect(28,2,27,2,FILL_BLACK);
       break;
       
       case 2:
-      lcd.drawRect(56,2,25,2,1);
+      lcd.drawRect(56,2,25,2,FILL_BLACK);
       break;
    }
 }