Rex Raj / Mbed 2 deprecated el17rrrs

Dependencies:   mbed Gamepad N5110 mbed-rtos

Revision:
5:016a7315b75d
Parent:
4:4d673fb2d9dc
Child:
6:1fcfd331c047
--- a/EnemyBeam/EnemyBeam.cpp	Sun May 05 17:41:46 2019 +0000
+++ b/EnemyBeam/EnemyBeam.cpp	Mon May 06 18:29:49 2019 +0000
@@ -27,9 +27,9 @@
 
 void EnemyBeam::update()
 {
-    _speed = 5.0;  // the speed is set at 5
+    _speed = 5.0;  // the speed of the beam moving is set at 5
 
-    _a-=_speed; // the beam moves in the x direction
+    _a-=_speed; // the beam moves in the negative x direction
     
 }