Esempio n. 1
0
        public KyzerSpeedOverrides(KyzerConfigManager config)
        {
            #region BindWithConfiguration

            config.BindWith(KyzerSetting.SpeedOverride, SpeedOverride);
            config.BindWith(KyzerSetting.SpeedDoubleTime, SpeedDoubleTime);
            config.BindWith(KyzerSetting.SpeedHalfTime, SpeedHalfTime);

            #endregion BindWithConfiguration

            Children = new Drawable[]
            {
                enableSection = new SettingsCheckbox
                {
                    LabelText = "Enable " + Header,
                    Bindable  = SpeedOverride,
                },

                doubleTimeOverride = new SettingsSlider <double>
                {
                    LabelText = "Override DT",
                    Bindable  = SpeedDoubleTime
                },

                halfTimeOverride = new SettingsSlider <double>
                {
                    LabelText = "Override HT",
                    Bindable  = SpeedHalfTime,
                },
            };
        }
Esempio n. 2
0
        public KyzerMapOverrides(KyzerConfigManager config)
        {
            #region BindWithConfiguration

            config.BindWith(KyzerSetting.MapOverride, MapOverride);
            config.BindWith(KyzerSetting.MapCircleSize, MapCircleSize);
            config.BindWith(KyzerSetting.MapApproachRate, MapApproachRate);
            config.BindWith(KyzerSetting.MapHealthPoints, MapHealthPoints);
            config.BindWith(KyzerSetting.MapOverallDifficulty, MapOverallDifficulty);

            #endregion BindWithConfiguration

            Children = new Drawable[]
            {
                enableSection = new SettingsCheckbox
                {
                    LabelText = "Enable " + Header,
                    Bindable  = MapOverride,
                },

                circleSizeOverride = new SettingsSlider <double>
                {
                    LabelText    = "Override CS",
                    Bindable     = MapCircleSize,
                    KeyboardStep = 0.01f,
                },

                approachRateOverride = new SettingsSlider <double>
                {
                    LabelText    = "Override AR",
                    Bindable     = MapApproachRate,
                    KeyboardStep = 0.01f,
                },

                healthPointsOverride = new SettingsSlider <double>
                {
                    LabelText    = "Override HP",
                    Bindable     = MapHealthPoints,
                    KeyboardStep = 0.01f,
                },

                overallDifficultyOverride = new SettingsSlider <double>
                {
                    LabelText    = "Override OD",
                    Bindable     = MapOverallDifficulty,
                    KeyboardStep = 0.01f,
                },
            };
        }
Esempio n. 3
0
        public KyzerGraphics(KyzerConfigManager config)
        {
            #region BindWithConfiguration

            config.BindWith(KyzerSetting.Graphics, Graphics);
            config.BindWith(KyzerSetting.TrailFade, TrailFade);
            //config.BindWith(KyzerSetting.TriangleScale, TriangleScale);
            config.BindWith(KyzerSetting.TriangleSpeed, TriangleSpeed);
            //config.BindWith(KyzerSetting.CustomBackground, customBackground);

            #endregion BindWithConfiguration

            Children = new Drawable[]
            {
                enableSection = new SettingsCheckbox
                {
                    LabelText = "Enable " + Header,
                    Bindable  = Graphics,
                },

                fadeTrail = new SettingsSlider <double>
                {
                    LabelText = "Trail Fade",
                    Bindable  = TrailFade,
                },

                //scaleTriangle = new SettingsSlider<double>
                //{
                //LabelText = "Triangle Scale",
                //Bindable = TriangleScale,
                //},

                speedTriangle = new SettingsSlider <double>
                {
                    LabelText = "Triangle Speed",
                    Bindable  = TriangleSpeed,
                }

                //backgroundsCustomize = new SettingsCheckbox
                //{
                //LabelText = "Custom Backgrounds",
                //Bindable = customBackground,
                //},
            };
        }