2017-02-20 00:41:51 +08:00
|
|
|
|
// 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;
|
2017-04-18 15:05:58 +08:00
|
|
|
|
using osu.Game.Rulesets.Mania.Beatmaps;
|
|
|
|
|
using osu.Game.Rulesets.Mania.Objects;
|
2017-02-20 00:41:51 +08:00
|
|
|
|
using System.Collections.Generic;
|
2017-08-22 12:34:58 +08:00
|
|
|
|
using System;
|
2017-02-20 00:41:51 +08:00
|
|
|
|
|
2017-04-18 15:05:58 +08:00
|
|
|
|
namespace osu.Game.Rulesets.Mania
|
2017-02-20 00:41:51 +08:00
|
|
|
|
{
|
2017-05-03 11:44:19 +08:00
|
|
|
|
public class ManiaDifficultyCalculator : DifficultyCalculator<ManiaHitObject>
|
2017-02-20 00:41:51 +08:00
|
|
|
|
{
|
2017-03-12 00:26:07 +08:00
|
|
|
|
public ManiaDifficultyCalculator(Beatmap beatmap)
|
|
|
|
|
: base(beatmap)
|
2017-02-20 00:41:51 +08:00
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
2017-03-12 13:32:50 +08:00
|
|
|
|
protected override double CalculateInternal(Dictionary<string, string> categoryDifficulty)
|
2017-02-20 00:41:51 +08:00
|
|
|
|
{
|
|
|
|
|
return 0;
|
|
|
|
|
}
|
2017-03-12 13:32:50 +08:00
|
|
|
|
|
2017-10-19 13:05:11 +08:00
|
|
|
|
protected override BeatmapConverter<ManiaHitObject> CreateBeatmapConverter() => new ManiaBeatmapConverter(true, (int)Math.Max(1, Math.Round(Beatmap.BeatmapInfo.BaseDifficulty.CircleSize)));
|
2017-02-20 00:41:51 +08:00
|
|
|
|
}
|
2017-08-22 12:34:58 +08:00
|
|
|
|
}
|