#include <stdint.h>
-#include "math/rect.hpp"
+#include "math/rectf.hpp"
#include "supertux/collision_hit.hpp"
#include "supertux/game_object.hpp"
}
/** returns the bounding box of the Object */
- const Rect& get_bbox() const
+ const Rectf& get_bbox() const
{
return bbox;
}
/** The bounding box of the object (as used for collision detection,
this isn't necessarily the bounding box for graphics) */
- Rect bbox;
+ Rectf bbox;
/** The movement that will happen till next frame */
Vector movement;
This field holds the currently anticipated destination of the object
during collision detection */
- Rect dest;
+ Rectf dest;
};
#endif