Add back CreateScoreProcessor to Ruleset to instantiate a non-generic ScoreProcessor for ScoreDatabase.

This commit is contained in:
smoogipooo
2017-03-16 13:13:45 +09:00
parent 7b66faab9e
commit 5cafec3b6a
11 changed files with 47 additions and 4 deletions

View File

@ -10,9 +10,19 @@ namespace osu.Game.Modes.Osu
{
internal class OsuScoreProcessor : ScoreProcessor<OsuHitObject, OsuJudgementInfo>
{
public OsuScoreProcessor()
{
}
public OsuScoreProcessor(HitRenderer<OsuHitObject, OsuJudgementInfo> hitRenderer)
: base(hitRenderer)
{
}
protected override void Reset()
{
base.Reset();
Health.Value = 1;
Accuracy.Value = 1;
}