Slide 31
Slide 31 text
UIViewͷ( 0,0 ) ͱSKViewͷ ( 0,0 ) ҧ͏
override func touchesBegan(touches: NSSet, withEvent event: UIEvent) {
!
for touch: AnyObject in touches {
let location = touch.locationInView(self.view)
scene.tapCircle(CGPointMake(location.x, self.view.bounds.height - location.y))
}
}
!
( 0,0 )
UIView
( 0,0 )
SKView