protected override bool Init()
        {
            this._clsState = new StatementMachine();
            UIAreaMapFrame uIAreaMapFrame = SortieMapTaskManager.GetUIAreaMapFrame();

            uIAreaMapFrame.Hide().setOnComplete(delegate
            {
                this._uiBattleShutter = BattleShutter.Instantiate(SortieBattleTaskManager.GetSortieBattlePrefabFile().prefabUIBattleShutter.GetComponent <BattleShutter>(), SortieMapTaskManager.GetSharedPlace(), 20);
                this._uiBattleShutter.Init(BaseShutter.ShutterMode.Open);
                this._uiBattleShutter.ReqMode(BaseShutter.ShutterMode.Close, delegate
                {
                    ProdSortieEnd prodSortieEnd = ProdSortieEnd.Instantiate(SortieMapTaskManager.GetPrefabFile().prodSortieEnd.GetComponent <ProdSortieEnd>(), SortieMapTaskManager.GetSharedPlace());
                    prodSortieEnd.Play(delegate
                    {
                        this._clsState.AddState(new StatementMachine.StatementMachineInitialize(this.InitResult), new StatementMachine.StatementMachineUpdate(this.UpdateResult));
                    });
                });
            });
            return(true);
        }