deemo1

Dependencies:   mbed

Revision:
4:9fa0c5edd1a1
Parent:
3:1db91ad3ab84
Child:
5:32dbfaf578dd
diff -r 1db91ad3ab84 -r 9fa0c5edd1a1 mian.cpp
--- a/mian.cpp	Tue May 12 15:13:22 2020 +0000
+++ b/mian.cpp	Tue May 12 15:54:51 2020 +0000
@@ -23,6 +23,8 @@
 #define SWARM_SPEED 1
 #define BOSS_HEIGHT 4
 #define BOSS_WIDTH 6
+#define ACID_HEIGHT 3
+#define ACID_WIDTH 1
 
 
 
@@ -90,7 +92,7 @@
      pad.init();
      
      // initialise the game with correct ball and paddle sizes
-     Starcraft.init(BATTLESHIP_HEIGHT, BATTLESHIP_WIDTH, LASER_HEIGHT, LASER_WIDTH,SWARM_HEIGHT, SWARM_WIDTH, BOSS_HEIGHT, BOSS_WIDTH, SWARM_SPEED);
+     Starcraft.init(BATTLESHIP_HEIGHT, BATTLESHIP_WIDTH, LASER_HEIGHT, LASER_WIDTH,SWARM_HEIGHT, SWARM_WIDTH, BOSS_HEIGHT, BOSS_WIDTH, ACID_HEIGHT, ACID_WIDTH, SWARM_SPEED);
 }
 
 // this function draws each frame on the LCD