Mortal Kombat Game ELEC2645
Dependencies: mbed N5110 ShiftReg Joystick
Diff: Enemy.h
- Revision:
- 7:737fb0c3dbef
- Parent:
- 6:a1a7dc264fed
- Child:
- 8:e2e2eb4ea0ca
diff -r a1a7dc264fed -r 737fb0c3dbef Enemy.h --- a/Enemy.h Wed Apr 21 22:56:55 2021 +0000 +++ b/Enemy.h Thu Apr 22 01:24:12 2021 +0000 @@ -10,6 +10,7 @@ Enemy(); // constructor int get_x(); // get x co-ordinate int get_y(); // get y co-ordinate + void init(N5110 &lcd); 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