Doxygen comments added

Dependencies:   mbed Gamepad N5110

Revision:
15:fc6b40fceb4f
Parent:
14:9a9ac55616c4
--- a/Scoring/Scoring.cpp	Thu May 09 10:25:47 2019 +0000
+++ b/Scoring/Scoring.cpp	Thu May 09 13:46:01 2019 +0000
@@ -34,7 +34,7 @@
          }
     
      bool Scoring::check_collisions(int bird_y, int pipe_x, int pipe_height) {                             //checks for collisions by looking for 
-    if((pipe_x>17 && pipe_x<29)&&((bird_y<(pipe_height)) || ((bird_y+5)>(pipe_height+26))) || (bird_y>43)) { //overlaps between the bird and the pipe
+    if((pipe_x>17 && pipe_x<29)&&((bird_y<(pipe_height)) || ((bird_y+5)>(pipe_height+24))) || (bird_y>43)) { //overlaps between the bird and the pipe
     return true; }                                                                                         //return true if there is a collision
     else {
     return false;
@@ -50,6 +50,8 @@
         lcd.printString(score_display,0,0);
         sprintf(highscore_display,"High Score : %d",_highscore);
         lcd.printString(highscore_display,1,1);
+        lcd.printString("Press A",0,4);
+        lcd.printString("To Play Again",0,5);
          while ( pad.check_event(Gamepad::A_PRESSED) == false) {
         pad.leds_on();
         wait(0.1);