minimumDistanceCheck method
Implementation
bool minimumDistanceCheck(Vector2 activeItemCenter, Vector2 potentialCenter) {
return minimumDistance == null ||
!((activeItemCenter.x - potentialCenter.x).abs() > minimumDistance! ||
(activeItemCenter.y - potentialCenter.y).abs() > minimumDistance!);
}