diff options
Diffstat (limited to 'Room.h')
-rw-r--r-- | Room.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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 { |