+ // too lazy to rewrite for now, so we transform to base_type...
+ base_type base;
+ base.x = rect.p1.x;
+ base.y = rect.p1.y;
+ base.width = rect.get_width();
+ base.height = rect.get_height();
+ return (const Tile*) collision_func(base, test_goal_tile_function);