summaryrefslogtreecommitdiffstats
path: root/LevelVertex.h
diff options
context:
space:
mode:
Diffstat (limited to 'LevelVertex.h')
-rw-r--r--LevelVertex.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/LevelVertex.h b/LevelVertex.h
index 4834c06..a721293 100644
--- a/LevelVertex.h
+++ b/LevelVertex.h
@@ -34,6 +34,9 @@ class LevelVertex : public LevelObject {
provider->rotateVertex(id, m, a);
}
+ virtual bool canConnect() const {return provider->canConnectVertex(id);}
+ virtual void connect() {provider->connectVertex(id);}
+
const Vertex* operator->() const {return provider->getVertex(id);}
const Vertex& operator*() const {return *provider->getVertex(id);}
};