2019-09-24 21:03:55 +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.
|
|
|
|
|
|
2022-06-17 07:37:17 +00:00
|
|
|
|
#nullable disable
|
|
|
|
|
|
2020-12-13 18:38:32 +00:00
|
|
|
|
using osu.Framework.Bindables;
|
2020-02-23 04:50:05 +00:00
|
|
|
|
using osu.Game.Rulesets.Judgements;
|
2019-09-24 21:03:55 +00:00
|
|
|
|
using osu.Game.Rulesets.Objects;
|
|
|
|
|
|
|
|
|
|
namespace osu.Game.Rulesets.Taiko.Objects
|
|
|
|
|
{
|
|
|
|
|
public class BarLine : TaikoHitObject, IBarLine
|
|
|
|
|
{
|
2022-07-19 01:35:07 +00:00
|
|
|
|
private HitObjectProperty<bool> major;
|
|
|
|
|
|
|
|
|
|
public Bindable<bool> MajorBindable => major.Bindable;
|
|
|
|
|
|
2020-12-13 18:38:32 +00:00
|
|
|
|
public bool Major
|
|
|
|
|
{
|
2022-07-19 01:35:07 +00:00
|
|
|
|
get => major.Value;
|
|
|
|
|
set => major.Value = value;
|
2020-12-13 18:38:32 +00:00
|
|
|
|
}
|
|
|
|
|
|
2020-02-23 04:50:05 +00:00
|
|
|
|
public override Judgement CreateJudgement() => new IgnoreJudgement();
|
2019-09-24 21:03:55 +00:00
|
|
|
|
}
|
|
|
|
|
}
|