-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathForest.hpp
More file actions
67 lines (52 loc) · 1.59 KB
/
Forest.hpp
File metadata and controls
67 lines (52 loc) · 1.59 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
/*******************************************************************************
* ** Author: Gavin Slusher
* ** Date: 6/2/2019
* ** Description: Forest class implementation file. A subclass of the Space
* ** class, it customized it's own layout by overriding the
* ** createSpace() method. There are multiple Forest classes,
* ** but they are essentially the same class hardcoded with
* ** different MapObjects.
* **
* ** The only difference is the main Forest class that has logic
* ** to get, set, and return whether the player has solved the
* ** riddle in that class's cutscene.
* ** *************************************************************************/
#include "displayMenu.hpp"
#include "inputValidation.hpp"
#include "Space.hpp"
#include "Game.hpp"
#ifndef FOREST_HPP
#define FOREST_HPP
//class Game; //forward declaration
class Forest: public Space
{
protected:
bool solved;
public:
Forest(int, int, std::string);
void createSpace();
void getCutscene();
bool getSolved();
};
class ForestBR: public Space
{
protected:
public:
ForestBR(int, int, std::string);
void createSpace();
};
class ForestTR: public Space
{
protected:
public:
ForestTR(int, int, std::string);
void createSpace();
};
class ForestTL: public Space
{
protected:
public:
ForestTL(int, int, std::string);
void createSpace();
};
#endif