From 7db6adf7e9e178c83f0278124a3d6c786134b014 Mon Sep 17 00:00:00 2001 From: neoraider Date: Thu, 10 Apr 2008 22:47:04 +0000 Subject: zoomedit: * TexCoords saves number of used coordinates now. * All data classes save changes in the XML tree now. --- src/Data/Gate.h | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'src/Data/Gate.h') 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& 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); + } }; } -- cgit v1.2.3