![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
Li Ruofan 201199450
Dependencies: mbed Gamepad Joystick
Diff: homepage/homepage.h
- Revision:
- 8:b4a2954dd74f
- Parent:
- 6:cbd9e1f26a10
diff -r e3844250b77d -r b4a2954dd74f homepage/homepage.h --- a/homepage/homepage.h Fri May 15 22:23:22 2020 +0000 +++ b/homepage/homepage.h Sat May 16 17:26:10 2020 +0000 @@ -37,7 +37,7 @@ * @param the button B (InterruptIn) * @param the start button (InterruptIn) */ - void homepage(N5110 &lcd,InterruptIn &buttonA,InterruptIn &buttonB, InterruptIn &start, int *score,int n); + void homepage(N5110 &lcd,InterruptIn &buttonB, InterruptIn &start, int *score,int n); /** The rangking lists * @param lcd (N5110) @@ -51,14 +51,13 @@ * @param lcd (N5110) * @param the value of score (int) */ - void drawEverything(N5110 &lcd); - + /** Display rules of the game * @param lcd (N5110) * @param the button B (InterruptIn) */ - void rules(N5110 &lcd,InterruptIn &buttonA,InterruptIn &buttonB); + void rules(N5110 &lcd,InterruptIn &buttonB); /**Play again the game when score > 10