remove code for testing

This commit is contained in:
Jakob Haag 2020-05-11 19:37:00 +02:00
parent 41d5fc8a5c
commit 9c751cc84f
2 changed files with 1 additions and 13 deletions

View File

@ -20,7 +20,7 @@ class Modal: GKEntity{
addComponent(ModalBackgroundComponent(anchorPoint: anchorPoint))
addComponent(ModalContentComponent(
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: "",
anchorPoint: anchorPoint
)

View File

@ -156,18 +156,6 @@ class MatchmakingHelper: NSObject, GKMatchmakerViewControllerDelegate, GKMatchDe
} else {
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.menusc!.loadScene(scene: GameScene(size: self.menusc!.size))
})