protected override bool IsColliding(IGridCollider collider, out Collision collision) { return(CollisionUtils.IsShapeCollidingGrid(IntersectionUtils.Collides, this, collider, out collision)); }
protected override bool IsColliding(RectangleCollider collider, out Collision collision) { return(CollisionUtils.IsColliding <Circle, TopLeftRectangle>(IntersectionUtils.Collides, this, collider, out collision)); }