9 enum ObjectState { OSInactive, OSSelected };
15 Object(Vector, Object * passedInParent = 0);
18 virtual void Draw(QPainter *);
19 virtual Vector Center(void);
20 virtual bool Collided(Vector);
21 virtual void PointerMoved(Vector);
22 virtual void PointerReleased(void);
23 virtual bool NeedsUpdate(void);
25 ObjectState GetState(void);
28 static void SetFixedAngle(bool state = true);
29 static void SetFixedLength(bool state = true);
30 static void SetFont(QFont *);
31 static void SetViewportHeight(int);
34 Vector position; // All objects have a position (doubles as reference point)
44 static bool fixedAngle;
45 static bool fixedLength;
46 static int viewportHeight;
49 #endif // __OBJECT_H__