diff --git a/osu.Game.Rulesets.Sentakki/SentakkiPerformanceCalculator.cs b/osu.Game.Rulesets.Sentakki/SentakkiPerformanceCalculator.cs new file mode 100644 index 000000000..bccd15df4 --- /dev/null +++ b/osu.Game.Rulesets.Sentakki/SentakkiPerformanceCalculator.cs @@ -0,0 +1,16 @@ +using osu.Game.Rulesets.Difficulty; +using osu.Game.Scoring; + +namespace osu.Game.Rulesets.Sentakki +{ + public class SentakkiPerformanceCalculator : PerformanceCalculator + { + public SentakkiPerformanceCalculator(SentakkiRuleset ruleset, DifficultyAttributes attributes, ScoreInfo score) + : base(ruleset, attributes, score) + { + } + + // TODO: Create an actual performance calculator + public override PerformanceAttributes Calculate() => new PerformanceAttributes { Total = 0 }; + } +} diff --git a/osu.Game.Rulesets.Sentakki/SentakkiRuleset.cs b/osu.Game.Rulesets.Sentakki/SentakkiRuleset.cs index b47843c0b..711be3310 100644 --- a/osu.Game.Rulesets.Sentakki/SentakkiRuleset.cs +++ b/osu.Game.Rulesets.Sentakki/SentakkiRuleset.cs @@ -62,6 +62,9 @@ public override DifficultyCalculator CreateDifficultyCalculator(IWorkingBeatmap public override IConvertibleReplayFrame CreateConvertibleReplayFrame() => new SentakkiReplayFrame(); + public override PerformanceCalculator CreatePerformanceCalculator(DifficultyAttributes attributes, ScoreInfo score) => + new SentakkiPerformanceCalculator(this, attributes, score); + public override IEnumerable GetModsFor(ModType type) { switch (type)