#ifndef _CAVEMAZE_H_ #define _CAVEMAZE_H_ #include #include #include #include #include "Cave.h" #include "Die.h" using namespace std; class CaveMaze { public: CaveMaze(string filename); void Move(int tunnel); void Toss(int tunnel); void ShowLocation() const; bool StillAlive() const; bool StillWumpi() const; private: vector caves; int numGrenades; int numWumpi; int currentLoc; bool alive; int FindEmpty() const; void MoveAdjacentWumpi(); bool AdjacentTo(CaveContents room) const; }; #endif