Project Submission (late)

Dependencies:   mbed

Revision:
2:43bb635db736
Parent:
0:72f372170a73
Child:
3:83e79d31930c
--- a/Menus/DefeatMenu.h	Fri May 10 09:00:08 2019 +0000
+++ b/Menus/DefeatMenu.h	Fri May 10 10:51:19 2019 +0000
@@ -18,10 +18,10 @@
     void virtual draw() {
       std::stringstream sscore;
       sscore << "Score: " << score;
-      lcd.printString("GAME OVER",10,1);
-      lcd.printString(sscore.str().c_str(),10,2);
-      lcd.printString("Play again?",10,3);
-      lcd.printString("Yes      No",10,4);
+      lcd->printString("GAME OVER",10,1);
+      lcd->printString(sscore.str().c_str(),10,2);
+      lcd->printString("Play again?",10,3);
+      lcd->printString("Yes      No",10,4);
     }
     ~DefeatMenu() {
         delete buttons[0];
@@ -29,4 +29,4 @@
     }   
 };
 
-#endif DEFEATMENU_H
\ No newline at end of file
+#endif // DEFEATMENU_H
\ No newline at end of file