virtual void Draw(Painter *);
virtual Vector Center(void);
virtual bool Collided(Vector);
- virtual void PointerMoved(Vector);
+ virtual bool PointerMoved(Vector);
virtual void PointerReleased(void);
virtual bool NeedsUpdate(void);
virtual bool HitTest(Point);
static void SetSnapMode(bool state = true);
static Vector SnapPointToGrid(Vector);
- protected:
+ public:
Vector position; // All objects have a position (doubles as reference point)
+ protected:
Object * parent;
//this needs to be added eventually
// Pen pen;