diff options
author | neoraider <devnull@localhost> | 2008-02-15 12:01:04 +0100 |
---|---|---|
committer | neoraider <devnull@localhost> | 2008-02-15 12:01:04 +0100 |
commit | 80b4f14530426d21c7ea26b7976a728f5b36c294 (patch) | |
tree | a3d54b26f072f1204c7a1146bd1dc96a8a3850d3 /EdgeProvider.h | |
parent | c4aadd98230f3b9ab50398b715164ff874ea8a61 (diff) | |
download | zoomedit-80b4f14530426d21c7ea26b7976a728f5b36c294.tar zoomedit-80b4f14530426d21c7ea26b7976a728f5b36c294.zip |
Added edges to rooms.
Diffstat (limited to 'EdgeProvider.h')
-rw-r--r-- | EdgeProvider.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/EdgeProvider.h b/EdgeProvider.h new file mode 100644 index 0000000..3a08829 --- /dev/null +++ b/EdgeProvider.h @@ -0,0 +1,18 @@ +#ifndef EDGEPROVIDER_H_ +#define EDGEPROVIDER_H_ + +#include "Edge.h" + + +class EdgeProvider { + public: + virtual ~EdgeProvider() {} + + virtual const Edge* getEdge(size_t id) const = 0; + virtual size_t getEdgeCount() const = 0; + + virtual void moveEdge(size_t id, float x, float y) {} + virtual void rotateEdge(size_t id, float a) {} +}; + +#endif /*EDGEPROVIDER_H_*/ |