Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: Weapons/Weapons.cpp
- Revision:
- 36:27aa597db3d2
- Parent:
- 34:85ccc16f24d2
- Child:
- 82:3211b31e9421
--- a/Weapons/Weapons.cpp Fri May 15 14:19:54 2020 +0000 +++ b/Weapons/Weapons.cpp Fri May 15 16:31:25 2020 +0000 @@ -10,7 +10,7 @@ void Weapons::init(Vector2D sprite_pos, bool sprite_direction, bool bullet_type) { - //bullet for alien or for spacship + // bullet for alien or for spacship set_direction(sprite_direction); if (bullet_type){ calc_bullets_start_pos(sprite_pos, sprite_direction); @@ -21,6 +21,7 @@ } void Weapons::smart_bomb(N5110 &lcd){ + // turn backlight off and on twice lcd.backLightOff(); wait(0.02); lcd.backLightOn();