X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Flibr2c2%2Fobject.h;h=22937921d47a92190edb2d8abc76ca254b9a761b;hb=26a8dbeae14c685c6aef1aad3aa75c6f1a75e458;hp=c346b6de0c9b010199d11dd95bd9b9921e215934;hpb=107a7f787d406f1f664c4986557f9a896e0845ea;p=r2c2.git diff --git a/source/libr2c2/object.h b/source/libr2c2/object.h index c346b6d..2293792 100644 --- a/source/libr2c2/object.h +++ b/source/libr2c2/object.h @@ -11,13 +11,17 @@ class Layout; class Object { +public: + sigc::signal signal_moved; + protected: Layout &layout; Vector position; Angle rotation; Angle tilt; + Shape *shape; - Object(Layout &l): layout(l) { } + Object(Layout &); public: virtual ~Object() { } @@ -48,6 +52,7 @@ public: virtual bool break_link(unsigned) { return false; } virtual void break_links(); + const Shape *get_shape() const; virtual bool collide_ray(const Ray &) const; virtual BoundingBox get_bounding_box() const; };