MiniGame-Madness
menu.h
1 #ifndef MENU_H
2 #define MENU_H
3 
10 #include "ScreenBuffer.h"
11 #include "hangman.h"
12 #include "con4.h"
13 #include "maze.h"
14 #include "hnefatafl.h"
15 #include "wordScrambler.h"
16 #include "BattleshipGame.h"
17 #include "NaughtsxCrossess.h"
18 #include "chckrs.h"
19 #include <conio.h>
20 
25 class Menu {
26 private:
27  int row;
28  int padding;
29  int width;
30  int startY;
32  ScreenBuffer screenBuffer;
37  int startGame(int input);
38 
39 public:
40  static const int RETURN_TO_MENU = 0;
41  static const int EXIT_GAME = 1;
42 
46  int displayMenu();
47 };
48 
49 #endif // MENU_H
Contains the declaration of the Connect4 class and its member functions.
A class that represents the screen buffer.
Definition: screenBuffer.h:26
Contains the declaration of the Maze class and its member methods.
A class that represents the menu of the game.
Definition: menu.h:25
int displayMenu()
Function to display the menu.
Definition: menu.cpp:80