-
Notifications
You must be signed in to change notification settings - Fork 0
/
bedroom.hpp
executable file
·65 lines (59 loc) · 1.5 KB
/
bedroom.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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
/*********************************************************************************************************
** Program Filename: bedroom.hpp
** Author: Edwin Grove
** Date: 3/11/2016
** Description: The header file for the abstractRoom derived class (parent class = spaces)
** Input: None
** Output: None
**********************************************************************************************************/
#ifndef BEDROOM_HPP
#define BEDROOM_HPP
#include "spaces.hpp"
#include "inventory.hpp"
#include "menu.hpp"
#include "input.hpp"
#include <iostream>
#include <string>
class bedroom :public spaces
{
public:
bedroom() {}
bedroom(inventory *pack);
~bedroom() {}
void setPointers(spaces **rooms);
spaces *changeRoom();
void localMenu();
private:
std::string prompt;
std::string roomPrompt;
std::string destPrompt;
std::string option1;
std::string answer1;
std::string option2;
std::string answer2;
std::string option3;
std::string answer3;
std::string option4;
std::string answer4;
std::string backpack;
std::string destHint;
menu dest;
input u;
int choice;
int itemCount;
int itemNum1;
int itemNum2;
int exit1;
int exit2;
spaces *destHint1;
spaces *R2;
spaces *R3;
spaces *R4;
spaces *R5;
spaces *R6;
inventory *bag;
std::vector<std::pair<std::string, std::string> > locVec;
std::vector<std::pair<std::string, std::string> > locVec1;
std::vector<std::pair<spaces *, std::string> > destVec;
};
#endif // !BEDROOM_HPP