class for bullet in Car_race game
Diff: Bullet.cpp
- Revision:
- 9:4ea00d3a8ce0
- Parent:
- 8:89a98a3d7233
- Child:
- 10:3726b7994e2f
diff -r 89a98a3d7233 -r 4ea00d3a8ce0 Bullet.cpp --- a/Bullet.cpp Mon Apr 17 20:45:25 2017 +0000 +++ b/Bullet.cpp Wed Apr 19 20:55:26 2017 +0000 @@ -74,7 +74,7 @@ void Bullet::destroyObstacles(N5110 &lcd) { - printf("they are x=%d y=%d \n",_bullet_x,_bullet_y); + // printf("they are x=%d y=%d \n",_bullet_x,_bullet_y); if ((lcd.getPixel(_bullet_x,_bullet_y)) || // this is for bullet itself (lcd.getPixel(_bullet_x,_bullet_y+1)) || // this is for bullet itself (lcd.getPixel(_bullet_x+1,_bullet_y)) || // this is for bullet itself