--- /dev/null
+#ifndef __CIRCLE_H__
+#define __CIRCLE_H__
+
+#include "object.h"
+
+class Circle: public Object
+{
+ public:
+ Circle(Vector, double, Object * p = 0);
+ ~Circle();
+
+ virtual void Draw(QPainter *);
+ virtual Vector Center(void);
+ virtual bool Collided(Vector);
+ virtual void PointerMoved(Vector);
+ virtual void PointerReleased(void);
+// virtual bool NeedsUpdate(void);
+
+ protected:
+ double radius; // Center is Object::position
+ Vector oldPoint; // Used for dragging
+
+ private:
+ bool dragging;
+ bool draggingHandle1;
+ bool draggingHandle2;
+// bool needUpdate;
+ bool objectWasDragged;
+};
+
+#endif // __CIRCLE_H__