Commit 66ed28c 1 parent 3228c3a commit 66ed28c Copy full SHA for 66ed28c
File tree 2 files changed +21
-0
lines changed
SpriteKitTest.xcodeproj/xcuserdata/melitski.xcuserdatad/xcdebugger
2 files changed +21
-0
lines changed Original file line number Diff line number Diff line change 3
3
uuid = " AAF7B5BF-EBE3-4BD6-92C4-BA788680E30A"
4
4
type = " 1"
5
5
version = " 2.0" >
6
+ <Breakpoints >
7
+ <BreakpointProxy
8
+ BreakpointExtensionID = " Xcode.Breakpoint.FileBreakpoint" >
9
+ <BreakpointContent
10
+ uuid = " 3DFB9DCA-8029-4C4C-AF34-24B8AA1FE772"
11
+ shouldBeEnabled = " Yes"
12
+ ignoreCount = " 0"
13
+ continueAfterRunningActions = " No"
14
+ filePath = " SpriteKitTest/ContentView.swift"
15
+ startingColumnNumber = " 9223372036854775807"
16
+ endingColumnNumber = " 9223372036854775807"
17
+ startingLineNumber = " 17"
18
+ endingLineNumber = " 17"
19
+ landmarkName = " onStart()"
20
+ landmarkType = " 7" >
21
+ </BreakpointContent >
22
+ </BreakpointProxy >
23
+ </Breakpoints >
6
24
</Bucket >
Original file line number Diff line number Diff line change @@ -47,6 +47,7 @@ class Game: SKScene {
47
47
48
48
override func didMove( to view: SKView ) {
49
49
let start = StartButton ( onStart: onStart)
50
+ start. isUserInteractionEnabled = true
50
51
51
52
52
53
self . physicsBody = SKPhysicsBody ( edgeLoopFrom: UIScreen . main. bounds)
@@ -59,6 +60,8 @@ class Game: SKScene {
59
60
class StartButton : SKNode {
60
61
let onStart : ( ) -> Void
61
62
63
+
64
+
62
65
required init ( onStart: @escaping ( ) -> Void ) {
63
66
self . onStart = onStart
64
67
super. init ( )
You can’t perform that action at this time.
0 commit comments