Create RoundCalculatorService

This commit is contained in:
Aldin Duraki 2020-05-14 01:00:02 +02:00
parent cfe01cde54
commit 92dd65a93f
2 changed files with 2 additions and 2 deletions

View File

@ -119,8 +119,6 @@ class MatchmakingHelper: NSObject, GKMatchmakerViewControllerDelegate, GKMatchDe
if let message = try? jsonDecoder.decode(Host.self, from: data) { if let message = try? jsonDecoder.decode(Host.self, from: data) {
DataService.sharedInstance.gameHost = message DataService.sharedInstance.gameHost = message
print("Name: \(player.displayName)")
print("ServerID: \(message.playerID)")
} }
MultiplayerNetwork.sharedInstance.isSending = false MultiplayerNetwork.sharedInstance.isSending = false
} }

View File

@ -10,4 +10,6 @@ import Foundation
class RoundCalculatorServie { class RoundCalculatorServie {
} }