Project Submission (late)
Dependencies: mbed
Menu Class Reference
#include <Menus.h>
Inherited by DefeatMenu, MainMenu, OptionsMenu, StartMenu, and VictoryMenu.
Public Member Functions | |
Menu (N5110 *screenPtr) | |
Constructor for the Menu base class. | |
virtual void | draw () |
Virtual draw function, overloaded by Menus to print unique stuff. |
Detailed Description
Menu Class.
An abstract class for all Menus's in the program Takes advantage of polymorphism. Draw() function is overriden in every inheriting Menu class. Score is used in the VictoryMenu and DefeatMenu classes.
Due to the similarity of Menu classes and their small size, I did not give them all header and source files.
Instead, classes are defined when they are declared in the same file and Buttons and Menus are grouped
into the same header files based on common functionality.
Version 1.0
- Date:
- May 2019
Definition at line 58 of file Menus.h.
Constructor & Destructor Documentation
Member Function Documentation
virtual void draw | ( | ) | [virtual] |
Virtual draw function, overloaded by Menus to print unique stuff.
Reimplemented in DefeatMenu, MainMenu, OptionsMenu, StartMenu, and VictoryMenu.
Generated on Thu Jul 14 2022 20:06:29 by 1.7.2