2017-03-16 11:40:35 +08:00
|
|
|
|
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
|
|
|
|
|
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
|
|
|
|
|
|
2017-04-18 15:05:58 +08:00
|
|
|
|
using osu.Game.Rulesets.Catch.Judgements;
|
|
|
|
|
using osu.Game.Rulesets.Catch.Objects;
|
|
|
|
|
using osu.Game.Rulesets.Scoring;
|
|
|
|
|
using osu.Game.Rulesets.UI;
|
2017-03-16 11:40:35 +08:00
|
|
|
|
|
2017-04-18 15:05:58 +08:00
|
|
|
|
namespace osu.Game.Rulesets.Catch.Scoring
|
2017-03-16 11:40:35 +08:00
|
|
|
|
{
|
2017-03-23 18:00:18 +08:00
|
|
|
|
internal class CatchScoreProcessor : ScoreProcessor<CatchBaseHit, CatchJudgement>
|
2017-03-16 11:40:35 +08:00
|
|
|
|
{
|
2017-03-16 12:13:45 +08:00
|
|
|
|
public CatchScoreProcessor()
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
2017-08-09 12:28:29 +08:00
|
|
|
|
public CatchScoreProcessor(RulesetContainer<CatchBaseHit, CatchJudgement> rulesetContainer)
|
|
|
|
|
: base(rulesetContainer)
|
2017-03-16 11:40:35 +08:00
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
2017-08-08 11:56:22 +08:00
|
|
|
|
protected override void Reset()
|
|
|
|
|
{
|
|
|
|
|
base.Reset();
|
|
|
|
|
|
|
|
|
|
Health.Value = 1;
|
|
|
|
|
Accuracy.Value = 1;
|
|
|
|
|
}
|
|
|
|
|
|
2017-03-30 09:51:14 +08:00
|
|
|
|
protected override void OnNewJudgement(CatchJudgement judgement)
|
2017-03-16 11:40:35 +08:00
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|