X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fmoving_object.h;h=973595304118d2dd5f514e58bb0513813f0e964f;hb=2c60d146e19529ed9037539a12abb6001f850c60;hp=cd6850ca6692cb54be3e5c4a560ce35d78dd4e79;hpb=8a5364cf211079390c9b4b0802abfd09942d10bc;p=supertux.git diff --git a/src/moving_object.h b/src/moving_object.h index cd6850ca6..973595304 100644 --- a/src/moving_object.h +++ b/src/moving_object.h @@ -22,7 +22,7 @@ #include "game_object.h" #include "collision_hit.h" #include "math/vector.h" -#include "math/rectangle.h" +#include "math/rect.h" class Sector; class CollisionGrid; @@ -48,7 +48,7 @@ public: } /** returns the bounding box of the Object */ - const Rectangle& get_bbox() const + const Rect& get_bbox() const { return bbox; } @@ -74,7 +74,7 @@ protected: /** The bounding box of the object (as used for collision detection, this * isn't necessarily the bounding box for graphics) */ - Rectangle bbox; + Rect bbox; /** The movement that will happen till next frame */ Vector movement;