-
Notifications
You must be signed in to change notification settings - Fork 0
/
gamePlay.hpp
44 lines (29 loc) · 994 Bytes
/
gamePlay.hpp
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
/*********************************************************************
* Author: Patrick Rice
* Date: 12/1/2017
* Description: Header file for the gameState class
*********************************************************************/
#ifndef GAMESTATE_HPP
#define GAMESTATE_HPP
#include "character/player.hpp"
#include "maps/map.hpp"
class GamePlay {
private:
int width, stepCounter, stepsLeft;
Player player;
string startingMap;
MapState mapState;
public:
GamePlay();
GamePlay(int);
GamePlay(int, string, MapState);
GamePlay(int, string, MapState, Player);
Map *getMap(vector<Map *>, MapState);
void play();
void printInstructions(string, int width);
void printDialogue(string dialogue, int width);
void printStartingDialogue(Map *, Player player);
void printEndingDialogue(Map *map, Player player);
void advanceDialouge(string string,Map *map, Player player);
};
#endif