diff options
Diffstat (limited to 'Room.h')
-rw-r--r-- | Room.h | 21 |
1 files changed, 21 insertions, 0 deletions
@@ -0,0 +1,21 @@ +#ifndef ROOM_H_ +#define ROOM_H_ + +#include "Polygon.h" +#include <string> + + +class Room : public Polygon { +private: + std::string name; +public: + Room() {} + Room(std::string name) {this->name = name;} + + + std::string &getName() {return name;} + const std::string &getName() const {return name;} + void setName(const std::string &name) {this->name = name;} +}; + +#endif /*ROOM_H_*/ |