1 #ifndef __CONTAINER_H__
2 #define __CONTAINER_H__
7 class Container: public Object
10 Container(Vector, Object * p = 0);
13 virtual void Draw(QPainter *);
14 virtual Vector Center(void);
15 virtual bool Collided(Vector);
16 virtual void PointerMoved(Vector);
17 virtual void PointerReleased(void);
18 virtual bool NeedsUpdate(void);
19 virtual void Add(Object *);
22 Vector oldPoint; // Used for dragging
25 std::vector<Object *> objects;
30 bool objectWasDragged;
33 #endif // __CONTAINER_H__