Skip to content

Commit

Permalink
Merge pull request #311 from LumpBloom7/dependabot/nuget/ppy.osu.Game…
Browse files Browse the repository at this point in the history
…-2022.319.0

Bump ppy.osu.Game from 2022.216.0 to 2022.319.0
  • Loading branch information
LumpBloom7 authored Mar 19, 2022
2 parents 96b65cf + 4ef8e00 commit 6b7f45b
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 7 deletions.
2 changes: 2 additions & 0 deletions osu.Game.Rulesets.Sentakki/Scoring/SentakkiScoreProcessor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ namespace osu.Game.Rulesets.Sentakki.Scoring
{
public class SentakkiScoreProcessor : ScoreProcessor
{
public SentakkiScoreProcessor(SentakkiRuleset ruleset) : base(ruleset) { }

protected override double DefaultAccuracyPortion => 0.9;
protected override double DefaultComboPortion => 0.1;
}
Expand Down
6 changes: 3 additions & 3 deletions osu.Game.Rulesets.Sentakki/SentakkiPerformanceCalculator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ namespace osu.Game.Rulesets.Sentakki
{
public class SentakkiPerformanceCalculator : PerformanceCalculator
{
public SentakkiPerformanceCalculator(SentakkiRuleset ruleset, DifficultyAttributes attributes, ScoreInfo score)
: base(ruleset, attributes, score)
public SentakkiPerformanceCalculator(SentakkiRuleset ruleset)
: base(ruleset)
{
}

// TODO: Create an actual performance calculator
public override PerformanceAttributes Calculate() => new PerformanceAttributes { Total = 0 };
protected override PerformanceAttributes CreatePerformanceAttributes(ScoreInfo score, DifficultyAttributes attributes) => new PerformanceAttributes { Total = 0 };
}
}
5 changes: 2 additions & 3 deletions osu.Game.Rulesets.Sentakki/SentakkiRuleset.cs
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ private static readonly Lazy<bool> is_development_build
public override string PlayingVerb => "Washing laundry";
public override string ShortName => "Sentakki";

public override ScoreProcessor CreateScoreProcessor() => new SentakkiScoreProcessor();
public override ScoreProcessor CreateScoreProcessor() => new SentakkiScoreProcessor(this);

public override DrawableRuleset CreateDrawableRulesetWith(IBeatmap beatmap, IReadOnlyList<Mod> mods) =>
new DrawableSentakkiRuleset(this, beatmap, mods);
Expand All @@ -62,8 +62,7 @@ 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 PerformanceCalculator CreatePerformanceCalculator() => new SentakkiPerformanceCalculator(this);

public override IEnumerable<Mod> GetModsFor(ModType type)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<AssemblyName>osu.Game.Rulesets.Sentakki</AssemblyName>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="ppy.osu.Game" Version="2022.216.0"/>
<PackageReference Include="ppy.osu.Game" Version="2022.319.0"/>
</ItemGroup>

<!--Since we aren't changing the assembly name, we use the assembly title to indicate whether it is a dev build-->
Expand Down

0 comments on commit 6b7f45b

Please sign in to comment.