Create RoundCalculatorService
This commit is contained in:
parent
cfe01cde54
commit
92dd65a93f
@ -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
|
||||||
}
|
}
|
||||||
|
@ -10,4 +10,6 @@ import Foundation
|
|||||||
|
|
||||||
class RoundCalculatorServie {
|
class RoundCalculatorServie {
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user