remove code for testing
This commit is contained in:
parent
41d5fc8a5c
commit
9c751cc84f
@ -20,7 +20,7 @@ class Modal: GKEntity{
|
|||||||
addComponent(ModalBackgroundComponent(anchorPoint: anchorPoint))
|
addComponent(ModalBackgroundComponent(anchorPoint: anchorPoint))
|
||||||
addComponent(ModalContentComponent(
|
addComponent(ModalContentComponent(
|
||||||
header: "Basis Information",
|
header: "Basis Information",
|
||||||
body: "Diese Basis enthält \(base.unitCount) Einheiten und gehört Spieler \(base.ownerShipPlayer?.displayName ?? "null")",
|
body: "Diese Basis enthält \(base.unitCount) Einheiten",
|
||||||
footer: "",
|
footer: "",
|
||||||
anchorPoint: anchorPoint
|
anchorPoint: anchorPoint
|
||||||
)
|
)
|
||||||
|
@ -156,18 +156,6 @@ class MatchmakingHelper: NSObject, GKMatchmakerViewControllerDelegate, GKMatchDe
|
|||||||
} else {
|
} else {
|
||||||
self.isServer = false
|
self.isServer = false
|
||||||
}
|
}
|
||||||
|
|
||||||
print("====================================")
|
|
||||||
print(GKLocalPlayer.local)
|
|
||||||
for player in MatchmakingHelper.sharedInstance.mpMatch!.players {
|
|
||||||
print(player)
|
|
||||||
}
|
|
||||||
print("====================================")
|
|
||||||
|
|
||||||
print(MatchmakingHelper.sharedInstance.mpMatch)
|
|
||||||
|
|
||||||
print("====================================")
|
|
||||||
|
|
||||||
self.delegate?.matchStarted()
|
self.delegate?.matchStarted()
|
||||||
self.menusc!.loadScene(scene: GameScene(size: self.menusc!.size))
|
self.menusc!.loadScene(scene: GameScene(size: self.menusc!.size))
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user