Meteor defense project

Dependencies:   N5110 mbed

Revision:
28:450ab72fabdc
Parent:
27:d4926f19c12a
Child:
29:6632dd9c48d8
--- a/GameEngine/GameEngine.h	Fri Apr 14 21:43:05 2017 +0000
+++ b/GameEngine/GameEngine.h	Mon Apr 17 18:22:16 2017 +0000
@@ -6,6 +6,7 @@
 #include "Gamepad.h"
 #include "Weapon.h"
 #include "Spawn.h"
+#include "WeaponUpgrades.h"
 
 #define Rows 48
 #define Cols 84
@@ -26,13 +27,16 @@
 
     void init();
     void update(Gamepad &pad, N5110 &lcd);
-    
+    void weapUpgrade(Gamepad &pad, N5110 &lcd);
     
-    int Array[Cols][Rows]; //this was Array1 (main)
+    int done;
+    
+    int Array[Cols][Rows]; //main
     int Array2[Cols][Rows]; // secondary
     //this char array to differentiate the 4 different kind of spawn - a, b, c and d.
     char charArray[Cols][Rows]; //used as main array
-    char charArray2[Cols][Rows]; //this was Array2 - secondary array
+    char charArray2[Cols][Rows]; //secondary array
+    
     
     
 private:
@@ -40,9 +44,10 @@
     Weapon _d1;
     Weapon _d2;
     Spawn spa;
+    WeaponUpgrades wu;
+    
     int drawit;
     
-     
 };
 
 #endif
\ No newline at end of file