getCollisionClone method
Implementation
List<CollisionArea>? getCollisionClone({bool checkOnlyClose = false}) {
return (collisionOnlyCloseCorners && checkOnlyClose)
? null
: collisions?.map((e) => e.clone()).toList();
}
List<CollisionArea>? getCollisionClone({bool checkOnlyClose = false}) {
return (collisionOnlyCloseCorners && checkOnlyClose)
? null
: collisions?.map((e) => e.clone()).toList();
}