diff options
author | neoraider <devnull@localhost> | 2008-04-11 00:47:04 +0200 |
---|---|---|
committer | neoraider <devnull@localhost> | 2008-04-11 00:47:04 +0200 |
commit | 7db6adf7e9e178c83f0278124a3d6c786134b014 (patch) | |
tree | 26f975f9391def4b2a14289699fb9d245b65ac52 /src/Data/Room.h | |
parent | 84780a8c1d9801e6a2c9f14dd0c17f362ccf7a57 (diff) | |
download | zoomedit-7db6adf7e9e178c83f0278124a3d6c786134b014.tar zoomedit-7db6adf7e9e178c83f0278124a3d6c786134b014.zip |
zoomedit:
* TexCoords saves number of used coordinates now.
* All data classes save changes in the XML tree now.
Diffstat (limited to 'src/Data/Room.h')
-rw-r--r-- | src/Data/Room.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/Data/Room.h b/src/Data/Room.h index f01b051..efd67cb 100644 --- a/src/Data/Room.h +++ b/src/Data/Room.h @@ -35,6 +35,19 @@ class Room { public: Room(xmlpp::Element *node); + + const std::list<Triangle>& getTriangles() { + return triangles; + } + + const Glib::ustring& getId() const { + return id; + } + + void setId(const Glib::ustring &nid) { + id = nid; + roomNode->set_attribute("id", nid); + } }; } |