1 #ifndef __DIMENSION_H__
2 #define __DIMENSION_H__
6 class Dimension: public Object
9 Dimension(Vector, Vector, Object * p = 0);
12 virtual void Draw(QPainter *);
13 virtual Vector Center(void);
14 virtual bool Collided(Vector);
15 virtual void PointerMoved(Vector);
16 virtual void PointerReleased(void);
17 // virtual bool NeedsUpdate(void);
20 Vector endpoint; // Starting point is Object::position
21 Vector oldPoint; // Used for dragging
28 bool objectWasDragged;
32 #endif // __DIMENSION_H__