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