add local player as ownerShipPlayer for base1. Not final version --> ToDo

This commit is contained in:
Jakob Haag 2020-05-09 15:23:45 +02:00
parent 0dd1664506
commit 1428720dc2

View File

@ -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
)