TheCOSCGameProject
1.0
lib
menu.h
Go to the documentation of this file.
1
9
#ifndef MENU_H
10
#define MENU_H
11
12
#include <iostream>
13
#include <vector>
14
#include <string>
15
#include <iomanip>
16
22
void
displayIntro
(
int
delayTime,
const
std::string &color);
23
29
void
Displayj
();
30
36
void
StartGame
(
const
std::string &color);
37
42
void
LoadSavedGame
();
43
48
void
DisplayInstructionsText
();
49
56
void
Accessiblity
(
int
&delayTime, std::string &color);
57
64
std::string
getColor
(
int
colorChoice,
const
std::string &color);
65
66
void
DisplayOption
();
67
68
#endif // MENU_H
getColor
std::string getColor(int colorChoice, const std::string &color)
Get color from user for menu.
Definition:
menu.cpp:106
Accessiblity
void Accessiblity(int &delayTime, std::string &color)
Manages accessibility options.
Definition:
menu.cpp:141
StartGame
void StartGame(const std::string &color)
Starts a new game.
Definition:
menu.cpp:55
Displayj
void Displayj()
Displays the game menu.
Definition:
menu.cpp:37
DisplayInstructionsText
void DisplayInstructionsText()
Displays the game instructions.
Definition:
menu.cpp:82
LoadSavedGame
void LoadSavedGame()
Loads a saved game.
Definition:
menu.cpp:65
displayIntro
void displayIntro(int delayTime, const std::string &color)
Displays the introductory text for the game.
Definition:
menu.cpp:20
DisplayOption
void DisplayOption()
Generated by
1.8.13