Mortal Kombat Game ELEC2645

Dependencies:   mbed N5110 ShiftReg Joystick

Revision:
15:7fd2d34f3be5
Parent:
14:7f23841685ad
Child:
16:4a1d916d97c5
--- a/Enemy.cpp	Mon Apr 26 22:19:28 2021 +0000
+++ b/Enemy.cpp	Mon Apr 26 23:58:35 2021 +0000
@@ -31,7 +31,7 @@
 void Enemy::init() {
     // function to randomly initialize position of each enemy god
     int rrandom = rand()%64;
-    set_x(20);
+    set_x(40);
     set_y(34);
     
 }