diff options
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) {} }; |