 }
 
 class StartScene: SKScene {
-
   var contentCreated = false
 
   override func didMoveToView(view: SKView) {

  }

  override func update(currentTime: NSTimeInterval) {
    let ball = self.childNodeWithName(ballName) as! SKSpriteNode!

    let maxSpeed: CGFloat = 600.0
    let speed = sqrt(ball.physicsBody!.velocity.dx * ball.physicsBody!.velocity.dx + ball.physicsBody!.velocity.dy * ball.physicsBody!.velocity.dy)

    if speed > maxSpeed {
      ball.physicsBody!.linearDamping = 0.4
    }
    else {
      ball.physicsBody!.linearDamping = 0.0
    }
  }



    return descriptionNode
  }
}
