-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMenu.h
More file actions
executable file
·45 lines (41 loc) · 1.46 KB
/
Copy pathMenu.h
File metadata and controls
executable file
·45 lines (41 loc) · 1.46 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
#ifndef MENU_H
#define MENU_H
#include <string>
#include <iostream>
#include <vector>
#include "Player.h"
#include "Menu.h"
class Menu
{
public:
//Print main menu
void printMenu();
//Get input with getLine
std::string getInput();
//Print credits
void printCredits();
//Print given string
void printMessage(std::string message);
//Print GUI for player turn
void handStart(std::string playerName);
//Print a factory
void printFactory(int id, string contents);
//Print centerPile
void printFactory(std::vector<TileType> *centerPile);
//Print player's mosaic
void printMosaic(Player *player);
//Print player's score
void printScore(string name, int score);
//Print game results with winner
void gameOver(Player *player);
//Print game results with draw
void gameOver(std::string name1, std::string name2, int score);
private:
//Master wall pattern for comparison
TileType master_wall[NUMBER_OF_LINES][NUMBER_OF_LINES] = {DARKBLUE, YELLOW, RED, BLACK, LIGTHBLUE,
LIGTHBLUE, DARKBLUE, YELLOW, RED, BLACK,
BLACK, LIGTHBLUE, DARKBLUE, YELLOW, RED,
RED, BLACK, LIGTHBLUE, DARKBLUE, YELLOW,
YELLOW, RED, BLACK, LIGTHBLUE, DARKBLUE};
};
#endif // !MENU_H