From 1428720dc27e0b34896f12cfe3275e6d474be032 Mon Sep 17 00:00:00 2001 From: Jakob Haag Date: Sat, 9 May 2020 15:23:45 +0200 Subject: [PATCH] add local player as ownerShipPlayer for base1. Not final version --> ToDo --- GoldWars/GoldWars/Map/TwoPlayerDefaultTestMap.swift | 2 ++ 1 file changed, 2 insertions(+) diff --git a/GoldWars/GoldWars/Map/TwoPlayerDefaultTestMap.swift b/GoldWars/GoldWars/Map/TwoPlayerDefaultTestMap.swift index beff433..44b60c2 100644 --- a/GoldWars/GoldWars/Map/TwoPlayerDefaultTestMap.swift +++ b/GoldWars/GoldWars/Map/TwoPlayerDefaultTestMap.swift @@ -24,6 +24,8 @@ class TwoPlayerDefaultTestMap: MapProtocol { // Create Bases let basePlayerOne = Base( position: CGPoint(x: self.size.width * 0.1, y: self.size.height / 2), + // ToDo: not final version. Better would something like MatchmakingHelper.spieler1 but does not work yet + player: GKLocalPlayer.local, team: .team1 )