mirror of
https://github.com/ppy/osu.git
synced 2024-12-16 05:42:54 +08:00
6287ba321d
- OnNewJudgement: Keeps its previous functionality. It is now only invoked when a _new_ judgement has been added to the Judgements hashset. - OnJudgementChanged: Has a similar funcitonality to OnNewJudgement, but is only invoked whenever a judgement that was _previously_ in the Judgements hashset is changed.
27 lines
746 B
C#
27 lines
746 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.Modes.Catch.Judgements;
|
|
using osu.Game.Modes.Catch.Objects;
|
|
using osu.Game.Modes.Scoring;
|
|
using osu.Game.Modes.UI;
|
|
|
|
namespace osu.Game.Modes.Catch.Scoring
|
|
{
|
|
internal class CatchScoreProcessor : ScoreProcessor<CatchBaseHit, CatchJudgement>
|
|
{
|
|
public CatchScoreProcessor()
|
|
{
|
|
}
|
|
|
|
public CatchScoreProcessor(HitRenderer<CatchBaseHit, CatchJudgement> hitRenderer)
|
|
: base(hitRenderer)
|
|
{
|
|
}
|
|
|
|
protected override void OnNewJudgement(CatchJudgement judgement)
|
|
{
|
|
}
|
|
}
|
|
}
|