-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgame.hpp
More file actions
executable file
·41 lines (35 loc) · 933 Bytes
/
game.hpp
File metadata and controls
executable file
·41 lines (35 loc) · 933 Bytes
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
/*********************************************************************************************************
** Program Filename: game.hpp
** Author: Edwin Grove
** Date: 3/11/2016
** Description: The header file for the game class
** Input: None
** Output: None
**********************************************************************************************************/
#ifndef GAME_HPP
#define GAME_HPP
#include "inventory.hpp"
#include "spaces.hpp"
#include <iostream>
#include <string>
#include <vector>
class game
{
public:
game() {}
game(spaces *R, inventory *backpack);
~game() {}
void currentLocation(spaces *R);
void changeLocation();
void playGame();
private:
spaces *currLoc;
inventory *backpack;
std::string demonsPrompt1;
std::string demonsPrompt2;
std::string endDemons;
std::string altEnd;
std::vector<std::string> demons;
int demNum;
};
#endif // !GAME_HPP