X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=lib%2Fspecial%2Fmoving_object.h;h=b5c476496cbcfd9ccc46ac73bb4cb2d39acb96a3;hb=133d94d5b145f325c38c8c15c9ea561bfffb092d;hp=e1974d700e5eb0555bf26e0c627ebd8f1eae2252;hpb=d46c78c842ab4090a3f46e560c891234167f124b;p=supertux.git diff --git a/lib/special/moving_object.h b/lib/special/moving_object.h index e1974d700..b5c476496 100644 --- a/lib/special/moving_object.h +++ b/lib/special/moving_object.h @@ -26,6 +26,7 @@ #include "math/rectangle.h" class Sector; +class CollisionGrid; namespace SuperTux { @@ -63,6 +64,7 @@ namespace SuperTux protected: friend class Sector; + friend class CollisionGrid; /** The bounding box of the object (as used for collision detection, this * isn't necessarily the bounding box for graphics)