Meteor defense project

Dependencies:   N5110 mbed

Revision:
18:d82059ce929b
Parent:
17:53aedd20155a
Child:
19:7ccbb19703f9
--- a/GameEngine/GameEngine.cpp	Mon Apr 10 09:56:47 2017 +0000
+++ b/GameEngine/GameEngine.cpp	Mon Apr 10 11:13:10 2017 +0000
@@ -12,7 +12,8 @@
 void GameEngine::init() {
     _d1.droneInit(20, 46, 0);
     _d2.droneInit(62, 46, 83);   
-    weap.shieldInit(); 
+    weap.init();
+    spa.init();
 }
 void GameEngine::update(Gamepad &pad, N5110 &lcd) {
     _d1.drone(Array1, charArray, lcd);
@@ -36,7 +37,6 @@
     //checkGameRule(lcd);
 }
 void GameEngine::drawLaserPlayer(Gamepad &pad, N5110 &lcd) {
-    weap.laserDamage();
     weap.drawWeapon(pad, lcd);
     //draw a line for the laser when button is pressed
     if (pad.buttonhold_A == 1) {