Beispiel #1
0
        private void OpenChangeFireModePanel(bool open)
        {
            _managerUI.ActivatePopup(PopupType.ShipControl, !open);
            _managerUI.ActivatePopup(PopupType.ChangeFireMode, open);

            var behavior = _selectedObject.GetCurrBehavior(BehaviorType.FireMode);

            if (behavior != null)
            {
                _managerUI.ChangeSelectedButton(PopupType.ChangeFireMode, (int)(FireMode)behavior);
            }
        }