contains my game for the embedded systems project 2645

Dependencies:   mbed FXOS8700CQQQ

Revision:
29:e660274d8222
Parent:
28:39607fb67e88
Child:
33:24ef796ff2c8
--- a/GameTones/GameTones.h	Wed Apr 24 10:19:07 2019 +0000
+++ b/GameTones/GameTones.h	Thu Apr 25 10:44:53 2019 +0000
@@ -26,21 +26,19 @@
 Gamepad pad;
 RocketRacer rc;
 Menus menus;
-tests test;
+GameTones tones;
 
 
 
 int main(){
     
-    
+     //initializes the gamepad and the lcd 
      setup();
-     test.test_Play_Welcome_Melody(pad);
-     test.test_End_Game_Melody(Gamepad &pad);
+     //plays costume made tones for the end of game display
+     tones.End_Game_Melody(pad);
+     //plays costume made tones for the welcome screen
+     tones.Play_Welcome_Melody(pad);
     
-    
-    
-    
-
 }
 
 @endcode
@@ -50,8 +48,17 @@
 class GameTones{
     
     public:
+    /**
+  * @brief Default Constuctor
+  * @details Creates the object of class GameTones
+  */
     GameTones();
     /**
+  * @brief Default destuctor
+  * @details destroys the object of class GameTones
+  */
+    ~GameTones();
+    /**
   * @brief method to play the game over melody
   * @param pad @details calls the Gamepad object to be passed to the methods called inside this method
   */