std::vector< std::string > m_mainMenus
Contains the different options available on the main menu page.
MainMenu(const bool &p_useAnsiEscapeCodes)
Constructs a new MainMenu object (for API use).
void SetupHomepages()
Create the option selection home pages.
MainMenu()=delete
Disable constructing a new Main Menu object with no arguments.
MainMenu(const MainMenu &&p_mainMenu)=delete
Disable constructing a new MainMenu object using move constructor.
void SetupMainMenuPagesAndGames()
Create the main menu game selection pages and the game array.
~MainMenu()
Destructs a MainMenu object.
MainMenu & operator=(const MainMenu &&p_mainMenu)=delete
Disable constructing a new MainMenu object using move assignment operator.
bool m_useAnsiEscapeCodes
Whether to use use ANSI escapes codes (true) or only extended ASCII characters (false).
void Run()
Orchestration function which contains the main program loop.
std::vector< std::string > m_homepages
Contains the different options available on the homepage.
MainMenu & operator=(const MainMenu &p_mainMenu)=delete
Disable constructing a new MainMenu object using copy assignment operator.
std::vector< std::unique_ptr< Game > > m_games
Games that can be selected and played.
MainMenu(const MainMenu &p_mainMenu)=delete
Disable constructing a new MainMenu object using copy constructor.