public SceneManager(AbstractSceneFactory sceneFactory, AbstractLoopTracker loopTracker, MessagePromptCoordinator messagePromptCoordinator) { if(sceneFactory == null) { sceneFactory = new SceneFactory(this); } this.sceneFactory = sceneFactory; this.loopTracker = loopTracker; this.messagePromptCoordinator = messagePromptCoordinator; StartGame(); }
public SceneManager(AbstractSceneFactory sceneFactory, AbstractLoopTracker loopTracker, MessagePromptCoordinator messagePromptCoordinator) { if (sceneFactory == null) { sceneFactory = new SceneFactory(this); } this.sceneFactory = sceneFactory; this.loopTracker = loopTracker; this.messagePromptCoordinator = messagePromptCoordinator; StartGame(); }