X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fobject.h;h=efcffe1f00bd34990cb15102f19a8759990cace6;hb=baf67656b97e3d61e9223e66ebe4f554e364cd4a;hp=0c8965403a3437663e0ea1dbe68faaec6dda89cf;hpb=bd9b40058a376c946318a444dd6c77737ec6ac98;p=architektonas diff --git a/src/object.h b/src/object.h index 0c89654..efcffe1 100644 --- a/src/object.h +++ b/src/object.h @@ -26,7 +26,10 @@ class Object virtual void Transmute(Object *, Object *); virtual Object * GetParent(void); virtual void Add(Object *); + virtual Vector * GetPointAt(Vector); ObjectState GetState(void); + void Reparent(Object *); + Dimension * GetAttachedDimension(void); //Hm. Object * Connect(Object *); // Class methods @@ -36,6 +39,7 @@ class Object static void SetViewportHeight(int); static void SetDeleteActive(bool state = true); static void SetDimensionActive(bool state = true); + static void SetSnapMode(bool state = true); protected: Vector position; // All objects have a position (doubles as reference point) @@ -55,6 +59,7 @@ class Object static int viewportHeight; static bool deleteActive; static bool dimensionActive; + static bool snapToGrid; }; #endif // __OBJECT_H__