mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 15:07:44 +08:00
bd171926d6
Also restructures with the addition of a ManiaBeatmap which holds definitions for "groups" of columns. At the moment these are empty save for a "Column" property, but can be expanded in the future, maybe.
23 lines
801 B
C#
23 lines
801 B
C#
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
|
|
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
|
|
|
|
using osu.Game.Beatmaps;
|
|
using osu.Game.Rulesets.Mania.Beatmaps;
|
|
using osu.Game.Rulesets.Mania.Objects;
|
|
using System.Collections.Generic;
|
|
|
|
namespace osu.Game.Rulesets.Mania
|
|
{
|
|
public class ManiaDifficultyCalculator : DifficultyCalculator<ManiaHitObject>
|
|
{
|
|
public ManiaDifficultyCalculator(Beatmap beatmap)
|
|
: base(beatmap)
|
|
{
|
|
}
|
|
|
|
public override double Calculate(Dictionary<string, double> categoryDifficulty = null) => 0;
|
|
|
|
protected override BeatmapConverter<ManiaHitObject> CreateBeatmapConverter(Beatmap beatmap) => new ManiaBeatmapConverter(true, beatmap);
|
|
}
|
|
}
|