6 class Circle: public Object
9 Circle(Vector, double, Object * p = 0);
12 virtual void Draw(Painter *);
13 virtual Vector Center(void);
14 virtual bool Collided(Vector);
15 virtual void PointerMoved(Vector);
16 virtual void PointerReleased(void);
17 virtual void Enumerate(FILE *);
18 // virtual Object * Copy(void);
23 bool StateChanged(void);
26 double radius; // Center is Object::position
27 Vector dragPoint; // Used for rendering edge dragging
32 bool objectWasDragged;
33 bool hitCenter, hitCircle;
34 bool oldHitCenter, oldHitCircle;
37 #endif // __CIRCLE_H__