// // Created by camer on 22/05/2020. // #ifndef PROJET_VICTORAVECUNK_MENU_H #define PROJET_VICTORAVECUNK_MENU_H #include #include #include "Tortue.h" class Menu { protected: int id; //Défini l'écran actuel int nbreChoices; //Nbre d'élémennts du menu actuel int choice; //L'élement choisi du menu actuel std::list> list; //liste de toutes les pairs d'Id et éléments std::list> listId; //Chemin d'Id parcouru public: Menu(); //Constructeur //Getters int getId() const; int getChoice() const; //Methods std::string getMessage(); void nextChoice(); void previousChoice(); void menuBack(); void menuNext(); std::string displayDefault(float temp, float press, int rad, int tap, int nbTortue); }; #endif //PROJET_VICTORAVECUNK_MENU_H