summaryrefslogtreecommitdiffstats
path: root/Room.h
diff options
context:
space:
mode:
authorneoraider <devnull@localhost>2008-02-18 21:22:05 +0100
committerneoraider <devnull@localhost>2008-02-18 21:22:05 +0100
commit4c9b0f34f8ebd9cc5a00e49f39e7c9fddda08ec1 (patch)
tree75a46e2976c2d536957d7b50b5042cfcd6f94112 /Room.h
parent77b187b8eba7598fb6154da5d3d62ad0920eac15 (diff)
downloadzoomedit-4c9b0f34f8ebd9cc5a00e49f39e7c9fddda08ec1.tar
zoomedit-4c9b0f34f8ebd9cc5a00e49f39e7c9fddda08ec1.zip
zoomedit: Added some features like hover filters and connectable vertices.
Diffstat (limited to 'Room.h')
-rw-r--r--Room.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Room.h b/Room.h
index e1fdd92..6a5f15d 100644
--- a/Room.h
+++ b/Room.h
@@ -48,6 +48,8 @@ class Room : public LevelObject, private VertexProvider, private EdgeProvider {
return "Room";
}
+ virtual bool canMove() const {return true;}
+
virtual void move(float x, float y) {
Vertex m(x, y);
@@ -55,6 +57,8 @@ class Room : public LevelObject, private VertexProvider, private EdgeProvider {
*v += m;
}
+ virtual bool canRotate() const {return true;}
+
virtual void rotate(Vertex m, float a);
virtual const Vertex* getVertex(size_t id) const {