2021-04-05 10:41:40 +08:00
|
|
|
|
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
|
|
|
|
|
// See the LICENCE file in the repository root for full licence text.
|
|
|
|
|
|
2022-04-14 12:11:11 +08:00
|
|
|
|
using System;
|
2021-04-05 10:41:40 +08:00
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using osu.Game.Beatmaps;
|
|
|
|
|
using osu.Game.Rulesets.Difficulty;
|
|
|
|
|
using osu.Game.Rulesets.Difficulty.Preprocessing;
|
|
|
|
|
using osu.Game.Rulesets.Difficulty.Skills;
|
|
|
|
|
using osu.Game.Rulesets.Mods;
|
|
|
|
|
|
|
|
|
|
namespace osu.Game.Rulesets.EmptyScrolling
|
|
|
|
|
{
|
|
|
|
|
public class EmptyScrollingDifficultyCalculator : DifficultyCalculator
|
|
|
|
|
{
|
2021-11-15 17:23:03 +08:00
|
|
|
|
public EmptyScrollingDifficultyCalculator(IRulesetInfo ruleset, IWorkingBeatmap beatmap)
|
2021-04-05 10:41:40 +08:00
|
|
|
|
: base(ruleset, beatmap)
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
protected override DifficultyAttributes CreateDifficultyAttributes(IBeatmap beatmap, Mod[] mods, Skill[] skills, double clockRate)
|
|
|
|
|
{
|
2021-11-21 11:12:24 +08:00
|
|
|
|
return new DifficultyAttributes(mods, 0);
|
2021-04-05 10:41:40 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
protected override IEnumerable<DifficultyHitObject> CreateDifficultyHitObjects(IBeatmap beatmap, double clockRate) => Enumerable.Empty<DifficultyHitObject>();
|
|
|
|
|
|
2022-04-14 12:11:11 +08:00
|
|
|
|
protected override Skill[] CreateSkills(IBeatmap beatmap, Mod[] mods, double clockRate) => Array.Empty<Skill>();
|
2021-04-05 10:41:40 +08:00
|
|
|
|
}
|
|
|
|
|
}
|