示例#1
0
        private void PerfromTemplatePlanning()
        {
            ShowBarrelRollTemplate();

            if (!useModileControls)
            {
                StartReposition();
            }
            else
            {
                SliderMenu.ShowSlider(
                    -0.75f * Selection.ThisShip.ShipBase.SHIPSTAND_SIZE,
                    -0.25f * Selection.ThisShip.ShipBase.SHIPSTAND_SIZE,
                    -0.5f * Selection.ThisShip.ShipBase.SHIPSTAND_SIZE,
                    ProcessTemplatePositionSlider
                    );
            }
        }
示例#2
0
        public override void NextButton()
        {
            if (TemporaryShipBase == null)
            {
                SliderMenu.CloseSlider();

                SliderMenu.ShowSlider(
                    0.5f * 1.18f * TheShip.ShipBase.SHIPSTAND_SIZE,
                    1.5F * 1.18f * TheShip.ShipBase.SHIPSTAND_SIZE,
                    1.0F * 1.18f * TheShip.ShipBase.SHIPSTAND_SIZE,
                    ProcessTemporaryShipBaseSlider
                    );
            }
            else
            {
                SliderMenu.CloseSlider();
            }

            ConfirmPosition();
        }
示例#3
0
        public void PerfromTemplatePlanningFirstEdition()
        {
            useMobileControls = Application.isMobilePlatform;

            ShowBarrelRollTemplate();

            if (!useMobileControls)
            {
                StartReposition();
            }
            else
            {
                SliderMenu.ShowSlider(
                    -0.75f * TheShip.ShipBase.SHIPSTAND_SIZE,
                    -0.25f * TheShip.ShipBase.SHIPSTAND_SIZE,
                    -0.5f * TheShip.ShipBase.SHIPSTAND_SIZE,
                    ProcessTemplatePositionSlider
                    );
            }
        }
示例#4
0
        public void PerfromTemplatePlanning()
        {
            templateWidth     = (TheShip.ShipBaseSize == Ship.BaseSize.Small) ? TheShip.ShipBase.HALF_OF_SHIPSTAND_SIZE : TheShip.ShipBase.HALF_OF_SHIPSTAND_SIZE / 2;
            useMobileControls = Application.isMobilePlatform;

            ShowBarrelRollTemplate();

            if (!useMobileControls)
            {
                StartReposition();
            }
            else
            {
                SliderMenu.ShowSlider(
                    -0.75f * TheShip.ShipBase.SHIPSTAND_SIZE,
                    -0.25f * TheShip.ShipBase.SHIPSTAND_SIZE,
                    -0.5f * TheShip.ShipBase.SHIPSTAND_SIZE,
                    ProcessTemplatePositionSlider
                    );
            }
        }