20 lines
330 B
C++
20 lines
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;
|
||
|
}
|