#include "game_object.h"
#include "collision_hit.h"
#include "math/vector.h"
-#include "math/rectangle.h"
+#include "math/rect.h"
class Sector;
class CollisionGrid;
}
/** returns the bounding box of the Object */
- const Rectangle& get_bbox() const
+ const Rect& 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)
*/
- Rectangle bbox;
+ Rect bbox;
/** The movement that will happen till next frame
*/
Vector movement;