Meteor defense project

Dependencies:   N5110 mbed

Revision:
1:f5cda0674f24
Parent:
0:5fbc0fbc9d30
Child:
2:2c60c92bf65b
--- a/main.cpp	Mon Mar 20 09:15:57 2017 +0000
+++ b/main.cpp	Mon Mar 20 22:06:50 2017 +0000
@@ -6,8 +6,8 @@
 
 #define PI 3.14159265
 //Y rows and X columns
-#define Rows 47
-#define Cols 83
+#define Rows 48
+#define Cols 84
 
 N5110 lcd(PTC9,PTC0,PTC7,PTD2,PTD1,PTC11);
 Gamepad pad;
@@ -23,6 +23,9 @@
 
     init();
     while (true) {
+        spa.randomizeSpawn();
+        spa.moveSpawn(spa.spawnArray);
+        spa.updateSpawn(spa.spawnArray, lcd);
         
         weap.drawWeapon(pad, lcd);