ELEC2645 (2018/19) / Mbed 2 deprecated el17m2h_public

Dependencies:   mbed

Revision:
31:5c4acae51026
Parent:
29:15e9640646b7
Child:
33:de130e274391
diff -r 863565e9859f -r 5c4acae51026 Bullet/Bullet.cpp
--- a/Bullet/Bullet.cpp	Thu May 09 08:59:39 2019 +0000
+++ b/Bullet/Bullet.cpp	Thu May 09 10:15:20 2019 +0000
@@ -21,7 +21,7 @@
 void Bullet::update(float dood_pos_x, float dood_pos_y)
 {
     _position_y -= 3;
-    if (_position_y < 9) { // reached end of screen
+    if (_position_y < 9) {  // reached end of screen
         _position_x = dood_pos_x + 12;
         _position_y = dood_pos_y + 4;
     }