Add window to menu to see if the user is authenticated (ToDo)
This commit is contained in:
parent
0a94e64a25
commit
cdb4d69621
@ -54,6 +54,13 @@ class MenuScene: SKScene {
|
||||
node.position.x += (self.scene?.size.width)! * 3
|
||||
}
|
||||
}))
|
||||
}
|
||||
|
||||
// TODO: Notfalllösung
|
||||
if(!GameCenterHelper.isAuthenticated) {
|
||||
let label = SKLabelNode(text: "Authenticated")
|
||||
label.zPosition = 2
|
||||
label.position = CGPoint(x: self.size.width / 2, y: self.size.height / 2)
|
||||
self.addChild(label)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user