class for bullet in Car_race game
Diff: Bullet.cpp
- Revision:
- 12:170175334df8
- Parent:
- 11:61bbec4ede2c
- Child:
- 13:dd1ccafe3972
diff -r 61bbec4ede2c -r 170175334df8 Bullet.cpp --- a/Bullet.cpp Mon May 01 22:27:40 2017 +0000 +++ b/Bullet.cpp Tue May 02 22:25:27 2017 +0000 @@ -48,6 +48,7 @@ _bullet_x = _bullet_x - 1; _bullet_y = _bullet_y - 1; } + destroyObstacles(lcd); } void Bullet::clearBullet(N5110 &lcd)