summaryrefslogtreecommitdiffstats
path: root/src/Data/Gate.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/Data/Gate.h')
-rw-r--r--src/Data/Gate.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/Data/Gate.h b/src/Data/Gate.h
index 9aa539a..91acbce 100644
--- a/src/Data/Gate.h
+++ b/src/Data/Gate.h
@@ -35,6 +35,28 @@ class Gate {
public:
Gate(xmlpp::Element *node);
+
+ const std::list<Triangle>& getTriangles() {
+ return triangles;
+ }
+
+ const Glib::ustring& getRoom1() const {
+ return room1;
+ }
+
+ void setRoom1(const Glib::ustring &room) {
+ room1 = room;
+ gateNode->set_attribute("room1", room);
+ }
+
+ const Glib::ustring& getRoom2() const {
+ return room2;
+ }
+
+ void setRoom2(const Glib::ustring &room) {
+ room2 = room;
+ gateNode->set_attribute("room2", room);
+ }
};
}