mirror of https://github.com/ppy/osu
35 lines
934 B
C#
35 lines
934 B
C#
// 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.Rulesets.Catch.Judgements;
|
|
using osu.Game.Rulesets.Catch.Objects;
|
|
using osu.Game.Rulesets.Scoring;
|
|
using osu.Game.Rulesets.UI;
|
|
|
|
namespace osu.Game.Rulesets.Catch.Scoring
|
|
{
|
|
internal class CatchScoreProcessor : ScoreProcessor<CatchBaseHit, CatchJudgement>
|
|
{
|
|
public CatchScoreProcessor()
|
|
{
|
|
}
|
|
|
|
public CatchScoreProcessor(RulesetContainer<CatchBaseHit, CatchJudgement> rulesetContainer)
|
|
: base(rulesetContainer)
|
|
{
|
|
}
|
|
|
|
protected override void Reset()
|
|
{
|
|
base.Reset();
|
|
|
|
Health.Value = 1;
|
|
Accuracy.Value = 1;
|
|
}
|
|
|
|
protected override void OnNewJudgement(CatchJudgement judgement)
|
|
{
|
|
}
|
|
}
|
|
}
|