Remove unnecessary field form MapFactory
This commit is contained in:
parent
7fc4a5145f
commit
5eed82803b
@ -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)
|
||||
]
|
||||
|
Loading…
Reference in New Issue
Block a user