Mortal Kombat Game ELEC2645

Dependencies:   mbed N5110 ShiftReg Joystick

Revision:
13:eaf070d5f599
Parent:
12:b4477a312158
Child:
14:7f23841685ad
--- a/Enemy.h	Sun Apr 25 00:16:59 2021 +0000
+++ b/Enemy.h	Sun Apr 25 15:04:06 2021 +0000
@@ -10,7 +10,7 @@
      Enemy();  // constructor
      int get_x();        // get x co-ordinate
      int get_y();        // get y co-ordinate
-     void init();
+     void init(int input);   
      void set_x(int x);  // set x co-ordinate
      void set_y(int y);  // set y co-ordinate
      void add_x(int x);  // add to the x co-ordinate
@@ -20,7 +20,6 @@
      void move_right(N5110 &lcd); // print move right animation
      void move_left(N5110 &lcd); // print move left animation
      void move_right2(N5110 &lcd); // 2nd move right animation to move legs
-     void move_left2(N5110 &lcd); // 2nd move left animation to move legs
      void kick_right(N5110 &lcd); // enemy kick right
      void kick_left(N5110 &lcd); // enemy kick left
      void sword_left(N5110 &lcd); // enemy punch left