contains my game for the embedded systems project 2645

Dependencies:   mbed FXOS8700CQQQ

Revision:
28:39607fb67e88
Parent:
26:35714debc45f
Child:
29:e660274d8222
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/GameTests/tests.cpp	Wed Apr 24 10:19:07 2019 +0000
@@ -0,0 +1,44 @@
+#include "tests.h"
+
+//testing menus
+////////////////////////////////////////////////
+
+tests::tests(){
+    
+}
+void tests::test_welcomeMenu(Gamepad &pad,N5110 &lcd){
+    menu.welcomeMenu(pad,lcd);
+}
+
+void tests::test_Play_Welcome_Melody(Gamepad &pad){
+    Game_Tones.Play_Welcome_Melody(pad);
+}
+
+void tests::test_End_Game_Melody(Gamepad &pad){
+    Game_Tones.End_Game_Melody(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