intersections method
Where this ShapeComponent has intersection points with another shape
Implementation
@override
Set<Vector2> intersections(Hitbox other) {
assert(
other is ShapeComponent,
'The intersection can only be performed between shapes',
);
return intersection_system.intersections(this, other as ShapeComponent);
}