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.Objects;
|
2017-09-06 16:02:13 +08:00
|
|
|
|
using osu.Game.Rulesets.Judgements;
|
2017-04-18 15:05:58 +08:00
|
|
|
|
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-09-06 17:05:51 +08:00
|
|
|
|
internal class CatchScoreProcessor : ScoreProcessor<CatchBaseHit>
|
2017-03-16 11:40:35 +08:00
|
|
|
|
{
|
2017-03-16 12:13:45 +08:00
|
|
|
|
public CatchScoreProcessor()
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
2017-09-06 17:05:51 +08:00
|
|
|
|
public CatchScoreProcessor(RulesetContainer<CatchBaseHit> rulesetContainer)
|
2017-08-09 12:28:29 +08:00
|
|
|
|
: 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-09-06 16:02:13 +08:00
|
|
|
|
protected override void OnNewJudgement(Judgement judgement)
|
2017-03-16 11:40:35 +08:00
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|