L5A/Room.h

40 lines
689 B
C
Raw Permalink Normal View History

2024-11-06 17:02:03 -07:00
#ifndef ROOM_H
#define ROOM_H
#include <string>
class ARoom {
public:
/**
* @brief Construct a new ARoom object
*/
ARoom();
/**
* @brief Destroy the ARoom object
*/
~ARoom();
/**
* @brief Get the Room Name object
* @return std::string name of the room
*/
std::string getRoomName() const;
/**
* @brief attempts to get out of the room
*
* @return true if the room has been escaped from
* @return false if you are still trapped in the room
*/
virtual bool escapeTheRoom() = 0;
protected:
/**
* @brief name of the room
*/
std::string mRoomName;
private:
};
#endif//ROOM_H