Ben Evans / Mbed 2 deprecated Defender_Game

Dependencies:   mbed

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();