-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathForbiddenForest.cpp
More file actions
30 lines (23 loc) · 873 Bytes
/
ForbiddenForest.cpp
File metadata and controls
30 lines (23 loc) · 873 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
/****************************
**Program: Final Project
**Name: Kirsten Carter
**Date: 6/3/2019
**Description: ForbiddenForest Class - Holds play function. Takes a pointer to the player, a reference to the vector named Inventory, and a reference to Steps. Inventory and Steps can be altered in
**this function. Will direct you to go to the Pumpkin Patch before coming here. There is nothing to search for.
*****************************/
#include "ForbiddenForest.hpp"
#include <iostream>
ForbiddenForest::ForbiddenForest()
{
}
void ForbiddenForest::play(People * player, std::vector<std::string>& inventory, int &steps)
{
if(player->getBuckbeak()==false)
{
std::cout << "You currently do not have Buckbeak with you, return to the Pumpkin Patch to retrieve him." << std::endl;
++steps;
}
}
ForbiddenForest::~ForbiddenForest()
{
}