2020-03-30 07:14:56 +00: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.
|
|
|
|
|
|
2021-02-03 13:12:20 +00:00
|
|
|
|
using osu.Game.Rulesets.Judgements;
|
|
|
|
|
using osu.Game.Rulesets.Osu.Judgements;
|
|
|
|
|
|
2020-03-30 07:14:56 +00:00
|
|
|
|
namespace osu.Game.Rulesets.Osu.Objects
|
|
|
|
|
{
|
|
|
|
|
public class SliderHeadCircle : HitCircle
|
|
|
|
|
{
|
2021-02-03 13:12:20 +00:00
|
|
|
|
/// <summary>
|
2023-11-02 17:58:14 +00:00
|
|
|
|
/// If <see langword="false"/>, treat this <see cref="SliderHeadCircle"/> as a normal <see cref="HitCircle"/> for judgement purposes.
|
|
|
|
|
/// If <see langword="true"/>, this <see cref="SliderHeadCircle"/> will be judged as a <see cref="SliderTick"/> instead.
|
2021-02-03 13:12:20 +00:00
|
|
|
|
/// </summary>
|
2023-11-02 08:04:49 +00:00
|
|
|
|
public bool ClassicSliderBehaviour;
|
2021-02-03 13:12:20 +00:00
|
|
|
|
|
2023-11-02 08:04:49 +00:00
|
|
|
|
public override Judgement CreateJudgement() => ClassicSliderBehaviour ? new SliderTickJudgement() : base.CreateJudgement();
|
2020-03-30 07:14:56 +00:00
|
|
|
|
}
|
|
|
|
|
}
|