summaryrefslogtreecommitdiffstats
path: root/LevelVertex.h
diff options
context:
space:
mode:
Diffstat (limited to 'LevelVertex.h')
-rw-r--r--LevelVertex.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/LevelVertex.h b/LevelVertex.h
index 2203bf4..b409ecf 100644
--- a/LevelVertex.h
+++ b/LevelVertex.h
@@ -26,10 +26,14 @@ class LevelVertex : public LevelObject {
return 1000;
}
+ virtual bool canMove() const {return true;}
+
virtual void move(float x, float y) {
provider->moveVertex(id, x, y);
}
+ virtual bool canRotate() const {return true;}
+
virtual void rotate(Vertex m, float a) {
provider->rotateVertex(id, m, a);
}