Website Summary Files Commits Branches @commit @diff @stats
path: root / src / ConsoleInterface / Menu.h
blob: 5298b4b34f81dc5ed99773ed40502929e9489aa7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#ifndef HEADER_CONSOLEINTERFACE_MENU
#define HEADER_CONSOLEINTERFACE_MENU

#include "Command.h"
#include "../List/List.hpp"

class Menu {
	char title[256];
	List<Command> menuOptions;


public:
	Menu();
	Menu(const Command* commands, unsigned commandCount);

	void addCommand(const Command& command);
	void navigate() const;
};

#endif