Project Submission (late)
Dependencies: mbed
Diff: Menus/DefeatMenu.h
- Revision:
- 3:83e79d31930c
- Parent:
- 2:43bb635db736
--- a/Menus/DefeatMenu.h Fri May 10 10:51:19 2019 +0000 +++ b/Menus/DefeatMenu.h Fri May 10 14:52:28 2019 +0000 @@ -6,6 +6,9 @@ /* screen that displays when the player runs out of time in the maze reuses the yes and no buttons so VictoryMenu is included */ +/** VictoryMenu Class + * @brief Derived from Menu. Displayed when the timer expires. + */ class DefeatMenu : public Menu { public: DefeatMenu(N5110* screenPtr) : Menu(screenPtr) { @@ -23,6 +26,8 @@ lcd->printString("Play again?",10,3); lcd->printString("Yes No",10,4); } + /** Destructor + */ ~DefeatMenu() { delete buttons[0]; delete buttons[1];