protected override bool Run() { KeyControl keyControl = SortieBattleTaskManager.GetKeyControl(); if (_iMode != SortieMapTaskManagerMode.Formation) { if (keyControl.GetDown(KeyControl.KeyName.L)) { _shortCutSwitch.Switch(); } } else if (_shortCutSwitch.isShortCut) { _shortCutSwitch.Hide(); } if (_ctrlActiveBranching != null) { _ctrlActiveBranching.Update(); } _clsTasks.Update(); UpdateMode(); if (SortieBattleTaskManager.GetMode() != SortieBattleMode.SortieBattleMode_BEF) { return((SortieBattleTaskManager.GetMode() == SortieBattleMode.SortieBattleMode_ST) ? true : false); } return(true); }
protected override bool Run() { KeyControl keyControl = SortieBattleTaskManager.GetKeyControl(); if (SortieMapTaskManager._iMode != SortieMapTaskManagerMode.Formation) { if (keyControl.GetDown(KeyControl.KeyName.L)) { this._shortCutSwitch.Switch(); } } else if (this._shortCutSwitch.isShortCut) { this._shortCutSwitch.Hide(); } if (this._ctrlActiveBranching != null) { this._ctrlActiveBranching.Update(); } SortieMapTaskManager._clsTasks.Update(); this.UpdateMode(); return(SortieBattleTaskManager.GetMode() == SortieBattleMode.SortieBattleMode_BEF || SortieBattleTaskManager.GetMode() == SortieBattleMode.SortieBattleMode_ST); }