getCollisionClone method

List<ShapeHitbox>? getCollisionClone({
  1. bool checkOnlyClose = false,
})

Implementation

List<ShapeHitbox>? getCollisionClone({bool checkOnlyClose = false}) {
  return (collisionOnlyCloseCorners && checkOnlyClose)
      ? null
      : collisionsBuilder?.call();
}