コード例 #1
0
    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();
    }
コード例 #2
0
    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();
    }