示例#1
0
        public GameplayModifiers GetGameplayModifiers()
        {
            CustomGameplayModifiers modifiers = new CustomGameplayModifiers(GameplayModifiers.defaultModifiers);

            modifiers.challengeModifiers  = this;
            modifiers.fastNotes           = fastNotes;
            modifiers.noBombs             = noBombs;
            modifiers.disappearingArrows  = disappearingArrows;
            modifiers.strictAngles        = strictAngles;
            modifiers.noObstacles         = noObstacles;
            modifiers.batteryEnergy       = batteryEnergy;
            modifiers.failOnSaberClash    = failOnSaberClash;
            modifiers.instaFail           = instaFail;
            modifiers.noFail              = noFail;
            modifiers.energyType          = energyType;
            modifiers.enabledObstacleType = enabledObstacleType;
            modifiers.noArrows            = noArrows;
            modifiers.ghostNotes          = ghostNotes;
            return(modifiers);
        }
        public GameplayModifiers GetGameplayModifiers()
        {
            var defaultModifiers = new GameplayModifiers();
            CustomGameplayModifiers modifiers = new CustomGameplayModifiers(new GameplayModifiers(
                                                                                defaultModifiers.demoNoFail,
                                                                                defaultModifiers.demoNoObstacles,
                                                                                energyType,
                                                                                noFail,
                                                                                instaFail,
                                                                                failOnSaberClash,
                                                                                enabledObstacleType,
                                                                                noBombs,
                                                                                fastNotes,
                                                                                strictAngles,
                                                                                disappearingArrows,
                                                                                defaultModifiers.songSpeed,
                                                                                noArrows,
                                                                                ghostNotes
                                                                                ));

            modifiers.challengeModifiers = this;
            return(modifiers);
        }