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);
21 bool StateChanged(void);
24 double radius; // Center is Object::position
25 Vector dragPoint; // Used for rendering edge dragging
30 bool objectWasDragged;
31 bool hitCenter, hitCircle;
32 bool oldHitCenter, oldHitCircle;
35 #endif // __CIRCLE_H__