#include "type.h"
class Tile;
+class World;
/* Collision objects */
enum
bool rectcollision(base_type* one, base_type* two);
bool rectcollision_offset(base_type* one, base_type* two, float off_x, float off_y);
+
void collision_swept_object_map(base_type* old, base_type* current);
bool collision_object_map(base_type* object);
-/* Checks for all possible collisions.
- And calls the collision_handlers, which the collision_objects provide for this case (or not). */
-void collision_handler();
-
/** Return a pointer to the tile at the given x/y coordinates */
Tile* gettile(float x, float y);