2023-06-23 00:37:25 +08:00
|
|
|
|
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
|
2020-03-30 15:14:56 +08:00
|
|
|
|
// See the LICENCE file in the repository root for full licence text.
|
|
|
|
|
|
2021-02-03 21:12:20 +08:00
|
|
|
|
using osu.Game.Rulesets.Judgements;
|
|
|
|
|
using osu.Game.Rulesets.Osu.Judgements;
|
|
|
|
|
|
2020-03-30 15:14:56 +08:00
|
|
|
|
namespace osu.Game.Rulesets.Osu.Objects
|
|
|
|
|
{
|
|
|
|
|
public class SliderHeadCircle : HitCircle
|
|
|
|
|
{
|
2021-02-03 21:12:20 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Whether to treat this <see cref="SliderHeadCircle"/> as a normal <see cref="HitCircle"/> for judgement purposes.
|
2021-02-10 17:38:31 +08:00
|
|
|
|
/// If <c>false</c>, this <see cref="SliderHeadCircle"/> will be judged as a <see cref="SliderTick"/> instead.
|
2021-02-03 21:12:20 +08:00
|
|
|
|
/// </summary>
|
|
|
|
|
public bool JudgeAsNormalHitCircle = true;
|
|
|
|
|
|
2021-02-10 17:38:31 +08:00
|
|
|
|
public override Judgement CreateJudgement() => JudgeAsNormalHitCircle ? base.CreateJudgement() : new SliderTickJudgement();
|
2020-03-30 15:14:56 +08:00
|
|
|
|
}
|
|
|
|
|
}
|