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