L5A/ExitRoom.cpp
2024-11-06 17:02:03 -07:00

20 lines
No EOL
330 B
C++

#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;
}