#include #include #include #include "Die.h" #include "Cave.h" using namespace std; Cave::Cave(int num, string name, int left, int straight, int right) // Constructor: creates a new Cave -- storing left, straight, and right in // the adjacentCaves vector, and initializing the other data fields // { // MISSING CODE } void Cave::SetContents(CaveContents c) // Results: updates the contents of the cave to c { // MISSING CODE } void Cave::MarkAsVisited() // Results: marks the cave as having been visited { // MISSING CODE } CaveContents Cave::GetContents() const // Returns: returns the contents of the cave { // MISSING CODE } bool Cave::HasVisited() const // Returns: returns whehter the cave has been visited before { // MISSING CODE } int Cave::GetCaveNum() const // Returns: returns the cave number { // MISSING CODE } string Cave::GetCaveName() const // Returns: the cave's name (if previously visited), else "unknown" { // MISSING CODE } int Cave::GetAdjacent(int tunnel) const // Returns: the number of the cave attached to the specified tunnel { // MISSING CODE }