TEST: Datamodel

This commit is contained in:
Niko Jochim 2020-05-13 13:34:34 +02:00
parent d99878eb47
commit fb01faa1e5

View File

@ -33,10 +33,12 @@ struct PlayerMove : Message{
let unitCount: Int
}
class MultiplayerNetwork: NSObject{
class MultiplayerNetwork{
static let sharedInstance = MultiplayerNetwork()
func sendData(data: Data) {
let mmHelper = MatchmakingHelper.sharedInstance
if let multiplayerMatch = mmHelper.mpMatch {