contains my game for the embedded systems project 2645

Dependencies:   mbed FXOS8700CQQQ

Revision:
33:24ef796ff2c8
Parent:
29:e660274d8222
--- a/GameTones/GameTones.cpp	Mon Apr 29 17:34:37 2019 +0000
+++ b/GameTones/GameTones.cpp	Fri May 03 00:27:52 2019 +0000
@@ -3,7 +3,7 @@
 //default constructor
 GameTones::GameTones(){
 }
-
+// destructor of the class
 GameTones::~GameTones(){
 }
 
@@ -23,7 +23,7 @@
 
 void GameTones::Play_Welcome_Melody(Gamepad &pad) {
   pad.tone(500, 1);//plays a tone at frequency 500hz  
-  wait(0.5);
+  wait(0.5);//small delay
   pad.tone(300, 2); //plays a tone at frequency 300hz  
   wait(0.5);
   pad.tone(400, 2); //plays a tone at frequency 400hz