From 5eed82803b48fbd50c0b5a3c9dba4d920d4793f0 Mon Sep 17 00:00:00 2001 From: Marcel Schwarz Date: Sat, 2 May 2020 21:55:08 +0200 Subject: [PATCH] Remove unnecessary field form MapFactory --- GoldWars/GoldWars/Map/MapFactory.swift | 6 ------ 1 file changed, 6 deletions(-) diff --git a/GoldWars/GoldWars/Map/MapFactory.swift b/GoldWars/GoldWars/Map/MapFactory.swift index 9234670..ab4321a 100644 --- a/GoldWars/GoldWars/Map/MapFactory.swift +++ b/GoldWars/GoldWars/Map/MapFactory.swift @@ -11,17 +11,11 @@ import SpriteKit class MapFactory { - var entityManager: EntityManager! - var scene: SKScene! - var twoPlayerMaps: [MapProtocol]! var threePlayerMaps: [MapProtocol]! var fourPlayerMaps: [MapProtocol]! init(scene: SKScene, entityManager: EntityManager) { - self.entityManager = entityManager - self.scene = scene - self.twoPlayerMaps = [ TwoPlayerDefaultTestMap(scene: scene, entityManager: entityManager) ]