Mortal Kombat Game ELEC2645
Dependencies: mbed N5110 ShiftReg Joystick
Diff: GameEngine.h
- Revision:
- 8:e2e2eb4ea0ca
- Parent:
- 7:737fb0c3dbef
- Child:
- 13:eaf070d5f599
diff -r 737fb0c3dbef -r e2e2eb4ea0ca GameEngine.h --- a/GameEngine.h Thu Apr 22 01:24:12 2021 +0000 +++ b/GameEngine.h Thu Apr 22 18:33:23 2021 +0000 @@ -14,6 +14,7 @@ void start(N5110 &lcd, DigitalIn &buttonA, DigitalIn &buttonB, DigitalIn &buttonC, DigitalIn &buttonD, AnalogIn &joy_v, AnalogIn &joy_h); int update(int input); void draw(N5110 &lcd); + void enemy_AI(N5110 &lcd); private: void check_fight_collision(); void check_goal();