diff options
author | neoraider <devnull@localhost> | 2008-04-06 15:29:03 +0200 |
---|---|---|
committer | neoraider <devnull@localhost> | 2008-04-06 15:29:03 +0200 |
commit | 356efaf89afdad141b313767e1a2b89de3c08d0a (patch) | |
tree | 37edb2a0fc0ea15f4f60e45ed411cbea7b4c12c5 /LevelObject.h | |
parent | 258eb984bafe0f667d1e76de61c8afaa23f39ef4 (diff) | |
download | zoomedit-356efaf89afdad141b313767e1a2b89de3c08d0a.tar zoomedit-356efaf89afdad141b313767e1a2b89de3c08d0a.zip |
zoomedit: Recreated ZoomEdit based on Glademm.
Diffstat (limited to 'LevelObject.h')
-rw-r--r-- | LevelObject.h | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/LevelObject.h b/LevelObject.h deleted file mode 100644 index 50f470e..0000000 --- a/LevelObject.h +++ /dev/null @@ -1,35 +0,0 @@ -#ifndef LEVELOBJECT_H_ -#define LEVELOBJECT_H_ - -#include "Object.h" -#include "Vertex.h" -#include <list> - - -class LevelObject : public Object { - private: - LevelObject *parent; - - public: - LevelObject(LevelObject *p = NULL) : parent(p) {} - virtual ~LevelObject() {} - - LevelObject* getParent() const { - return parent; - } - - virtual std::vector<SharedPtr<LevelObject> > getChildren() { - return std::vector<SharedPtr<LevelObject> >(); - } - - virtual bool hit(const Vertex &v) const {return false;} - 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) {} -}; - -#endif /*LEVELOBJECT_H_*/ |