isCollision method

bool isCollision(
  1. Shape b
)

Implementation

bool isCollision(Shape b) {
  return ShapeCollision.isCollision(this, b);
}