add local player as ownerShipPlayer for base1. Not final version --> ToDo
This commit is contained in:
parent
0dd1664506
commit
1428720dc2
@ -24,6 +24,8 @@ class TwoPlayerDefaultTestMap: MapProtocol {
|
|||||||
// Create Bases
|
// Create Bases
|
||||||
let basePlayerOne = Base(
|
let basePlayerOne = Base(
|
||||||
position: CGPoint(x: self.size.width * 0.1, y: self.size.height / 2),
|
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
|
team: .team1
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user