diff options
author | neoraider <devnull@localhost> | 2008-02-18 21:22:05 +0100 |
---|---|---|
committer | neoraider <devnull@localhost> | 2008-02-18 21:22:05 +0100 |
commit | 4c9b0f34f8ebd9cc5a00e49f39e7c9fddda08ec1 (patch) | |
tree | 75a46e2976c2d536957d7b50b5042cfcd6f94112 /LevelObject.h | |
parent | 77b187b8eba7598fb6154da5d3d62ad0920eac15 (diff) | |
download | zoomedit-4c9b0f34f8ebd9cc5a00e49f39e7c9fddda08ec1.tar zoomedit-4c9b0f34f8ebd9cc5a00e49f39e7c9fddda08ec1.zip |
zoomedit: Added some features like hover filters and connectable vertices.
Diffstat (limited to 'LevelObject.h')
-rw-r--r-- | LevelObject.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/LevelObject.h b/LevelObject.h index c774352..50f470e 100644 --- a/LevelObject.h +++ b/LevelObject.h @@ -26,7 +26,9 @@ class LevelObject : public Object { virtual bool hit(const Vertex &v, float scale) const {return hit(v);}; virtual int getPriority() const {return 0;} + virtual bool canMove() const {return false;} virtual void move(float x, float y) {} + virtual bool canRotate() const {return false;} virtual void rotate(Vertex m, float a) {} }; |