TEST: Datamodel
This commit is contained in:
parent
d99878eb47
commit
fb01faa1e5
@ -33,10 +33,12 @@ struct PlayerMove : Message{
|
|||||||
let unitCount: Int
|
let unitCount: Int
|
||||||
}
|
}
|
||||||
|
|
||||||
class MultiplayerNetwork: NSObject{
|
class MultiplayerNetwork{
|
||||||
static let sharedInstance = MultiplayerNetwork()
|
static let sharedInstance = MultiplayerNetwork()
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
func sendData(data: Data) {
|
func sendData(data: Data) {
|
||||||
let mmHelper = MatchmakingHelper.sharedInstance
|
let mmHelper = MatchmakingHelper.sharedInstance
|
||||||
if let multiplayerMatch = mmHelper.mpMatch {
|
if let multiplayerMatch = mmHelper.mpMatch {
|
||||||
|
Loading…
Reference in New Issue
Block a user