L5A/ExitRoom.cpp

20 lines
330 B
C++
Raw Normal View History

2024-11-06 17:02:03 -07:00
#include "ExitRoom.h"
#include <iostream>
using namespace std;
ExitRoom::ExitRoom() {
cout << "ExitRoom() called" << endl;
mRoomName = "Exit Room";
}
ExitRoom::~ExitRoom() {
cout << "~ExitRoom() called" << endl;
}
bool ExitRoom::escapeTheRoom() {
cout << "You found the exit!" << endl;
return true;
}