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

23 lines
No EOL
362 B
C++

#include "Room.h"
#include <iostream>
using namespace std;
ARoom::ARoom() {
cout << "ARoom() called" << endl;
mRoomName = "Vacant Room";
}
ARoom::~ARoom() {
cout << "~ARoom() called" << endl;
}
string ARoom::getRoomName() const {
return mRoomName;
}
bool ARoom::escapeTheRoom() {
cout << "There's no escape" << endl;
return false;
}