24 lines
423 B
C++
24 lines
423 B
C++
//
|
|
// Created by camer on 22/05/2020.
|
|
//
|
|
|
|
#ifndef PROJET_VICTORAVECUNK_MENU_H
|
|
#define PROJET_VICTORAVECUNK_MENU_H
|
|
#include <string>
|
|
#include <list>
|
|
|
|
class Menu {
|
|
protected:
|
|
int id;
|
|
int nbreChoices;
|
|
int choice;
|
|
std::list<std::pair<int,std::string>> list;
|
|
public:
|
|
Menu();
|
|
std::string getMessage();
|
|
void nextChoice();
|
|
void update(std::string message);
|
|
};
|
|
|
|
|
|
#endif //PROJET_VICTORAVECUNK_MENU_H
|