X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fmoving_object.h;h=973595304118d2dd5f514e58bb0513813f0e964f;hb=1aa0de39a5f87bda1e74d0992848ad5142a850bc;hp=cd6850ca6692cb54be3e5c4a560ce35d78dd4e79;hpb=bc9122aa59e02b3f990bd966083c5b0849d475d4;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;