Remove unnecessary field form MapFactory
This commit is contained in:
parent
7fc4a5145f
commit
5eed82803b
@ -11,17 +11,11 @@ import SpriteKit
|
|||||||
|
|
||||||
class MapFactory {
|
class MapFactory {
|
||||||
|
|
||||||
var entityManager: EntityManager!
|
|
||||||
var scene: SKScene!
|
|
||||||
|
|
||||||
var twoPlayerMaps: [MapProtocol]!
|
var twoPlayerMaps: [MapProtocol]!
|
||||||
var threePlayerMaps: [MapProtocol]!
|
var threePlayerMaps: [MapProtocol]!
|
||||||
var fourPlayerMaps: [MapProtocol]!
|
var fourPlayerMaps: [MapProtocol]!
|
||||||
|
|
||||||
init(scene: SKScene, entityManager: EntityManager) {
|
init(scene: SKScene, entityManager: EntityManager) {
|
||||||
self.entityManager = entityManager
|
|
||||||
self.scene = scene
|
|
||||||
|
|
||||||
self.twoPlayerMaps = [
|
self.twoPlayerMaps = [
|
||||||
TwoPlayerDefaultTestMap(scene: scene, entityManager: entityManager)
|
TwoPlayerDefaultTestMap(scene: scene, entityManager: entityManager)
|
||||||
]
|
]
|
||||||
|
Loading…
Reference in New Issue
Block a user