2020-06-15 21:44:55 +08:00
|
|
|
// 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.Objects;
|
|
|
|
using osu.Game.Rulesets.Osu.Objects;
|
|
|
|
using osuTK;
|
|
|
|
|
|
|
|
namespace osu.Game.Rulesets.Osu.Judgements
|
|
|
|
{
|
|
|
|
public class OsuHitCircleJudgementResult : OsuJudgementResult
|
|
|
|
{
|
2020-06-19 18:58:35 +08:00
|
|
|
/// <summary>
|
|
|
|
/// The <see cref="HitCircle"/>.
|
|
|
|
/// </summary>
|
2020-06-15 21:44:55 +08:00
|
|
|
public HitCircle HitCircle => (HitCircle)HitObject;
|
|
|
|
|
2020-06-19 18:58:35 +08:00
|
|
|
/// <summary>
|
|
|
|
/// The position of the player's cursor when <see cref="HitCircle"/> was hit.
|
|
|
|
/// </summary>
|
|
|
|
public Vector2? CursorPositionAtHit;
|
2020-06-15 21:44:55 +08:00
|
|
|
|
|
|
|
public OsuHitCircleJudgementResult(HitObject hitObject, Judgement judgement)
|
|
|
|
: base(hitObject, judgement)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|