Projet_VictorAvecUnK/app/include/Menu.h

34 lines
643 B
C++

//
// Created by camer on 22/05/2020.
//
#ifndef PROJET_VICTORAVECUNK_MENU_H
#define PROJET_VICTORAVECUNK_MENU_H
#include <string>
#include <list>
#include "Tortue.h"
class Menu {
protected:
int id;
int nbreChoices;
int choice;
std::list<std::pair<int,std::string>> list;
std::list<int> listId;
public:
Menu();
std::string getMessage();
void nextChoice();
int getId() const;
int getChoice() const;
void previousChoice();
void menuBack();
void menuNext();
std::string displayDefault(float temp, float press, int rad, int tap, int nbTortue);
};
#endif //PROJET_VICTORAVECUNK_MENU_H