![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
contains my game for the embedded systems project 2645
Dependencies: mbed FXOS8700CQQQ
Diff: Tests/tests.cpp
- Revision:
- 26:35714debc45f
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Tests/tests.cpp Sat Apr 20 21:23:33 2019 +0000 @@ -0,0 +1,37 @@ +#include "tests.h" +Menus menu; +RocketRacer Rocket_Racing; +//testing menus +//////////////////////////////////////////////// +void tests::test_welcomeMenu(Gamepad &pad,N5110 &lcd){ + menu.welcomeMenu(pad,lcd); +} + +void tests::test_PlayMelody(Gamepad &pad){ + menu.PlayMelody(pad); +} +void tests::test_drawMenu(N5110 &lcd,Gamepad &pad){ + menu.drawMenu(lcd,pad); + } + +void tests::test_credits_page(N5110 &lcd,Gamepad &pad){ + menu.credits(lcd,pad); +} + +void tests::test_loading_menu(N5110 &lcd){ + menu.loading_menu(lcd); +} + +void tests::test_InstructionsMenu(Gamepad &pad,N5110 &lcd){ + menu.InstructionsMenu(pad,lcd); +} + + +//testing game +//////////////////////////////////////////////// +void tests::test_Game_Loop(Gamepad &pad,N5110 &lcd){ + while(1){ + Rocket_Racing.Game_Loop(lcd,pad); + } + +} \ No newline at end of file