summaryrefslogtreecommitdiffstats
path: root/Room.h
diff options
context:
space:
mode:
Diffstat (limited to 'Room.h')
-rw-r--r--Room.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/Room.h b/Room.h
new file mode 100644
index 0000000..527a444
--- /dev/null
+++ b/Room.h
@@ -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_*/