6
bodyType: Entity.Static
16
if (other.parent != ball || ball.state == "gone")
19
var distX = Math.abs(ball.x - hole.x - circle.x)
20
var distY = Math.abs(ball.y - hole.y - circle.y)
21
var dist = Math.sqrt(distX * distX + distY * distY)
23
if (Math.abs(dist < circle.radius)) {
24
ball.disappearTo(ball.parent.mapFromItem(hole,
31
anchors.centerIn: parent