Example #1
0
        public void Initialize(ScenarioProcessor processor, ResourceLoader loader)
        {
            trigger = 'e';

            commandList = new List <System.Func <bool> >();
            commandList.Add(ChangeScenarioScript);
            commandList.Add(ChangeScene);
            commandList.Add(FadeIn);
            commandList.Add(FadeOut);

            scenarioProcessor = processor;
            resourceLoader    = loader;
            scriptLoadWaiter  = new Waiter(loadLim);
            fadeCounter       = new Counter(1, true);
            sceneLoader       = LoadManager.Find();
        }
Example #2
0
 public void Initialize(ScenarioProcessor processor)
 {
     scenarioProcessor = processor;
     SetDefault();
 }