mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 16:52:54 +08:00
21 lines
658 B
C#
21 lines
658 B
C#
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
|
|
// See the LICENCE file in the repository root for full licence text.
|
|
|
|
using osu.Game.Rulesets.Judgements;
|
|
using osu.Game.Rulesets.Osu.Judgements;
|
|
using osu.Game.Rulesets.Scoring;
|
|
|
|
namespace osu.Game.Rulesets.Osu.Scoring
|
|
{
|
|
public partial class OsuScoreProcessor : ScoreProcessor
|
|
{
|
|
public OsuScoreProcessor()
|
|
: base(new OsuRuleset())
|
|
{
|
|
}
|
|
|
|
protected override HitEvent CreateHitEvent(JudgementResult result)
|
|
=> base.CreateHitEvent(result).With((result as OsuHitCircleJudgementResult)?.CursorPositionAtHit);
|
|
}
|
|
}
|